[ https://issues.apache.org/jira/browse/PDFBOX-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-206: -------------------------------------- Labels: FDF (was: ) > Setfield is not working in Acrobat 7.0 > -------------------------------------- > > Key: PDFBOX-206 > URL: https://issues.apache.org/jira/browse/PDFBOX-206 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 0.7.2 > Priority: Minor > Labels: FDF > > [imported from SourceForge] > http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1572315 > Originally submitted by nobody on 2006-10-06 11:30. > Hello, > I created a acrobat form in version 7.0 and used > setfield to bind the variables but I am unable to see > the values when I view online. I am using > PDFBox_7.0.2. > Here is code that I am using in peoplesoft: > ______________________________________ > &pdf_file = CreateJavaObject > ("org.pdfbox.pdmodel.PDDocument"); > &source_file = &pdf_file.load > ("Service_Terms_mstr.pdf"); > &jo = CreateJavaObject > ("org.pdfbox.examples.fdf.SetField"); > If &target_field = "company" Then > &field_value = &name; > End-If; > &jo.setField(&source_file, &target_field, > &field_value); > &source_file.save(&PATH | %UserId | ".pdf"); > ViewURL("http://" | &servername | "/" | &DBNAME | "/" > | %UserId | ".pdf", True); > _________________________________________________ > I am able to view the whole page except the form > fields that need to updated using setfield ,they are > blank. I read somewhere that using version 6.0 would > help. Please guide me. > Thanks a lot. -- This message was sent by Atlassian JIRA (v6.3.4#6332)