cancel
Showing results for 
Search instead for 
Did you mean: 

Re-creating the interactive PDF form

Former Member
0 Kudos

Hi,

Using Adobe Lifecycle Designer, I am creating an interactive PDF form and sending it to the backend in binary format(or XString).

Is it possible to regenerate the original pdf using this stored binary string in Adobe Lifecycle designer to do some modifications, and save it back?

Please, let me know if this is possible or if there is some work around for doing modifications in already stored Adode PDF forms.

Thanks & best regards,

Sujit

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

look at this link

http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm

you can get pdf

byte[] bytes = contextElement.getPdfSource();

try

{

File file = new File("C:
temp
example.pdf");

FileOutputStream os = new FileOutputStream(file);

os.write(bytes);

os.close();

}

catch (IOException e)

{

// do something

e.printStackTrace();

}

Regards

nikhil_bose
Active Contributor
0 Kudos

yes.

you can get it back from binary stored. And assign it to Resource.

it will do.

you can have sample code here:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/2c678dc3-0401...

nikhiL