Difference between revisions of "Add Custom Defined Fields"

From IMSMA Wiki
Jump to: navigation, search
Line 1: Line 1:
{{New_6.0|Custom defined fields must have a unique combination of item, '''name''' and data type.  
+
{{New_6.0|Custom defined fields must have a unique combination of item, '''name''' and data type. }}
}}
 
  
 
To add a custom defined field:
 
To add a custom defined field:
Line 9: Line 8:
 
<li>From the right pane of the Data Inventory Manager window, click the [[Image:FieldTemplateIcon.png]] button.</li>
 
<li>From the right pane of the Data Inventory Manager window, click the [[Image:FieldTemplateIcon.png]] button.</li>
 
:The CDF Editor window displays.
 
:The CDF Editor window displays.
</ol>
 
  
 
[[Image:CDFEditor.png|center|500px|''CDF Editor Window'']]
 
[[Image:CDFEditor.png|center|500px|''CDF Editor Window'']]
 
<div align="center">
 
<div align="center">
 
''CDF Editor Window''
 
''CDF Editor Window''
</div>
+
</div></li>
 
 
<ol start="4">
 
 
<li>Enter a name in the Name field. The name should be
 
<li>Enter a name in the Name field. The name should be
 
# maximum 60 characters long
 
# maximum 60 characters long
Line 25: Line 21:
 
::* cannot start with a digit.</li>
 
::* cannot start with a digit.</li>
 
<li>Enter a label in the Label field. The label is the default custom defined field’s name that the user will see in the Data Entry Form Manager window. </li>
 
<li>Enter a label in the Label field. The label is the default custom defined field’s name that the user will see in the Data Entry Form Manager window. </li>
<li>Select the data type for the custom defined field from the '''Data Type''' list.</li>
+
<li>Select the data type for the custom defined field from the '''Data Type''' list.
</ol>
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 59: Line 54:
 
|-
 
|-
 
|}
 
|}
 
+
</li>
<ol start="7">
+
<li>Enter a description for the custom defined field in the '''Description''' field.
<li>Enter a description for the custom defined field in the '''Description''' field.</li><br/>
 
 
[[Image:CDF display format.png|center|500px|''Disply formats'']]
 
[[Image:CDF display format.png|center|500px|''Disply formats'']]
 
<div align="center">
 
<div align="center">
 
''Display formats''
 
''Display formats''
</div>
+
</div></li>
 
+
<li>For Text and Single Select CDFs, there are two different display formats to choose between.
<li>For Text and Single Select CDFs, there are two different display formats to choose between.</li>
+
{{New_6.0 | In version 6.0 two different display formats for Text fields has been introduced.}}</li>
{{New_6.0 | In version 6.0 two different display formats for Text fields has been introduced.}}
+
<li>If you selected the ''Multiple Select'' or ''Single Select'' option, click the [[Image:FieldTemplateIcon.png]] button.
<li>If you selected the ''Multiple Select'' or ''Single Select'' option, click the [[Image:FieldTemplateIcon.png]] button.</li>
+
:The Add window displays.</li>
:The Add window displays.
+
<li>Enter the value for the list in the '''Value''' field.
<li>Enter the value for the list in the '''Value''' field.</li>
 
</ol>
 
  
 
{{note|When entering values for lists, be sure to:
 
{{note|When entering values for lists, be sure to:
 
*Enter values in the order that you would like them to display to the user
 
*Enter values in the order that you would like them to display to the user
 
*Enter values in the language in which the users will use IMSMA
 
*Enter values in the language in which the users will use IMSMA
}}
+
}}</li>
 
+
<li>Do one of the following:
<ol start="11">
 
<li>Do one of the following:</li>
 
 
*If you would like to save the value and enter additional values, click the '''Save''' button.
 
*If you would like to save the value and enter additional values, click the '''Save''' button.
*If you have completed entering the values for the list, click the '''Done''' button.
+
*If you have completed entering the values for the list, click the '''Done''' button.</li>
<li>If you selected the ''Single Select'' option, chose an option from the Selection Display field to display the CDF as either a list of radio buttons or as a combo box.</li>
+
<li>If you selected the ''Single Select'' option, chose an option from the Selection Display field to display the CDF as either a list of radio buttons or as a combo box.
</ol>
 
  
 
