Add Item Attributes to the Design Pane: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 124: Line 124:
{{New_6.0 | It is possible to specify in the Data Inventory Manager if the text CDFs should be a Text Field or a Text Area in the template. It is not possible to switch between the two widgets in the Data Entry Form Template Designer. }}
{{New_6.0 | It is possible to specify in the Data Inventory Manager if the text CDFs should be a Text Field or a Text Area in the template. It is not possible to switch between the two widgets in the Data Entry Form Template Designer. }}


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


There are other types of elements than item attribute that may be added to the template. These are found in the Tool folder:
There are other types of elements than item attribute that may be added to the template. These are found in the Tool folder:

Latest revision as of 20:15, 19 June 2017

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.
If you drag an item attribute to the design pane which has previously been added, the following message displays:
At least one of the fields you dragged on to the template already exists in the template. You cannot add the same field more than once to the template.

Click the OK button.

    The element and its label are placed in the form design pane.
You can also add all item attributes in a category to the data entry form by dragging it 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 will use widgets for that data type. All parts of the widget should be present in the template in order to ensure that the widget will work for data entry. Although you can change properties and e.g. the label text. In the geographical widget you may delete the polyline/polygon table.

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

Type in DIM Setting in DIM Example Widget Control / widget
System No Land ID Local ID Generator
Country Structure No Victim Living In Country Structure
Date No Status changed date Date
Geographical information No All items Geo data

The difference between the columns X / Lon & Y / Lat and X / Longitude & Y / Latitude is described here.

Multiple Select No Vulnerable group Multiple Select
Number No Size of Living Space Text Field
Organisation No Organisation Organisation
Place No Status changed date Place
Single Select Yes Land Status Radio button
Single Select Yes Status changed reason Combo box
String / Text Only for CDFs Land Name Text Field
String / Text Only for CDFs Major Impacts Text Area
Subobject No Ordnance Table
Time No Time to hospital Time
It is possible to specify in the Data Inventory Manager if the text CDFs should be a Text Field or a Text Area in the template. It is not possible to switch between the two widgets in the Data Entry Form Template Designer.

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

There are other types of elements than item attribute that may be added to the template. These are found in the Tool folder:

  • Icon e.g. logotypes
  • Line e.g. as header and footer divider
  • Text e.g. template version number

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Customising IMSMANG|}}}}{{#if:{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|{{#if:Customising IMSMANG|}}{{#if:|

{{{imageleft}}}

}}{{#if: Design Data Entry Forms| Design Data Entry Forms<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=

|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}{{#if:|

{{{image}}}

}}}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:add item attributes to the design pane
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}