Locking data - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

A data lock is used to temporarily prevent other users or other sessions from updating the data for an object or a configuration. Once the lock is released, the object is available to be edited by other users or sessions.

In order to lock a configuration or an object, you must first configure a custom property, such as ConfigClaimLocked, for the class definition of the type of object you want to lock. Once the custom property has been created and related to an interface associated with the class definition, you must add it the Update form for the class definition. For more information, refer to Create new display items.

Specific Update commands with their own forms can also be configured. For example, configure a method for Freeze / Unfreeze Project using the Update client API with a form that only exposes this custom property. The custom property is excluded from the default Update command, and a different level of user access is set on the Freeze / Unfreeze command.

Once the custom property is available on the Update form, create a condition to use this property and link it to the methods for claiming and merging the plant, project, or object. For example, the condition on Merge checks that both plant and project are not locked.