Using Model Objects
The master script functions use get and set functions, with the “cap” variable, to retrieve and update information about the current record. Table 1 shows how to get information, from the application specific information table, from a script control.
# | Value Description |
---|---|
01 | true ^ asit = cap.getAppSpecificTableGroupModel (); |
Table 2 shows how to update information, from the application specific information table, from a script control.
# | Value Description |
---|---|
01 | true ^ cap.setAppSpecificTableGroupModel(asit) ; |
Table 3 shows how to pass capModel updates to Citizen Access at the end of your script.
# | Value Description |
---|---|
01 | true ^ aa.env.setValue("CapModel",cap) ; |