11-17-2011 05:20 PM
How do we extract field label in the transformation
We are sending fieldname:value pairs to Remedy for service delivery. However the requirement is to send fieldlabel:value pair.
(FieldLabel = Label which is shown to an end user on the service order form).
How do we extract field label in the transformation, as it is not available in NSXML message itself.
11-17-2011 05:20 PM
The label of the field is in the NSXML message, it is just located someplace inconvenient.
Here is a piece of the NSXML message that contains details about the dictionary. In this case the LoginID field in the Requested For dictionary. Noe the <data-id> value. This is the key to link to the field data. So you want to get the <data-id> where the dictionary/name matches the dictionary you want and the data/name matches the field you want.
11-17-2011 05:20 PM
Modify and use this template as appropriate:
<xsl:template name="buildDesc">
<xsl:for-each select="/message/task-started/requisition/requisition-
entry/service/form/fields/field">
<xsl:if test="input-type!='hidden'">
&nb
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide