Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Output
Viewing all 9631 articles
Browse latest View live

Handle WSDL data connection timeout during PDF generation

$
0
0

     I have created in LiveCycle Designer XDP template. In template i defined WSDL Data connection. For data loading i call xfa.connectionSet.WsDataConnection.execute(0).

     For PDF generation i created LiveCylce process and use generatePDFOutput component.

If WebService works output service generates document with all data - OK.

If i turn off webservice and run process ouputservice generates PDF document with empty fields. Is where any possibility to raise execption to calling process if WSDL connection timeouts or gives SOAP fault error in response? 

I want catch web service errors in process and do not generate PDF if some webservice used in PDF template is not accesible during generation.


Error While Converting .doc to .pdf

$
0
0
Hi all

I am using Adobe LiveCycles PDF Generator ES (adminui) to convert .doc files to .pdf but I am getting the following error:

Error Code:1000
Error Message: ALC-PDG-001-000-Conversion failed because of an exception. RuntimeException; CausedByException is: An unexpected exception while resolving a new connection to an Adobe Service.

I have installed both the ALC ES and Microsoft Office 2003 respectively from the same user. Please help how to resolve.

Thanks in advance.

Syed Hussain Itiba Naqvi

Setting the Priority on a Process/Application

$
0
0

Actually aksed this question in the Foundation discussion group but think it is better suited here...

 

Hi

 

I have a JBoss turnkey install of LiveCycle ES2 in production. One of the applications runs a large batch job in the evenings. This all works fine, however, I also have some adhoc applications that could -- at the same time -- be invoked. I would like to give priority to those adhoc processes over the batch process. Is this possible?

 

Thank you

Modify the xml generated by a PDF form

$
0
0

Hi,

I want to create PDF forms (via livecycle ES2) from tables of an Access database.

When I generate an XML file from the PDF forms, and I try to inject them into my Access database, it does not work.

If I replace the tag data <dataroot>, with the one found in an Access xml export it works. Is it possible from Livecycle ES2 to modify the structure of the xml output?

For example, can I replace <dataroot generated=""> by <dataroot xmlns:od="urn:schemas-microsoft-com:officedata"......> ?

 

Regards

 

Guillaume

Adobe LiveCycle - Has a working Submit Button with Dynamic Subject, Email but cannot change filetype

$
0
0

Adobe LiveCycle - Has a working Submit Button with Dynamic Subject, Email but cannot change filetype.

 

I have a hidden email buttton and a regular button with the following code

 

EmailSubmitButton1.event__click.resolveNode("#submit").target = "mailto:customer@customer.com;"+e.rawValue+"?subject="+z.rawValue+"&body="+z.rawValue;

 

EmailSubmitButton1.execEvent("click");

 

 

The button works great but the filename is random characters and its a .xml.

 

I did some research and i know the suggestions are to switch the button control type to submit and then change the filetype to PDF but then my submit button doesnt work anymore with the dynamic subject/email/body....any suggestions?

 

 

Also is there anyway to dynamically change the filename as well?

 

Please help, thank you!

can we assemble XFA and Flatten pdfs?

$
0
0

Hi,

I am not sure if assembler can create a XFA + Flatten pdf to a XFA form.

I want to assemble a pdf1 (xfa)  with pdf2 (flatten) to produce a pdf3.

 

Pdf3 should not be completely xfa or flatten, so that i can submit pdf3 on hit of button and extract out xml out of it.

 

PDF1 is an application form

PDF2 is just instruction page, so i want to keep it as flatten to reduce size of this pdf.

 

PD3 should be XFA cum flatten, so when it is rendered to user and user clicks on submit button. It will submit the entire pdf.

 

Please let me know how do i do using assembler.

 

assemblerXFAFLATTEN.jpg

 

 

Regards

Sunil

The XmlFormService process gives following warning when generating pdf output.

$
0
0


I get the following warning i my server.log when "converting" xml to pdf(generatePDFOutput). Running lc es4 sp1, jboss 5.2.0, java 1.7.0_25, suse linux 11 sp2.

 

