How to Remove Docentric AX Models

In order to delete Docentric AX solution from a D365FO system you need to delete two models:

  • Docentric AX
  • Docentric AX Extension

Note that these two models contain complete Docentric AX solution and there are no external dependencies or services to deinstall or remove.
Optionally, you should delete the following models as well, in case that you installed them:

  • Docentric AX Emails
  • Docentric AX SSRS Replicas
  • Docentric AX Examples
  • Docentric AX Training

Delete Docentric AX packages and models

We will frist delete Docentric AX models using the »ModelUtil.exe« tool.

Run Command Prompt as Administrator and navigate to the Bin directory of your Packages folder
(typically, C:\Packages\Bin or C:\AosService\PackagesLocalDirectory\Bin).

Execute the ModelUtil.exe command for deletion of the two Docentric AX models:

Example:

Each model belongs to an package, which has a dedicated folder within the Packages folder (or model store folder), typically C:\packages or C:\AosService\PackagesLocalDirectory.

The Docentric AX model belongs to the DocentricAX package, which is located in the DocentricAX subfolder of the Packages folder (e.g. C:\AosService\PackagesLocalDirectory\DocentricAX).

The Docentric AX Extension model belongs to the DocentricAXExtension package, which is located in the DocentricAXExtension subfolder of the Packages folder (e.g. C:\AosService\PackagesLocalDirectory\DocentricAXExtension).

After deletion of the models, we will get the following situation:

In order to make Docentric AX models to disappear from AOT completely, we need to physically delete these two subfolders DocentricAX and DocentricAXExtension, which are now empty, from your Packages folder. Delete also the DocentricAXExample and DocentricAXSSRSReplicas packages (i.e. subfolders), if such exist.

Delete references to Docentric AX models

If you made a reference from your model to any of Docentric AX models, remove it from the model descriptor file. You can also remove all the references from within Visual Studio before you delete the Docentric AX models.

To successfully complete the operation, restart IIS. Building all models and synchronizing the database is recommended.

See also

How to Install Docentric AX via Models >>
How to install Docentric AX via Deployable Package >>
How to Install Docentric AX Designer >>

IN THIS ARTICLE