cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
826
Views
0
Helpful
2
Replies

How do we extract field label in the transformation

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.

2 Replies 2

Tylor Hagerman
Level 1
Level 1

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.

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