Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse

Introduction

It is not possible to uninstall XTM Connect – Sitecore automatically. It must be done manually, both on the Sitecore Content Management website (marked below with green) and directly on the server hosting it that hosts this website (marked with blue).
Be cautious: you are

Note

IMPORTANT!
Make sure to always create a backup before removing items and files

...

.

Because Since every Sitecore instance is different, there is no way of predicting all the possible issues that can occur during arise from executing this process. But this guide This article should give you a solid understanding of what is the best order to delete or in which items and files related to Sitecore Connector. to the XTM connector are to be deleted.

...

Uninstalling instructions

While removing items from Sitecore always use ‘Remove links’ the Remove links option (but sometimes it is necessary to use ‘Scan Scan for broken Links’ Links between the steps anyway). All the Items paths precede with items paths are preceded by a database name (master or core). File paths are relative to the main Sitecore installation path on the server.

...

on the server.

  1. Verify that none of your items inherits from XtmConnectorBaseTemplate.

  • In the Content Editor, selectXtmConnectorBaseTemplate (under sitecore → Templates → XTM), and, in the upper menu, choose the Navigate tab and expand the Links dropdown.

...

  • Click every Items that refer to the selected item, change tab to Content, and remove XtmConnectorBaseTemplate from base templates that were selected, and save the item:

...

  1. Verify that none of your items is in XTMWorkflowState

...

Delete XtmUser, XtmAdmin, XtmProjectViewRestriction roles (using Role Manager)

...

Delete item /master/sitecore/content/XTM Translation and all its subitems

...

Delete item /master/sitecore/templates/XTM/XtmSettings

...

Delete item /master/sitecore/templates/XTM with all subitems

...

Delete item /master/sitecore/System/Workflows/XTM Translation

...

Delete item /master/sitecore/system/Dictionary/XtmAddToQueueSimpleFilter with all subitems (only version of connector between 2.5 and 3.2)

...

Delete item /master/sitecore/system/Dictionary/ImportTypeOptions with all subitems (only version of connector between 2.5 and 3.2)

...

Delete all Ribbon Chunks (switch to core DB is needed - more details below) :
/core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/XTM Translation/TranslationReport
/core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/XTM Translation
/core/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/XTM
/core/sitecore/content/Applications/Content Editor/Ribbons/Strips/XTM/XTM Translation
/core/sitecore/content/Applications/Content Editor/Ribbons/Strips/XTM

...

Empty "Recycle Bin" for master DB and core DB (switch between master and core DB is required)

...

Delete file /sitecore/shell/Themes/Standard/Xtm.zip
and /sitecore/shell/Themes/Standard/XtmNewIcons.zip (if connector version is 2.7 or higher)

...

Delete folder /XtmFiles/

...

Delete folder /XtmData/

...

Delete folder /App_Config/Include/Xtm/ (or /App_Config/Include/LjungbergIt/ - for version below 2.0)

...

Delete file /App_Data/packages/<XTM connector installation package>.zip - this is optional, those are the packages uploaded to the server while installing/upgrading the Connector.

...

In Breaking Links window chose Remove Links

ad 1. Removing XtmConnectorBaseTemplate

In the Content Editor, select the XtmConnectorBaseTemplate (under sitecore/Templates/XTM) in the upper menu choose ‘Navigate' tab and expand it.

...

Click every ‘Item that refers to the selected item’ change tab to Content, remove XtmConnectorBaseTemplate from selected base templates and save the item:

...

ad 2. Checking for items in XtmWorkflow

Open ContentEditor, choose Workbox (from lower tabs menu), select ‘Xtm Translation’ workflow and verify that there are no items using any of its WorkflowSteps.

...

If there are any items with ‘Xtm Translation’ workflow steps you can use Open link to edit the workflow and clear it or change to another workflow.

...

This will open a popup with ContentEditor you need to Edit fields under Workflow section

...

Note: the Workflow section is only visible when ‘Standard fields’ option is selected under View main tab.

...

Links rebuild

Sitecore Experience Management -> Desktop -> Reporting tools -> Scan for broken Links

...

Select "master" checkbox
Click "Rebuild link database"

...

  1. .

  • Open the Content Editor, choose Workbox (from the “lower tabs” menu), select the XTM Translation workflow and verify that there are no items using any of its workflow steps.

...

  • If there are any items with the XTM Translation workflow steps, you can use Open link to edit the workflow and clear it or change to another workflow.

...

  • This will open a popup with Content Editor; you need to Edit fields under the Workflow section:

...

Note

IMPORTANT!

The Workflow section is only visible when the Standard fields option is selected under View tab.

  1. Delete XtmUser, XtmAdmin, XtmProjectViewRestriction roles (using the RoleManager).

  2. Delete item: master/sitecore/content/XTM Translation, and all of its sub-items.

  3. Delete item: /master/sitecore/templates/XTM/XtmSettings.

  4. Delete item: /master/sitecore/templates/XTM, and all of its sub-items.

  5. Delete item: /master/sitecore/System/Workflows/XTM Translation.

  6. Delete item: /master/sitecore/system/Dictionary/XtmAddToQueueSimpleFilter, and all of its sub-items (only applicable to the connector version between 2.5 and 3.2).

  7. Delete item: /master/sitecore/system/Dictionary/ImportTypeOptions, and all of its sub-items (only applicable to the connector version between 2.5 and 3.2).

  8. Delete all ribbon chunks (switch to the core DB is needed – more details below):

  • /core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/XTM Translation/TranslationReport,

  • /core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/XTM Translation,

  • /core/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/XTM,

  • /core/sitecore/content/Applications/Content Editor/Ribbons/Strips/XTM/XTM Translation,

  • /core/sitecore/content/Applications/Content Editor/Ribbons/Strips/XTM,

  1. Empty Recycle Bin for master DB and core DB (switch between the master and core DB is required).

  2. Delete files: /sitecore/shell/Themes/Standard/Xtm.zip and /sitecore/shell/Themes/Standard/XtmNewIcons.zip (if the connector version is 2.7 or higher).

  3. Delete folder: /XtmFiles/.

  4. Delete folder: /XtmData/.

  5. Delete folder: /App_Config/Include/Xtm/ (or /App_Config/Include/LjungbergIt/ – for the connector version below 2.0).

  6. Delete file: /App_Data/packages/<XTM connector installation package>.zip – this is optional since those are the packages uploaded to the server while installing/upgrading the connector.

  7. Delete files with names starting with XTM (dll's, configs, pdbs, etc.) from the /bin/ folder.

  • FOLDER XtmAssemblies which contains all dlls used by the connector: HtmlAgilityPack.dll, RestSharp.dll, DotNetZip.dll, RestSharp.dll, FluentValidation.dll, Sentry.dll, Sentry.Platform.Abstraction.dll, Sentry.Protocol.dll, Swashbuckle.Core.dll, AutoMapper.dll. The folder was added in v.3.1 before it was named HtmlAgilityPack. Do not delete those dlls from the bin folder itself. Depending on the version of the connector, not all dlls can be present in your case (make sure that you do not use dlls below in other plugins).

  1. In the Breaking Links window, choose Remove Links.

...

How to switch to the CORE database

While logged in to Sitecore, go to Sitecore Experience Manager → Desktop, click on master from the bottom-right list,and select core.

...

How to rebuild Links

  1. While logged in to Sitecore, go to Sitecore Experience Manager → DesktopReporting toolsScan for broken Links.

...

  1. Select the master checkbox and click Rebuild link database.

...