How to Remove Docentric AX Models

In order to delete Docentric AX from a D365FO system you need to delete the core product models:

  • Docentric AX
  • Docentric AX Extension
  • Docentric AX Emails

Additionally, you should delete all other Docentric AX models in case you installed them:

  • Docentric AX SSRS Replicas
  • Docentric AX CBD Replicas
  • Docentric AX Examples
  • Docentric AX Training
Note that these models contain complete Docentric AX solution and there are no external dependencies or services to deinstall or remove.

Delete Docentric AX packages and models

We will first 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 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.

For example, 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).

Next, 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 disappear from AOT completely, we need to physically delete all related subfolders, e.g. DocentricAX and DocentricAXExtension, which are now empty, from your Packages folder.

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