-
Notifications
You must be signed in to change notification settings - Fork 4
Import AcmaObjects
Ryan Newington edited this page Sep 4, 2025
·
5 revisions
Imports ACMA objects from an XML file into the ACMA database. This cmdlet can be used to restore objects that were previously exported using Export-AcmaObjects or to bulk import objects from external systems.
Import-AcmaObjects -FileName <string> [-ReplaceExisting]The full path to the XML file containing the objects to import
- Required: Yes
- Position: Named
- Pipeline input: No
- Accepts: String path to a valid XML file
Specifies whether to replace existing objects with the same ID during import
- Required: No
- Position: Named
- Pipeline input: No
- Default: If not specified, existing objects will not be overwritten
This cmdlet does not return any objects, but outputs progress information to the console
Import-AcmaObjects -FileName "D:\temp\exported objects.xml"Import-AcmaObjects -FileName "D:\backups\users.xml" -ReplaceExisting- The XML file must be in the format generated by
Export-AcmaObjects - Objects are imported with all their attributes and references
- Business rules and constructors are applied during the import process
- Large imports may take considerable time depending on the number of objects and complexity of business rules
- Always test imports in a development environment first when working with production data