Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

Check for Duplicate GUIDs

  • Last UpdatedMay 23, 2023
  • 1 minute read

The interface checks for duplicate UUIDIA attributes during an export process. The function checkDupGuids.pmlfnc performs this function.

API:

!!checkDupGuids( !items is ARRAY, !fixIt is BOOLEAN ) is BOOLEAN

Arguments:

!items - an array of DBREF elements

!fixit - a flag to tell system to replace the duplicate value

Returns:

|(Warning) - Duplicate GUID found '| + !guid + |' on $!ref and $!prevRef .|

|Cannot set UUIDIA. Is element locked, or database read-only?|

Example:

!items = ARRAY()

!items.append( !!ce )

!success = !! checkDupGuids ( !items, true )

TitleResults for “How to create a CRG?”Also Available in