Changes

Custom Defined Fields

8,058 bytes removed, 09:50, 28 May 2013
no edit summary
[[Image:uMFig144.png|center|500px|''Figure 144. CDFs in the Editor Window'']]
 
===How to Add Custom Defined Fields===
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || Custom defined fields must have a unique combination of item, label, and data type.
|}
 
To add a custom defined field:
<ol>
<li>From the '''Customisation''' menu, select '''Data Inventory Manager'''.</li>
:The Data Inventory Manager window displays.
<li>From the left pane of the Data Inventory Manager window, select the item and data category to which you would like to add a CDF.</li>
<li>From the right pane of the Data Inventory Manager window, click the [[Image:FieldTemplateIcon.png]] button.</li>
The CDF Editor window displays ([[:Image:uMFig145.png|Figure 145]]).
</ol>
 
[[Image:uMFig145.png|center|500px|''Figure 145. CDF Editor Window'']]
 
<ol start="4">
<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. The label should be no longer than 50 characters and should not contain periods (.) or underscores (_).</li>
<li>Select the data type for the custom defined field from the Data Type list.</li>
</ol>
 
{| class="wikitable" width="600"
|-
| align="center" colspan="2" | '''Table 46. Data Types for Custom Defined Fields'''
|-
| width="225pt" | '''Data Type'''
| width="375pt" | '''Description and Comments'''
|-
| Text Field || ≤250 characters
|-
| Date || Month, day, year
|-
| Number || ≤15 decimal points
|-
| List Multiple Selections || Allows the user to select zero or more values provided in the '''List Values''' field.
|-
| List One Selection || Allows the user to select one value from provided values in the '''List Values''' field.
|}
 
<ol start="6">
<li>Enter a description for the custom defined field in the Description field.</li>
<li>If the CDF is active, check the Active checkbox.</li>
<li>If you selected the ''List Multiple Selection'' or ''List One Selection'' option, click the [[Image:FieldTemplateIcon.png]] button.</li>
:The Add window displays.
<li>Enter the value for the list in the '''Value''' field.</li>
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || 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
|}
 
<ol start="10">
<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 have completed entering the values for the list, click the '''Done''' button.
<li>Enter a description for the custom defined field in the '''Description''' field.</li>
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || You can also translate the label and, if applicable, list option values by clicking the '''Translate''' button at this time.
|}
 
<ol start="12">
<li>Do one of the following:</li>
*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. After the custom defined field is added, it becomes available from the folder of the data category in which it was created in the Data Entry Form Manager.
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || 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.
</ol>
 
===How to view and/or change custom defined fields===
You can change the label, description, and active status of CDFs. You can also change the values for multiple selection or single selection CDFs. To view and/or change custom defined fields:
<ol>
<li>From the '''Customisation''' menu, select '''Data Inventory Manager'''.</li>
:The Data Inventory Manager window displays.
<li>From the left pane of the Data Inventory Manager window, select the item and data category to which you would like to add a CDF.</li>
<li>Click the [[Image:FieldViewIcon.png]] button.</li>
:The CDF Editor window displays.
<li>Change the information as needed. Note that you can only change the label or description.</li>
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || List values can only be changed if the custom defined field is not yet used in a published Data Entry Form template.
|}
 
<ol start="5">
<li>Do one of the following:</li>
*To save the custom defined field and close the Custom Defined Field Editor window, click the '''Save''' button.
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || If you would like to update the custom defined field in 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 Custom Defined Field Editor window, click the '''Cancel''' button.
</ol>
 
===How to inactivate custom defined fields===
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || A custom defined field cannot be removed if it is on a published Data Entry Form template.
|}
 
To inactivate a custom defined field:
<ol>
<li>From the '''Customisation''' menu, select '''Data Inventory Manager'''.</li>
:The Data Inventory Manager window displays.
<li>From the left pane of the Data Inventory Manager window, select the item and data category that contains the CDF you would like to inactivate.</li>
<li>From the right pane of the Data Inventory Manager window, click the row of the custom defined field you would like to inactivate.</li>
<li>Do one of the following:</li>
*Click the [[Image:ActivityIcon.png]] button. The status of the CDF changes to Inactive.
*Click the [[Image:FieldViewIcon.png]] button to display the CDF Editor window. From the CDF Editor window, uncheck the Active checkbox and click the '''Save''' button.
</ol>
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || If you would like to remove the custom defined field from existing Data Entry Form templates, you will need to update and republish the Data Entry Form template.
|}
 
===How to translate custom defined field labels===
The following procedures allow you to translate the custom defined field label that displays in the Data Entry Form. It also allows you to translate the list values for multiple-selection and single-selection lists.
 
{| class="wikitable"
|-
| [[File:Note.jpg | 40px]] || You can also translate CDF labels, multiple -selection list, and single-selection list values via a translation file.
|}
 
To translate custom defined fields:
<ol>
<li>From the '''Customisation''' menu, select '''Data Inventory Manager'''.</li>
:The Data Inventory Manager window displays.
<li>From the left pane of the Data Inventory Manager window, select the item and data category that contains the CDF you would like to translate.</li>
<li>From the right pane of the Data Inventory Manager, click the row of the custom defined field that you would like to translate.</li>
<li>Click the [[Image:FieldViewIcon.png]] button.</li>
:The CDF Editor window displays.
<li>From the CDF Editor window, click the '''Translate''' button.</li>
:The Translated Terms List window displays.
<li>Select the language for which you would like to provide a translation from the list ([[:Image:uMFig146.png|Figure 146]]).</li>
</ol>
 
[[Image:uMFig146.png|center|500px|''Figure 146. Translated Terms List Window'']]
 
<ol start="7">
<li>Click the row of the term that you would like to translate.</li>
<li>Click the [[Image:FieldViewIcon.png]] button.</li>
The Translated Terms Editor window displays ([[:Image:uMFig147.png|Figure 147]]).
</ol>
 
[[Image:uMFig147.png|center|''Figure 147. Translated Terms Editor'']]
 
<ol start="9">
<li>Enter the translated term in the '''Translation''' field.</li>
<li>Do one of the following:</li>
*To save the translation, click the '''Save''' button.
*To discard the translation, click the '''Cancel''' button.
</ol>
{{NavBox HowTo Data Entry Forms}}
4,913
edits