Difference between revisions of "Custom Defined Fields"

From IMSMA Wiki
Jump to: navigation, search
Line 179: Line 179:
 
</ol>
 
</ol>
  
[[Image:uMFig147.png|center|500px|''Figure 147. Translated Terms Editor'']]
+
[[Image:uMFig147.png|center|''Figure 147. Translated Terms Editor'']]
  
 
<ol start="9">
 
<ol start="9">

Revision as of 14:37, 29 August 2012

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, hazard, hazard reduction, location, MRE, QC, and victim) and to country structure area, explosive ordnance, organisation, and place.

CDFs added to accident, hazard, hazard reduction, location, MRE, QC, and victim can be added to field report templates so that they become part of the paper-based field report (Figure 142).

Figure 142. CDFs and Field Report 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 (Figure 143).

Figure 143. Custom Defined Field Viewable in Current View 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 Field Report 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

<ol start="10"

  • 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.
  • Enter a description for the custom defined field in the Description field.
  • </ol>

    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 Field Report Manager.

    Note.jpg 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.
      • 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 field report 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 field report templates, you will need to update and republish the field report 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 field report 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 field report templates, you will need to update and republish the field report template.

    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.

    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.