Set Unset GUIDs
- Last UpdatedMay 23, 2023
- 1 minute read
A PML function, setUnsetGUIDs.pmlfnc, has been written to be called during the export process to detect all unset UUIDIA attributes, and to set them. This can be called from the command line as well in the case of batch processing outside the export graphical user interface.
API:
!!setUnsetGUIDs( !items is ARRAY ) is STRING
Arguments:
!items - an array of DBREF elements
Returns:
|Success|
|Unable to set GUID (ref). Is element locked or the database read-only?|
Example:
!items = ARRAY()
!items.append( !!ce )
!message = !!setUnsetGUIDs( !items )
write( !message )