Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

When you have attributes being displayed in a Data Grid you can add or remove any field/column of the data at any time. 

Step-by-step guide

  1. Make note of the Active Layer and field on that layer you want to add to the Data Grid. If you have more than one report used in the Data Grid for that Active Layer, note the name of the report. 
     
  2. Open your data.xml file for editing. Find the section that defines the Data Definition you want to modify. 
     

  3. Add a new line to the datasourcedataconnection section so you have a new parameter line. It's easier just to copy and paste an existing line and then modify it. Ensure that you update the type, name, label and column parameters to match those of the field you are adding to the Data Definition.

    In the example below the field to add is called amd_num and is specified as:

    <parameter type='string' name='zoneamendmt_num' label='Amendment Number' column='amd_num'/>
    


    Once incorporated into the existing Data Definition it it will look like:

    <data:datadefinition id='dd_zone'>
    	<datasourcedataconnection key='ogc_fid' table='mann.zones' datasource='gis'>
    		<parameter type='interger' name='ogc_fid' label='FID' column='ogc_fid'/> 
    		<parameter type='string' name='zone_code' label='Zone Code' column='zone_code'/> 
    		<parameter type='interger' name='zone_num' label='Zone Number' column='zone_num'/>
    		<parameter type='string' name='zoneamendmt_num' label='Amendment Number' column='amd_num'/>
    		<parameter type='url' name='details' label='Link to more details' column='details'/>
    		<parameter type='url' name='schedule' label='Link to schedule' column='schedule'/>
    	</datasourcedataconnection>
    </data:datadefinition>
  4. You may need to refresh your browser to see this attribute appear in your Data Grid window. 


     
  5. Done.

 

Also refer to the following sections of the Weave System Administrator Guides:

Filter by label

There are no items with the selected labels at this time.

  • No labels