Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Level 1

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