Difference between revisions of "Custom Defined Fields"

From IMSMA Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{TOC right}}
 
{{TOC right}}
  
IMSMA allows you to create, change, and remove fields which are not predefined in IMSMA. These fields are referred to as custom defined fields (CDFs). CDFs can be added to field report items (accident, land, activity, location, education, QM, and victim) and to country structure area, explosive ordnance, organisation, and place.  
+
IMSMA allows you to create, change, and remove fields which are not predefined in IMSMA. These fields are referred to as custom defined fields (CDFs). CDFs can be added to Data Entry Form items (accident, land, activity, location, education, QM, and victim) and to country structure area, explosive ordnance, organisation, and place.  
  
CDFs added to accident, land, activity, location, education, QM, and victim can be added to field report templates so that they become part of the paper-based field report ([[:Image:uMFig142.png|Figure 142]]).
+
CDFs added to accident, land, activity, location, education, QM, and victim can be added to Data Entry Form templates so that they become part of the paper-based Data Entry Form ([[:Image:uMFig142.png|Figure 142]]).
  
[[Image:uMFig142.png|center|500px|''Figure 142. CDFs and Field Report Items'']]
+
[[Image:uMFig142.png|center|500px|''Figure 142. CDFs and Data Entry Form Items'']]
  
After users add data to the field report and the field report is approved, the data entered into the custom defined field can be viewed in the Current View window ([[:Image:uMFig143.png|Figure 143]]).  
+
After users add data to the Data Entry Form and the Data Entry Form is approved, the data entered into the custom defined field can be viewed in the Summary window ([[:Image:uMFig143.png|Figure 143]]).  
  
[[Image:uMFig143.png|center|500px|''Figure 143. Custom Defined Field Viewable in Current View Window'']]
+
[[Image:uMFig143.png|center|500px|''Figure 143. Custom Defined Field Viewable in Summary Window'']]
  
 
You can enter data for CDFs that are added to place, explosive ordnance, organisation, or country structure area via their applicable Editor windows ([[:Image:uMFig144.png|Figure 144]]).  
 
You can enter data for CDFs that are added to place, explosive ordnance, organisation, or country structure area via their applicable Editor windows ([[:Image:uMFig144.png|Figure 144]]).  
Line 34: Line 34:
  
 
<ol start="4">
 
<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 Field Report Manager window. The label should be no longer than 50 characters and should not contain periods (.) or underscores (_).</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. 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>
 
<li>Select the data type for the custom defined field from the Data Type list.</li>
 
</ol>
 
</ol>
Line 86: Line 86:
 
<li>Do one of the following:</li>
 
<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. After the custom defined field is added, it becomes available from the folder of the data category in which it was created in the Field Report Manager.
+
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>
 
</ol>
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| [[File:Note.jpg | 40px]] || If you would like to add the custom defined field to existing field report templates, you will need to update and republish the field report template.
+
| [[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.
 
|}
 
|}
  
Line 111: Line 111:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| [[File:Note.jpg | 40px]] || List values can only be changed if the custom defined field is not yet used in a published field report template.
+
| [[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.
 
|}
 
|}
  
Line 121: Line 121:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| [[File:Note.jpg | 40px]] || If you would like to update the custom defined field in existing field report templates, you will need to update and republish the field report template.
+
| [[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.
 
|}
 
|}
  
Line 131: Line 131:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| [[File:Note.jpg | 40px]] || A custom defined field cannot be removed if it is on a published field report template.  
+
| [[File:Note.jpg | 40px]] || A custom defined field cannot be removed if it is on a published Data Entry Form template.  
 
|}
 
|}
  
Line 147: Line 147:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| [[File:Note.jpg | 40px]] || If you would like to remove the custom defined field from existing field report templates, you will need to update and republish the field report template.
+
| [[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===
 
===How to translate custom defined field labels===
The following procedures allow you to translate the custom defined field label that displays in the field report. It also allows you to translate the list values for multiple-selection and single-selection lists.  
+
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"
 
{| class="wikitable"

Revision as of 20:57, 1 May 2013

IMSMA allows you to create, change, and remove fields which are not predefined in IMSMA. These fields are referred to as custom defined fields (CDFs). CDFs can be added to Data Entry Form items (accident, land, activity, location, education, QM, and victim) and to country structure area, explosive ordnance, organisation, and place.

CDFs added to accident, land, activity, location, education, QM, and victim can be added to Data Entry Form templates so that they become part of the paper-based Data Entry Form (Figure 142).

Figure 142. CDFs and Data Entry Form Items

After users add data to the Data Entry Form and the Data Entry Form is approved, the data entered into the custom defined field can be viewed in the Summary window (Figure 143).

Figure 143. Custom Defined Field Viewable in Summary Window

You can enter data for CDFs that are added to place, explosive ordnance, organisation, or country structure area via their applicable Editor windows (Figure 144).

Figure 144. CDFs in the Editor Window

How to Add Custom Defined Fields

Note.jpg Custom defined fields must have a unique combination of item, label, 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 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 (Figure 145).

  1. 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 (_).
  2. Select the data type for the custom defined field from the Data Type list.
Table 46. Data Types for Custom Defined Fields
Data Type 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.
  1. Enter a description for the custom defined field in the Description field.
  2. If the CDF is active, check the Active checkbox.
  3. If you selected the List Multiple Selection or List One Selection option, click the FieldTemplateIcon.png button.
  4. The Add window displays.
  5. 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
  1. 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.
  2. Enter a description for the custom defined field in the Description field.
Note.jpg You can also translate the label and, if applicable, list option values by clicking the Translate button at this time.
  1. 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. 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.

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.

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:

  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 data category to which you would like to add a CDF.
  4. Click the FieldViewIcon.png button.
  5. The CDF Editor window displays.
  6. Change the information as needed. Note that you can only change the label or description.
Note.jpg List values can only be changed if the custom defined field is not yet used in a published Data Entry Form template.
  1. Do one of the following:
    • To save the custom defined field and close the Custom Defined Field Editor window, click the Save button.
Note.jpg 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.
    • To discard the custom defined field and close the Custom Defined Field Editor window, click the Cancel button.

How to inactivate custom defined fields

Note.jpg A custom defined field cannot be removed if it is on a published Data Entry Form template.

To inactivate 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 data category that contains the CDF you would like to inactivate.
  4. From the right pane of the Data Inventory Manager window, click the row of the custom defined field you would like to inactivate.
  5. Do one of the following:
    • Click the File:ActivityIcon.png button. The status of the CDF changes to Inactive.
    • Click the FieldViewIcon.png button to display the CDF Editor window. From the CDF Editor window, uncheck the Active checkbox and click the Save button.
Note.jpg 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.

Note.jpg You can also translate CDF labels, multiple -selection list, and single-selection list values via a translation file.

To translate custom defined fields:

  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 data category that contains the CDF you would like to translate.
  4. From the right pane of the Data Inventory Manager, click the row of the custom defined field that you would like to translate.
  5. Click the FieldViewIcon.png button.
  6. The CDF Editor window displays.
  7. From the CDF Editor window, click the Translate button.
  8. The Translated Terms List window displays.
  9. Select the language for which you would like to provide a translation from the list (Figure 146).
  1. Click the row of the term that you would like to translate.
  2. Click the FieldViewIcon.png button.
  3. The Translated Terms Editor window displays (Figure 147).

  1. Enter the translated term in the Translation field.
  2. Do one of the following:
    • To save the translation, click the Save button.
    • To discard the translation, click the Cancel button.