2014-05-19 08:38:05,649 WARN  [com.adobe.service.J2EEConnectionFactoryManagerPeerImpl] (WorkerThread#0[172.20.138.175:65414]) Service: XMLFormService resource: ProcessResource@59a6bbcd(name=XMLForm.exe,pid=25053) could not schedule an interrupt for transaction: TransactionImple < ac, BasicAction: -53eba403:c6dc:5379a4b8:1a30 status: ActionStatus.RUNNING > because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.

 

Any idea why i get this warning?

How do I generate a PDF that runs form script (displaying dependent fields and subforms) and then convert to a PDFA so that those same fields and subforms are visible?

$
0
0

This would be in an ES3 process.  Any help would be appreciated.

 

Thanks

WK


"Could not find the watch folder endpoint to save this failure" message found in log

$
0
0

Hi,

 

We have multiple Watched folders deployed on a machine. Every second the below ERROR message is appended to the log file.

 

Following are the excerpt of log:

2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Could not find the watch folder endpoint to save this failure.

2015-02-03 03:13:20,627 ERROR [com.adobe.idp.dsc.provider.service.file.write.impl.FileResultHandlerImpl] Failed to initialize the file provider for endpoint null. Check exception for more details

 

How to get rid of this issue????????????

 

Regards,

-Carter J

Just the date

$
0
0

Hi,

I want to add the date of today in my form, which I am creating with Adobe LiveCycle Designer. How can I cut the time away. How can I define the pattern?

Bye

Holger

Merging of PDF document per Java API

$
0
0
Hi there,

I have to merge a lot of PDF documents to a single one.
I've found a solution using the AssemblerServiceClient with a ddx file.
Is there another possibility? The ddx-solution is not very handy for that quite simple task.

Any ideas?

Greetings,
Joerg

Saving Filled Form to Server

$
0
0
I have a PDF form that is sitting out on a server. If I have a link to that form so that a user can fill it out is there code I can add to a submit button that will take that file, rename it so as not to overwrite other peoples filled forms, and save it to another folder on the server.

I have already gotten past the issue of changing the rights so a user using a reader can fill it, and I know how to make it Read-only once it has been filled.

Flatten PDF with Attachments

$
0
0
Hi,

I,

1. render a xdp in browser (via servlet)
2. fill out the form, attach some files
3. submit the form as PDF (via servlet)
4. launch a process that flattens the PDF file

the flattened PDF doesn't include attachments no more, it was lost durning the Output/transform Qpac. (if I don't apply the flattening, I am able to see the attachments)

How do I keep attachments in flattened pdf?

Thanks in advance.

How to render Rich Text /Html content in PDF through .XDP form

$
0
0

Hi all

 

I have designed an Invoice.XDP form and connected to a XML/XSD file for data.

 

Now I dragged data fields from DataView to Invoice.XDP form to create required Text Fields.

When I generated PDF from LiveCycle OutPut ES service it renders all fields with data.

 

In the Invoice.XDP form some of the fields are required display Richtext /Html content, for those fields I changed object property to "Rich Text" from "Plain Text Only". Even after doing this the formatted text (Richtext /Html) is not displayed and it just displays only raw HTML text tags.

 

I have attached the sample "Invoice_RTF.pdf" generated for reference here.

Please advise me how to render the Richtext /Html content.

 

Thanks in Advance

VKG

Unable to create / open file

$
0
0

hi

 

i try to create pdf with Output Service API Quick Starts, i copy code in the file in

Web service API so i call my output service.
i have a modele ComdeDynamiq.xdp
i have  a  xml file for merging : PurchaseOrder.xml
i add to url service ?blob=base64
but my method generatePdfOutput don't run at all : no file generate
and in my file output.xml where i put data in generatepdfOutputResultDoc.BinaryData there is :
<?xml version="1.0" encoding="UTF-8"?>
<printResult>
<status>2</status>
<requestId>611e915ba</requestId>
<context>7</context>
<messages>
<message>Unable to create / open file C:\creerPdf\Res.pdf.</message>
</messages>
<printSpec/>
</printResult>
i don't knom what doesn't run in my code?? i give it in attach files? is there somoene which could help me??
thanks
my code is below :

