Hi everyone,
We are trying to deploy on a customer DMA a solution that consists of a low-code app that queries the Object Manager Definition/Instance.
We want to automate the deployment as much as possible.
I'm wondering if it's possible to import the DOM definition without having to use the DOM import option on the DOM editor.
Also, to activate the soft-launch options, we need to restart the agent and IIS restart. Is this also possible to automate within the package logic?
Thank you,
Ana
I had exactly the same idea: to be able to use the DOM editor to import DOM definitions for an install package.
It's not ideal, but I opened the source code of the DOM Editor and found a class called "DomImporter" which I copied over to my own install package repo (with a few small tweaks). With a companion files repo I make sure a .zip export package of my definitions is present on a fixed location and via the install package I was able to import it perfectly.
Note that this is not ideal because when changes are made to the DOM Editor, you own install repo doesn't receive those changes automatically...
With regards to the soft launch options, as mentioned by Tom and Michiel, be careful. But maybe you could do a check in the install script on the DMA version + required softlaunch options and halt the installation if requirements are not met? (never tried this myself)