Difference between revisions of "Add Item Attributes to the Design Pane"

From IMSMA Wiki
Jump to: navigation, search
Line 33: Line 33:
 
! Data type in DIM
 
! Data type in DIM
 
! Setting in DIM
 
! Setting in DIM
! Data type in database
 
 
! Example
 
! Example
 
! Widget
 
! Widget
Line 40: Line 39:
 
| System / String
 
| System / String
 
| N/A
 
| N/A
| Varchar
 
 
| Land ID
 
| Land ID
 
| Local ID Generator
 
| Local ID Generator
 
| [[Image:Local_ID_Gen.png]]
 
| [[Image:Local_ID_Gen.png]]
 
 
|-
 
|-
 
| System / String
 
| System / String
 
| N/A
 
| N/A
| Varchar
 
 
| Land Name
 
| Land Name
 
| Text Field
 
| Text Field
Line 55: Line 51:
 
| System / String
 
| System / String
 
| N/A
 
| N/A
| Text
 
 
| Major Impacts
 
| Major Impacts
 
| Text Area
 
| Text Area
Line 62: Line 57:
 
| CDF / Text Field
 
| CDF / Text Field
 
| Text Field
 
| Text Field
| Text
 
 
| Informant Name
 
| Informant Name
 
| Text Field
 
| Text Field
Line 69: Line 63:
 
| CDF / Text Field
 
| CDF / Text Field
 
| Text Area
 
| Text Area
| Text
 
 
| Informant Address
 
| Informant Address
 
| Text Area
 
| Text Area
 
| [[Image:Textarea CDF.png]]
 
| [[Image:Textarea CDF.png]]
 +
|-
 +
| Option / Single Select
 +
| Radio buttons
 +
| Land Status
 +
| Radio button
 +
| [[Image:rb_std.png]]
 +
|-
 +
| Option / Single Select
 +
| Combo box
 +
| Status changed reason
 +
| Combo box
 +
| [[Image:xxx.png]]
 +
|-
 +
| CDF / Text Field
 +
| Text Field
 +
| Informant Name
 +
| Text Field
 +
| [[Image:Textbox CDF.png]]
 +
|-
 +
| CDF / Text Field
 +
| Text Area
 +
| Informant Address
 +
| Text Area
 +
| [[Image:Textarea CDF.png]]
 +
  
 
|}
 
|}

Revision as of 09:18, 27 May 2014

After you have specified the page setup for the data entry form template, you can begin adding item attributes/fields. To add attributes to the data entry form in the Data Entry Form Template Designer window:

  1. Expand the item folder that contains the attribute by double-clicking the folder name in the Elements pane.
  2. Expand the data category that contains the item attribute.
  3. Click the name of the attribute you would like to add to the data entry form.
  4. While holding down the left mouse button, drag the attribute to the form design pane.
  5. When the item attribute is in the desired position, release the mouse button.

Template:Important

    The element and its label are placed in the form design pane.
Note.jpg You can also add all item attributes to the data entry form by dragging the folder of the item to the design pane.
  1. Repeat the above steps to add additional item attributes to the data entry form.

When item attributes are dragged to the design pane, they typically include both a text label and the data entry field. The data entry field and label should be kept together to ensure the integrity of the data. Although you can change the label text, be sure to provide a meaningful label so that it is clear to users what data they should enter in the field.

Depending on which data type the item attribute is and on the settings in the Data Inventory Manager the control / widget is different.

Data type in DIM Setting in DIM Example Widget Control / widget
System / String N/A Land ID Local ID Generator Local ID Gen.png
System / String N/A Land Name Text Field Textbox.png
System / String N/A Major Impacts Text Area Textarea.png
CDF / Text Field Text Field Informant Name Text Field File:Textbox CDF.png
CDF / Text Field Text Area Informant Address Text Area File:Textarea CDF.png
Option / Single Select Radio buttons Land Status Radio button Rb std.png
Option / Single Select Combo box Status changed reason Combo box File:Xxx.png
CDF / Text Field Text Field Informant Name Text Field File:Textbox CDF.png
CDF / Text Field Text Area Informant Address Text Area File:Textarea CDF.png


In addition to the text label and data entry field, certain item attributes such as date fields, country structure, and geospatial data will also include an icon. You should keep these elements together to ensure the integrity of the data. If any one of the elements is removed, you should remove all related elements.

Elements

As you add and remove item attributes to the form design pane, the Logical Tree pane is updated.