using

 

System;

using

 

System.IO;

using

 

System.Collections;

using

 

System.ComponentModel;

using

 

System.Data;

using

 

System.Configuration;

using

 

System.Web;

using

 

System.Web.Security;

using

 

System.ServiceModel;

using

 

WebReference;

 

///

 

<summary>

///

 

Summary description for outPut

///

 

</summary>

public

 

classTestOutPut

{

 

public TestOutPut()

{

 

//

 

// TODO: Add constructor logic here

 

//

}

 

publicvoid Essai()

{

 

try

{

 

 

// Appel du service output

 

OutputServiceService outPutClient = newOutputServiceService();

outPutClient.Url +=

"?blob=base64";

outPutClient.Credentials =

new System.Net.NetworkCredential("administrator", "password");

 

//creation d'un blob pour stocker les données du fichier

 

BLOB inData = newBLOB();

 

//reference du fichier xml à merger avec le modèle :

 

String inPutFile = @"C:\\creerPdf\\PurchaseOrder.xml";

 

FileStream fs = newFileStream(inPutFile, FileMode.Open);

 

//on récupère la taille du flux du fichier et on crée un tableau de byte :

 

int longueur = (int)fs.Length;

 

Byte[] byteArray = newbyte[longueur];

 

//on remplit le tableau de byte avec le contenu du file stream :

fs.Read(byteArray, 0, longueur);

 

//on rempli le blob

inData.binaryData = byteArray;

 

//option de run time du pdf

 

PDFOutputOptionsSpec pdfOptions = newPDFOutputOptionsSpec();

pdfOptions.fileURI =

"C:\\creerPdf\\Res.pdf";

pdfOptions.lookAhead = 300;

pdfOptions.generateManyFiles =

false;

pdfOptions.recordLevel = 1;

 

//render options :

 

RenderOptionsSpec renderOptions = newRenderOptionsSpec();

renderOptions.cacheEnabled =

true;

 

//Create empty objects to pass as arguments

 

//to the generatePDFOutput method

 

//These objects are populated by the method

 

BLOB generatePDFOutputMetaDataDoc = newBLOB();

 

BLOB generatePDFOutputResultDoc = newBLOB();

 

OutputResult outResult = newOutputResult();

 

//On crée le doc pdf

outPutClient.generatePDFOutput(

TransformationFormat.PDF, "BonCmdeDynamiq.xdp", "C:\\creerPdf\\", pdfOptions, renderOptions, inData, out generatePDFOutputMetaDataDoc, out generatePDFOutputResultDoc, out outResult);

 

//On ecrit les données vers output.pdf

 

//on rempli un tableau de byte avec les données de sortie

 

byte[] outByteArray = generatePDFOutputResultDoc.binaryData;

 

//On crée un nouveau fichier pour stocker les données

 

string FILE_NAME = "C:\\Adobe\\Output.xml";

 

FileStream fs2 = newFileStream(FILE_NAME, FileMode.OpenOrCreate);

 

//on ecrit le flux de données

 

BinaryWriter w = newBinaryWriter(fs2);

w.Write(outByteArray);

w.Close();

fs2.Close();

fs.Close();

}

 

catch(Exception ee)

{

 

Console.WriteLine(ee.Message);

}

 

}

}


LC Output - problem big batch of 1000+ records

$
0
0

Hi,

 

I am creating a prototype with LC Output. The calling application will produce big XML file - Batch with more than1000 records.

 

Example XML data:

<?xml version="1.0" encoding="utf-8"?>

<BATCH>

<formDataRecords>

<LC_KOMA002>

<customerNameAddress>Jensens Biludlejning</customerNameAddress>

<customerNameAddress>Vestergade 21c</customerNameAddress>

