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

PI Web API Reference

Import Mode (Core Services)

The import mode indicates the type of import to perform when importing a database. The following values are accepted:

  • AllowCreate

    Import and create new objects.

  • AllowUpdate

    Import and overwrite existing objects. This flag cannot be set if the GenerateUniqueNames flag is set.

  • GenerateUniqueNames

    Generate unique names for objects that conflict. This flag cannot be set if the AllowUpdate flag is set. If this flag set, then the AllowCreate flag must also be set.

  • PasteOperation

    Use user interface Paste Rules to determine when to generate unique names or allow updates. You do not usually specify any other flags when setting this flag.

  • AutoCheckIn

    Automatically check in all database changes during the import. This can be useful when importing large files which would be too large to check in all changes. If an error occurs during the import, some changes may have already been checked in and cannot be undone.

  • Compatibility

    Internal flag set by the compatibility layer to indicate that the import should abide by AF 1.x rules. In particular, importing a global element into a model will create a reference to the element instead of a copy.

  • CreateConfig

    Will invoke the Data Reference CreateConfig option, which allows PI Points to be auto created, as well as having their substitution parameters resolved and server and point id's set. Performance of import will be affected when this option is turned on. Note that this setting will only apply to newly created elements for xml import, but will apply to both new and modified elements for csv import.

  • DeleteOperation

    Delete existing objects. This flag cannot be set if the AllowCreate or AllowUpdate are set.

  • CreateCategories

    Automatically add categories that are specified but not found.

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