Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Process to convert multiple supported files to 1 pdf file

$
0
0

Hi all,

 

Situation:

I am working with a java backend - Flex frontend.

The user will click a button pubish. This will initialize the java backend and do the following:

 

This backend will save multiple files on the LiveCycle's server harddisk (NOT the watched folder). All supported formats for conversion.

When the files are stored, an XML is generated which contains the path to this location and their filenames.

 

This XML-file will be dropped in the input folder of the WatchedFolder.

 

The LiveCycle process must read the XML and use it as a reference to get the files stored on the harddisk and convert these to one single PDF.

 

Problem:

The process I've written so far is able to read all the documents specified in the XML file. This is not an issue, the following is:

What service should I use to actually convert those read documents to a PDF?

I can live with a pdf per document and then find a merge for those pdf files to one single pdf.

 

I need this in a self-written process - in LC Workbench.

Dropping the files in a watched folder is not an option because I need the converted files delivered in one single PDF file to the customer.

 

So what I need but fail to find, due to lack of documentation is a service which accepts one or multiple documents and converts them to a PDF file. Or a service which coverts a document to a pdf and a service to merge multiple pdf files to one pdf file.

 

Trying to be more clear & specific about the complete process:

1) Folder is created on the LC-server harddisk (not in LC Workbench)

2) Files requried for conversion are uploaded to this location (not in LC Workbench)

3) XML with filenames & location (= path) is saved in the WatchedFolder/input directory (not in LC Workbench)

4) Converts each document to a pdf - merges the generated pdfs if necessary - and sends me one single pdf by mail. (in LC Workbench)

 

Everything works, apart from actually converting those input files to a PDF.

Either I'm using the wrong service (GeneratePDF) or I'm doing something else wrong.

 

If you require more information I would gladly provide you with such.

 

Kind regards!


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>