Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.

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.

Everyone's tags (1)
2 REPLIES
New Member

Re: How do we extract field label in the transformation

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.

New Member

Re: How do we extract field label in the transformation

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

154
Views
0
Helpful
2
Replies
CreatePlease to create content