XML Export/Import supports renaming of objects when the Preserve ID option is selected. It would be useful if this could be extended to support moving of objects when the Preserve ID option is selected, e.g. moving an Element from one location in the hierarchy to another location. This will make it easier to move Elements in a Development environment and then bulk export/import the Development database into Test and Prod to apply the Element moves.
ADMIN RESPONSE
Aug 19, 2022
The current implementation involves parsing the XML file sequentially from top to bottom. This makes it impossible to support moving objects. At this time, we do not have any plans to completely redo the import/export mechanism to support this idea.
Please also see my related feedback items:
AF XML Export/Import to Support Ordering by ID
https://feedback.osisoft.com/forums/555148-pi-server/suggestions/38931859-af-xml-export-import-to-support-ordering-by-id
XML Export/Import to Support Object Deletion
https://feedback.osisoft.com/forums/555148-pi-server/suggestions/38566315-xml-export-import-to-support-object-deletion