Difference between revisions of "Mapping Fields from Customised Forms"

From Hornbill
Jump to navigation Jump to search
(Created page with "==Mapping Fields from Customised Forms== When creating customised forms, and custom questions the default behaviour is for the question and answer to be visible on the reques...")
 
Line 1: Line 1:
==Mapping Fields from Customised Forms==
+
<div style="border:1px solid #90C0FF; background:#D0E0FF; width:99%; padding:4px; margin-bottom:10px;">
 +
__NOTOC__[[Main Page|Home]] > [[Administration]] > [[Progressive Capture Designer]] > Mapping Fields from Customised Forms
 +
</div>
 +
{|style="width: 100%"
 +
|- valign="top"
 +
|style="width:73%"|
 +
== Introduction ==
  
 
When creating customised forms, and custom questions the default behaviour is for the question and answer to be visible on the request form in a '''Questions''' collapsable section.  It is also possible to map the answer from a custom question to one of the default fields on a request.  
 
When creating customised forms, and custom questions the default behaviour is for the question and answer to be visible on the request form in a '''Questions''' collapsable section.  It is also possible to map the answer from a custom question to one of the default fields on a request.  
 +
|style="width:5%"|
 +
|
 +
|style="width:22%; border-style: solid; border-width: 1px; border-color:#e6e6e6; background-color:#f2f2f2;"|
  
<div class="mw-collapsible-content">
+
== Related Articles ==
 +
:* [[Progressive_Capture_Designer#Mapping_Fields_from_Customised_Forms| Mapping fields from custom forms]]
 +
|}
  
 
When creating a custom question on a customised form, each question will require a Field ID to be specified, it is here that the mapping can be performed. When defining the Field ID, if you use any of the following values, the answer to this question will be mapped to the field you have specified.  
 
When creating a custom question on a customised form, each question will require a Field ID to be specified, it is here that the mapping can be performed. When defining the Field ID, if you use any of the following values, the answer to this question will be mapped to the field you have specified.  

Revision as of 09:32, 12 April 2017

Home > Administration > Progressive Capture Designer > Mapping Fields from Customised Forms

Introduction

When creating customised forms, and custom questions the default behaviour is for the question and answer to be visible on the request form in a Questions collapsable section. It is also possible to map the answer from a custom question to one of the default fields on a request.

Related Articles

When creating a custom question on a customised form, each question will require a Field ID to be specified, it is here that the mapping can be performed. When defining the Field ID, if you use any of the following values, the answer to this question will be mapped to the field you have specified.

Mapping Custom Fields.png

Available Fields to Map to

  • Summary - To map to this field the Field ID needs to be set as h_summary
  • Description - To map to this field the Field ID needs to be set as h_description
  • Custom Fields a - p - To map to any of the custom fields the Field ID need to be set using the following format h_custom_a or appropriate for the custom field you would like to map too.

When custom questions have been mapped to a default request field, the question and answer are still available in the Questions section on a request as well as the default fields mapped too.

  • This will allow for the original answer to be retained
  • The default fields values can be changed once logged

Considerations

  • If the Default Request Details form is used in your progressive capture flow, and you try to map to h_summary or h_description, the values will not overwrite or be written to the summary or description fields, but the custom questions and answers will still be written to the Questions section on the request.
  • If the same mapping is used on different custom forms in your progressive capture flow, the first mapping will be written to the specified default field on the request, and any subsequent mapping to the same field will not overwrite this value, but will be written to the Questions section on the request.

Using Custom Questions and Answers in Email Templates & Measures

If you have a requirement to include the answers to custom questions in email templates within your business process, it is now possible to utilise the above mapping to write the answers to the custom questions into default fields which are immediately available to use as variables when creating your email templates.

By using the above mapping to any of the requests custom fields, when creating your email template, simply look for the Extended Information options available from the variables drop down pick list. They will look like this: {{Extended Information.H_custom_x}}. The Extended Information options are listed as 1 through to 20 and these equate to the custom fields a through to p which you will have mapped to. By selecting the required variable in your email template, this will pass through the answer from your custom question which has been mapped to the corresponding custom field.

  • Update - From Service Manager 2.41 mapped answers are also written to the custom columns in the primary h_itsm_requests table (custom a-p), this will allow the custom fields to be used when defining email template variables using the available custom fields, and also as criteria when creating measures in the Advanced Analytics. This update only applies to data in mapped fields for requests logged after the release of Service Manager 2.41. The mapped answers are still also mapped to the above Extended Information table.