We have custom code that updates a lot of elements and attributes in one of our AF hierarchy trees.
I would like to export the root element to an xml file before the custom code changes everything so if I need to back out of the changes I can easily do that.
Is there an AFSDK command or afdiag command that I can use to do this? I would need the referenced objects and default values exported too.
You can use the PISystem.ExportXml Method to export the objects. To get the default values, you'll want to use PIExportMode Default Values. PIExportMode Enumeration
Let us know how it goes!
Retrieving data ...