Hi
Is there an easy way to make my DOM instances have a unique field to the extent where if a user is attempting to create a new DOM instance with an identifier which already exists in another DOM instance, to throw an exception or block the request somehow?
e.g. Adding the second instance would fail because ‘SA Dest 1’ already exists
Benjamin Hodžić [SLC] [DevOps Advocate] Selected answer as best 5th July 2024
Hi Benjamin,
I assume that you are using a LCA form to create the DOM instance? If so, you can configure a CRUD script for that DOM definition, by configuring ExecuteScriptOnDomInstanceActionSettings, and execute the validation when a new instance is created.
Benjamin Hodžić [SLC] [DevOps Advocate] Posted new comment 5th July 2024
Thanks, it works!