Expand my Community achievements bar.

Fill in a PDF Form from source code.

Avatar

Level 1

Hello:

I have a PDF form made with LiveCycle. This form read the data from a xml file. I'm trying to fill it programatically but i don't know how. I'd like to know if there is some way to do this action, from source code or with a command line.

Thanks a lot.

4 Replies

Avatar

Level 10

This is pretty easy.

What language do you use to fill the form data programatically? e.g Java/ .Net ??

Nith

Avatar

Level 1

I use C# (.Net) but there is no problem if I have to use a different languaje, I only need to solve this problem.

Thanks.

Avatar

Level 10

iText is an API which has the PDF edit capabilities.

Read this link : http://www.itextpdf.com/

If you have Adobe LiveCycle Forms ES/ES2 solution component, you need not go for iText; Instead, you can invoke the LC APIs through C#.net and merge the XML data into the PDF.

If you would go with option#2, let me know. I will share you my ideas.

Nith

Avatar

Level 1

Thanks a lot.

iText dosn't work. I was trying to solve my problem with this API last week and I couldn't do anything. iText isn't compatible with LC Forms, because iText only can read AcroForms.

Then I'd use the second option. Could you share your ideas with me?

Thanks again.