...
A simple spatial data definition generating name
and label
attributes based on the column
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<data:datadefinition id="graffiti"> <spatialdataconnection entity="graffiti"> <parameter column="ID"/> <!-- name will be 'id', label 'Id' --> <parameter column="DESCRIPTION"/> <!-- name will be 'description', label 'Description' --> <parameter label="Created on" column="CREATED" type="datetime"/> <!-- name will be 'created' --> <parameter label="Modified on" column="MODIFIED" type="datetime"/> <!-- name will be 'modified' --> <parameter name="user" label="User" column="USERID"/> </spatialdataconnection> </data:datadefinition> |