Expand my Community achievements bar.

Justin_Klei
Justin_Klei
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • In Designer, go to the Data View tab.  You should see a data connection.  Right-click on the data connection and select "Connection Properties".  The "Data Description Type" will tell you the type of data connection.

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • I'm not familiar with the SAP integration, but I'm pretty sure it's using the LiveCycle Forms module to render the form.What type of data connection do you have defined in Designer?  It has to be one of the following:XML SchemaSample XML DataData ModelWSDL FileOLEDB DatabaseI'm guessing it is 1 or 2...

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • What kind of data source...is it an XML or XSD?How are you populating the data into the form?  Are you using LiveCycle Forms or LiveCycle Output?

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • Are you trying to write script to populate the line break, or do you want to know how to generate the XML that gets fed into the form so the line breaks will appear?The instructions I provided above will show you how to script it.If you want to know what the XML should look like, do this:Save your f...

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • Apparently the tags are getting encoded when you try to set the rawValue of the field.Try this instead:var richTextValue = '<body><p>Line 1 of text</p><p>Line 2 of text</p></body>';xfa.resolveNode("TextField1.value.#exData").loadXML(richTextValue);

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • If it's a rich text field, you can use an html <br> tag.This is mentioned in the XFA Specification document:  http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf

    Type

    Questions

    Views

    18.9K

    Likes

    0

    Replies

    0
  • The reason start and end date shows nothing is because of this line:        if (toDateAsNum > fromDateAsNum) thenThe calculation only runs if end date is greater than begin date.  Change the expression to >= to get the desired result.

    Type

    Questions

    Views

    2.3K

    Like

    1

    Replies

    0
  • To add them all together, put this in your calculate script for the total field:  $ = Sum( row1[*].workdays )

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    0
  • Add this to the calculate event for your workdays field (I also cleaned up the code a bit):var fromDate = Start_Date1var toDate = End_Date1if ( HasValue(fromDate) & HasValue(toDate) ) then          var fromDateAsNum = Date2Num(fromDate, "YYYY-MM-DD", "en_IE")          var toDateAsNum = Date2Num(toDa...

    Type

    Questions

    Views

    2.3K

    Like

    1

    Replies

    0
  • There's a problem with the calculate script where you're calculating the weekend days.The problematic line is this one:    var currentDateNum = Date2Num(xfa.resolveNode("#subform.#subformSet.#subform[1].#subform[2].Table_SF.Table1.row1.Start_Date1").formattedValue,"DD-MM-YYYY")If you print out the v...

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    0
Top badges earned by Justin_Klei
Customize the badges you want to showcase on your profile