Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Formcalc GET function & HTML support

Avatar

Level 1

It seems I've hit a roadblock in a form I am currently working on.

I'm using the Formcalc GET function to download the contents of a web page (it's actually the results of an sql query on a web page). From here, I'm not sure what to do with the downloaded html. If i save the downloaded information as a .html text document (notepadfile.html), when it opens in my browser the html is correctly formatted.

Thoughts I've had:

- Is there a way to add html support to livecycle?

- Can I open the results of the GET function directly into a web browser?

- Can I save/attach the contents of a text field as a .html and open it all through scripting?

I'm no javascript/formcalc expert so this may be an easy issue. Any help would be appreciated!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Maybe look at creating an attachment object, Acrobat DC SDK Documentation  and then opening it Acrobat DC SDK Documentation .

I've note tried it but I have parsed the response and loaded up the form data DOM to display the results within the form

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Maybe look at creating an attachment object, Acrobat DC SDK Documentation  and then opening it Acrobat DC SDK Documentation .

I've note tried it but I have parsed the response and loaded up the form data DOM to display the results within the form

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now