How to Remove Docentric AX Framework

The goal of this tutorial is to guide you through the removing of Docentric AX Framework.

We need to execute the following job that is going to:

  • remove entries from Docentric reporting archiving Document Types and related entries in Print Archive and Report Attachments (PrintJobHeader, DocuRef and DocuValue tables)
  • remove entries from Docentric Document Types for Document Template Libraries and related entries in Document Attachments (DocuRef and DocuValue tables)

You can download the job XPO file here:
Job_removeDocentricDocumentTypes.xpo

During the job execution you will be prompt to confirm the removal of documents related to those Docentric Document Types whose Document removal options have contained the Ask for confirmation flag set to Yes.

After the job has been executed Infolog with the following messages shows up.

2. Uninstall the DocentricAX model / delete the USP layer

Close the AX client application and delete the DocentricAX model or the USP layer using a command-line utility – AXUtil.
Open Microsoft Dynamics AX 2012 Management Shell in Control Panel\All Control Panel Items\Administrative Tools.

For deleting the model use the following command:

For deleting the layer use the following command:

3. Manual deletion of the Docentric AX Framework projects

If you have installed Docentric AX Framework via model, you still have to manually delete all the artifacts from the Docentric_ChangedArtifacts project including the project itself.
If you have installed Docentric AX Framework via XPO files in a layer that cannot be removed, e.g. you install it in your development layer, then you have to delete manually all the artifacts from the Docentric_NewArtifacts and Docentric_ChangedArtifacts projects as well as these projects including the Docentric project.

You can delete a project and its content (all artifacts from the project) using the following job:

You can download the job XPO file here:
Job_delProjectAndItsContent.xpo

Beside Docentric AX artifacts, you have to delete the DOC label file from AOT. Read how >>

If you print a report or open the Document Types for archiving reports form between the removeDocentricDocumentTypes job execution and removal of the USP layer/deletion of Docentric artifacts, you have to import and run this job again. This is because Docentric reporting archiving Document Types are automatically created each time we use any of the Docentric reporting functionalities.

4. Clean your environment

Reset usage data, synchronize Data Dictionary, perform Full Compile, generate Incremental/Full CIL and restart the AOS.

See also

How to Install Docentric AX Framework via Model >>
How to Install Docentric AX Framework via XPO files >>
How to Install Docentric AX Template Designer >>

IN THIS ARTICLE