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
BedrockMission!

Learn More

View all

Sign in to view all badges

Saving a pdf in a variable in livecycle designer javascript

Avatar

Avatar
Validate 1
Level 1
nbabi
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nbabi
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nbabi
Level 1

14-11-2020

Dear Community 

 

   Good day! How are you ? 

 

   Is it possible to store pdf file in a variable ( type rawstring ) in Adobe live cycle designer ? can we use doc object if yes how ?

 

Best Regards

Naim

capture javascript PDF variable

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

145 likes

Total Posts

337 posts

Correct Reply

94 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

145 likes

Total Posts

337 posts

Correct Reply

94 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kosta_Prokopiu1
Employee

16-11-2020

it depends on what it is that you want to do. The document as a pdf cannot be put into a variable. The doc object (coming from the Acro JS) can be assigned to a XFA Javascripting variable like that:

var myDoc = event.target;

Then you can use properties and functions (not all may work). E.g. myDoc.importDataObject("xx"); to get an attachment in the PDF...

Answers (0)