How to Create XML file and ZIP file

22 views
Skip to first unread message

Ravindra reddy

unread,
Nov 30, 2022, 11:39:48 AM11/30/22
to Adobe LiveCycle Developers
Hi
Team

Can you please help with  the Answers
1)AEM forms --one PDF file with 2 pages ---we need to split each page into a PNG file

2)Need to generate the XML file with the PNG files.

3)Need to Generate the ZIP file. Includes PNG files and XML file

Can you please help me anyone on this

Thanks
----------------
Ravindra

fred.pantalone

unread,
Nov 30, 2022, 12:39:45 PM11/30/22
to Adobe LiveCycle Developers
Are you running AEM Forms JEE or OSGi?

Ravindra reddy

unread,
Nov 30, 2022, 11:25:57 PM11/30/22
to live...@googlegroups.com
OSGI



--
You received this message because you are subscribed to a topic in the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/livecycle/13_Nrg7zV48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to livecycle+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/livecycle/45f9011a-ca69-4d98-aee0-7e638f7afa79n%40googlegroups.com.


--
THANKS AND REGARDS
Y.RAVINDRA REDDY 

Ravindra reddy

unread,
Nov 30, 2022, 11:29:25 PM11/30/22
to live...@googlegroups.com
Hi
Running AEM forms on JEE

On Wed, Nov 30, 2022 at 11:09 PM fred.pantalone <fred.pa...@gmail.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/livecycle/13_Nrg7zV48/unsubscribe.
To unsubscribe from this group and all its topics, send an email to livecycle+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/livecycle/45f9011a-ca69-4d98-aee0-7e638f7afa79n%40googlegroups.com.

fred.pantalone

unread,
Dec 1, 2022, 11:59:25 AM12/1/22
to Adobe LiveCycle Developers
Ok, are you certain about this??!!

If is JEE, create a process and:

Use the toImage operation of the ConvertPdfService (found in the Common category). This will give you individual PNG files, one for each page. 

Use SetValue assignments with deserializing to create the presumably simple XML document. 

For the zip operation, you should create a custom component that uses some simple Java code to take in files and zip them up. You can prototype this step using an executeScript but don't ever go to production with an executeScript in your processes.

I hope this helps!
Fred

Ravindra reddy

unread,
Dec 1, 2022, 1:07:01 PM12/1/22
to live...@googlegroups.com
Share me article s

You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to livecycle+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/livecycle/80d0e5be-ba6c-49d8-99b0-42d12c2c0d6dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages