Has anyone tried to use the SmartObjectManagementServer class and PublishSmartObjectFromLocal method?
Some of our uses use Smart Object associations when they create SOs to easy generate reports. This causes an error when we deploy the SOs, because the sequence they are deployed in creates a dependency error. i.e. order – order line will not deploy if the sequence in the generated deploy pack is wrong. The workaround is to import the dependent sodx first, with SO tester.
We need to automate this step and plan to use the SmartObjectManagementServer to do that. It looks like there are different xml versions for a smart object and this method does not say what it needs. Only string xml.
So does anyone have an idea of this? Basically: How to I publish/import a sodx file with code?
Cheers
Jan