Event has DataType = String. To setup correct value I used:
Trigger.Event = “D”; //Trigger Event = INSERT, UPDATE, DELETE
Problem: Can’t setup value = “DELETE” // only FIRST letter works
Fire has DataType = String. To setup correct value I used:
Trigger.Fire = “A”; //Trigger Time = BEFORE, AFTER
Problem: Can’t setup value = “AFTER” // only FIRST letter works
Schema has DataType = PERSchemaDB
Trigger.Schema = “XXX”; // value not changed
Trigger.Schema.Name = “XXX”; // value not changed
Problem: How to setup value ?
Property Schema is of type Dispatch. So, while defining the property, you have to refer to existing object in list Schemas.
Please find attached a script that adds schema “MySchema” to all entities in the model. If the “MySchema” does not exist in the model, the script will create it.