...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<edit:config id="custom.edit"> <entity>graffiti</entity> <label>Grafitti</label> <description>Report graffiti for removal</description> <supportedGeometry>point</supportedGeometry> <requiredGeometry>point</requiredGeometry> <parameter id="id"> <hidden>true</hidden> <column>ID</column> <value>nextval()</value> </parameter> <parameter id="description"> <label>Description</label> <controlType>text-area</controlType> <column>DESCRIPTION</column> </parameter> <parameter id="status"> <label>Status</label> <controlType>list-box</controlType> <column>STATUS</column> <defaultValue>N</defaultValue> <list value="N" label="New"/> <list value="V" label="Verified"/> <list value="S" label="Scheduled"/> <list value="R" label="Removed"/> </parameter> <parameter id="reporter"> <label>Reporter</label> <controlType>list-box</controlType> <dataSet>staff</dataSet> <allowNewValues>true</allowNewValues> <column>REPORTEDBY</column> </parameter> </edit:config> |
Writing to other tables
Infonote |
---|
Currently only writing new record to a separate database table is supported, that is you can not currently update an existing record in an external database table. |
...
The audit
configuration specified a datasource and table to write the values to plus a list of parameters that correspond to the columns in the table.
The columns can derive their values either from the values entered by the user as a parameter in the original edit
configuration or as a formula using a value
tag or as a hard coded value.
Noteinfo |
---|
Parameters in |
...