<customerNameAddress>7100 Vejle</customerNameAddress>

</LC_KOMA002>

<LC_KOMA002>

<customerNameAddress>Pete Petersen</customerNameAddress>

<customerNameAddress>Vestergade 10</customerNameAddress>

<customerNameAddress>7100 Copenhagen</customerNameAddress>

</LC_KOMA002>

...

</formDataRecords>

...

 

In a setVariables step I extract the XML data to be merged with formTemplate. I extract all all nodes under <formDataRecords> in a new XML variable.

I use this xml as input data to a GeneratePDFOutput (LC Output). The GeneratePDFOutput is set up with 'multiple streams&apos; and &apos;record level&apos; 2 and &apos;Record name&apos; = <LC_KOMA002>. I use the &apos;Output Location URI&apos; to save the pdf with incremental filename xxx1,2,3,4.pdf

The workflow works fine with 500 records - here it produces 500 pdf files with 1 page.

 

Problem:

When running with 1000 records or more my process does not produce any pdf. The watchedfolder take my XML datafile. But after 3-4 min. it returns this error in the ERROR server log.

 

2010-08-12 11:52:00,484 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a10ed08:ce4d:4c596be4:15f4fee invoked while multiple threads active within it.

 

It seems like GeneratePDFOutput run out of memory in some way when it handles more that 500 records.

I hope that you have ideas to configuration/settings that can be used on the Adobe LC server or CL Output so that it can handle large batch jobs??

 

I look forward to all you clever solutions - I really want to show the customer Adobe LC can do this one :)

/Thomas Groenbaek, Jyske Bank

Onclick of send email button, the form should go to the user entered email address.

$
0
0

All,

 

I have created a form using Adobe Livecycle. When user enters email id (one of the fields in the form) of a person and then clicks on send email, the email should go to the user enetered one. Is this possible?

 

Regards,

Victor

Send to Printer operation and Printer Protocol

$
0
0

Hello all,

 

I designed a process where it is needed to send a PDF file to 2 different printers (not at the same time). So to simplify the process I defined a XML within the server ( C:\config.xml ) with the information necessary to send the job to the printer, and contains the information that the operation sendToPrinter needs:

 

- Printer Protocol

- Server URI

- Printer Name.

 

So instead of placing the values for this operation, I read the values from the XML file. The problem is, the sendToPrinter operation expects the Printer Protocol as a specific type: PrinterProtocol (obvious heheh). And my variable is String.

 

How can I convert this?

 

Thanks!

Problem to integrate Adobe LiveCycle Web Service to BizFlow

$
0
0

  I have problem in integrating BizFlow with Adobe LiveCycle Web Service. We use LiveCycle Output Service module, it has Web Service, EJB, Remoting and REST for external application to call. Then I try to create a Web Service Application in BizFlow to call that LiveCycle Web Service.

   The LiveCycle project is input an XML parameter from Web Service then fill in the LiveCycle form to generate PDF then send it to an email address.

 

   The problem is BizFlow can only accommodate with RPC Web Service and does not work with other web service, and in default LiveCycle only present Document style Web service to external. We have problem in integration.

  Anyone could give some information on how to integrate BizFlow and LiveCycle service? Like can LiveCycle present RPC protocol Web Service?

The help is highly appreciated

Daniel

 

Alignment of text boxes and output from dot matrix printer

$
0
0

I have pre-printed carbonless forms and I use a dot matrix printer for printing. About 2 years ago, I purchased LiveCycle ES2 and had a developer create a pdf form so I can type in the information and print on the dot matrix. It all worked well until the fall of 2013 when a printer driver messed up the alignment of the form. I downloaded the new driver and the issue was corrected for almost 6 months. However, recently what I type on the form is misaligned on the print out and the driver fix is not working this time. I don't understand what could have changed and I haven't made any changes on the fillable form. We did join our two computers to a small network around the time the issues started appearing. Does anyone have any suggestions about fixing alignment issues?

Viewing all 9631 articles
Browse latest View live


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