You can lock editing for the name, serial number, and barcode associated with a device from an ETL import in the External System Configuration option of the desktop client. The web client and REST services will reflect the same locking.
- ETL Import Integration in External System Configuration
- Association of external device to a DCO modeled device
You can use the standard release ETL import scripts if you don't have any other scripts: /sources/modules/etl/server/com.apc.etl.server/resources/pentaho/internal/import/import release test suit
The device will have the locked properties value set by the ETL Import value in the Planning > System Setup > External System Configuration option.
Use the edit function to configure the transformation, import job, file path, etc.
During setup, choose to lock the property values for name, serial number, and barcode with a value from the external system.
You can choose all three properties, or just the ones you want.
Verify that you cannot manipulate the value in the desktop client, the web client, or through the Asset REST webservice end-point.
In the desktop client, find the associated device look up the general properties to verify the property lock.
In the web client, the corresponding properties will also be locked for editing.
To verify the REST API, check that the properties: nameLocked, barcodeLocked, serialNumberLocked have been set according to above configuration.