{{note|You can also translate the label and, if applicable, list option values by clicking the '''Translate''' button at this time. See [[Translate Custom Defined Field Labels]] for more information.
 
{{note|You can also translate the label and, if applicable, list option values by clicking the '''Translate''' button at this time. See [[Translate Custom Defined Field Labels]] for more information.
}}
+
}}</li>
 
+
<li>Do one of the following:
<ol start="13">
 
<li>Do one of the following:</li>
 
 
*To save the custom defined field and close the CDF Editor window, click the '''Save''' button.
 
*To save the custom defined field and close the CDF Editor window, click the '''Save''' button.
 
:If the custom defined field information is successfully saved, the CDF Editor window closes and the custom defined field is listed in the Data Inventory Manager window.  
 
:If the custom defined field information is successfully saved, the CDF Editor window closes and the custom defined field is listed in the Data Inventory Manager window.  
</ol>
 
  
 
{{note|If you would like to add the custom defined field to existing data entry form templates, you will need to update and republish the data entry form template.
 
{{note|If you would like to add the custom defined field to existing data entry form templates, you will need to update and republish the data entry form template.
 
}}
 
}}
 
<ol>
 
 
*To discard the custom defined field and close the CDF Editor window, click the '''Cancel''' button.
 
*To discard the custom defined field and close the CDF Editor window, click the '''Cancel''' button.
</ol>
+
</li></ol>
  
 
{{NavBox HowTo Data Elements}}
 
{{NavBox HowTo Data Elements}}

Revision as of 23:46, 27 January 2016

New 6.0.png Custom defined fields must have a unique combination of item, name and data type.

To add a custom defined field:

  1. From the Customisation menu, select Data Inventory Manager.
  2. The Data Inventory Manager window displays.
  3. From the left pane of the Data Inventory Manager window, select the item and the data category to which you would like to add a CDF.
  4. From the right pane of the Data Inventory Manager window, click the FieldTemplateIcon.png button.
  5. The CDF Editor window displays.
    CDF Editor Window

    CDF Editor Window

  6. Enter a name in the Name field. The name should be
    1. maximum 60 characters long
    2. only allowed characters are a - z and 0 - 9 i.e.
    • cannot contain . , / \ ( ) ! ? - @
    • cannot contain space/blanks
    • cannot contain capital/upper case character
    • cannot start with a digit.
  7. Enter a label in the Label field. The label is the default custom defined field’s name that the user will see in the Data Entry Form Manager window.
  8. Select the data type for the custom defined field from the Data Type list.
    Data Types for Custom Defined Fields
    Data Type Description and Comments
    Text Field unlimited characters
    Date Month, day, year
    Number ≤15 decimal points
    Organisation Allows the user to select organisational data
    Place Allows the user to select place data
    Country Structure Allows the user to select country structure level data
    Multiple Select Allows the user to select zero or more values provided in the CDF Values field
    Single Select Allows the user to select one value from provided values in the CDF Values field
  9. Enter a description for the custom defined field in the Description field.
    Disply formats

    Display formats

  10. For Text and Single Select CDFs, there are two different display formats to choose between.
    New 6.0.png In version 6.0 two different display formats for Text fields has been introduced.
  11. If you selected the Multiple Select or Single Select option, click the FieldTemplateIcon.png button.
    The Add window displays.
  12. Enter the value for the list in the Value field.
    Note.jpg When entering values for lists, be sure to:
    • Enter values in the order that you would like them to display to the user
    • Enter values in the language in which the users will use IMSMA
  13. Do one of the following:
    • If you would like to save the value and enter additional values, click the Save button.
    • If you have completed entering the values for the list, click the Done button.
  14. If you selected the Single Select option, chose an option from the Selection Display field to display the CDF as either a list of radio buttons or as a combo box.
    Note.jpg You can also translate the label and, if applicable, list option values by clicking the Translate button at this time. See Translate Custom Defined Field Labels for more information.
  15. Do one of the following:
    • To save the custom defined field and close the CDF Editor window, click the Save button.
    If the custom defined field information is successfully saved, the CDF Editor window closes and the custom defined field is listed in the Data Inventory Manager window.
    Note.jpg If you would like to add the custom defined field to existing data entry form templates, you will need to update and republish the data entry form template.
    • To discard the custom defined field and close the CDF Editor window, click the Cancel button.