Skip to Content

Data Binding Path for Work Description in Ticket Summary Form (ALD)

Hi community,

I cannot find the data binding path for the field Work Description in HTML5 Ticket - Service and Repair and in RUI Ticket - Overview for usage in the form in Adobe LifeCycle Designer.

Can please someone help?

Thanks and best regards,

Deborah

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 07 at 06:55 AM

    Hi Deborah

    To access various text content use path: $.ServiceRequest.TextCollection.Text[*].ContentText

    To access text type use node "TypeCode" under $.ServiceRequest.TextCollection.Text[*]

    Work Description Texts are stored under the the type: 10022

    You would have to write a ALD script to retrieve the text of type Work Description (type code 10022) ...

    Hope this helps a bit...

    -karthik

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Karthik,

      it now works with the following script! :)

      FormServiceRequestConfirmation.Page2.WorkDescription.Row1.TextField6::validate - (JavaScript, Client)
      
      iTypeCode = TextField7.rawValue;
      if (iTypeCode != "10022"){
      this.presence = "hidden";
      }
      

      I added another column with data binding for Type Code (TextField7) and reference it here...

      But I'm still interested in how to reference directly to the type code of the XML data schema, without adding it to the form... Do you know how to do this?

      Best regards, Deborah

  • Jan 31 at 11:15 AM

    Work Description is already available in Form Data and can be consumed in custom template as well.

    The path is $.ServiceRequest.TextCollection.Text[*] (.ContentText for the text content).

    Add comment
    10|10000 characters needed characters exceeded