"Inject" external .pdf into LiveCycle layout [Adobe/SAP]

Avatar

Avatar
Level 1
bob_w1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
bob_w1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
bob_w1
Level 1

04-06-2021

Hi All!

 

I would like to ask if there is a possibility in Adoce LiveCycle Designer to "inject" external .pdf document into it's Layout?

So for example let's say I would like my test form to have 3 pages:

 

Page 1 - Comes from Layout editor (let's say containing some basic adobe controls bound to context, like text fields, table object etc)

Page 2 - On this page .pdf focument containing 1 page to be displayed, this .pdf file I would like to access via http

Page 3 - Another standard page coming from Layout editor

 

My question is how to "inject" the Page 2 into my Layout. Is there maybe some adobe control, or maybe JS offers some function?

 

Thank You in advance.

BoB

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

167 likes

Total Posts

373 posts

Correct reply

108 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

167 likes

Total Posts

373 posts

Correct reply

108 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile
Kosta_Prokopiu1
Employee

15-06-2021

Hi @bob_w1 ,

 

I am afraid this is not possible.

Not with the Designer writing to a PDF which you then pass on to others. You may be able to provide a link and then the browser could be called from Reader opening the page 2 PDF in a different window. But to include this into the design and display it as part of your PDF is not possible.

The use case would be more for AEM Forms server using Assembler functionality. There you could assemble a PDF from different sources and as a result you get your 3 pages which is then sent to the user.

But that requires a server setup and licensing to be in place.

Answers (1)

Answers (1)

Avatar

Avatar
Level 1
bob_w1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
bob_w1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
bob_w1
Level 1

17-06-2021

Thanks a lot guys! Finally found kind of a workaround.

Since I'm calling Adobe layout from SAP the solution could be to capture the bin result of Adobe call

and merge several results in ABAP (cl_rspo_pdf_merge class),

also together with external pdf I mentioned (read from external drive and also converted to bin)

Just tried it and it works, but one big shortcoming of this approach is

that you're not able to add, for example, page numbering to those pages of final pdf which come from external source

(that is Page 2 in my example)

But at this stage this is something we can live with, hopefully.

Regards,

BoB