Data connection, static PDF form, and presence
I've created a form with a dynamically populated dropdown of names. To get it populated, one step was to save it as a static PDF form. Then it worked perfectly. However, I soon found that my scripts to show hide elements no longer worked. Certain Action Builder actions still worked, but not show/hide. So I created a simple test form, and show/hide worked normally. I've tried both formcalc and javascript. So is it true that a form can be dynamic and all actions work or the form can be static and connect to a database, but a form cannot be both data-driven and change presence?
Thank you for this information, which may be true in theory, but my forms show that only the static form can show external data, and the static form can't change presence at runtime, although other actions (like reset all fields) will work. On the other hand, in a dynamic form, I can change presence, but data will not appear in the dynamic dropdown, which is grabbing names from SQL Server. Can you try an experiment yourself? Try a data connection and changing presence in the same form, and let me know what happens.
Similar Messages
-
or Is there another place to save data collected by PDF forms other than FormsCentral? e.g. another database on the web server that presents the form?
Hi,
Yes, you can export user responses into an excel file. To do that, open the responses tab, select Files -> Export Responses and select Microsoft Excel to export response data into.
Thanks,
Wenlan -
Need to pre-populate and Extract data from static PDF form
Hi Jasmin or Jayan or anyone else that can answer.
I have a requirement to use Digital Signatures. Because of that, the forms must be static PDFs and the form variables will be “document form”. I want to pre-populate the form via an SQL query and custom render process and render it as PDF so that the submitter can apply a digital signature when he/she is done and ready to submit for approvalSubsequent approvers will also digitally sign the form. I know that I will specify the custom render to render only once and thereby preserve the signature(s) on the form. I do, however, need to extract data from the form to control the business process. I cannot access the data in the form the same way I do with an xdp and I also cannot pre-populate the same way I do with an xdp.
Any suggestions on how to attack this?Parth, one problem with your approach is he will submit PDF and therefore you won't be able to put the PDF in a variable that's suppose to contain just xml.
The prepopulation should be the same. If you start off with an xdp, then you will call a render service that merges data with your xdp to create a PDF.
Now when you submit, you will submit the entire PDF back in the Document Form variable. In Workbench, you can use the FormDataIntegration service to extract data from that PDF that's being stored under Document Form var/object/document and put it in an xml variable. Then you can just use xPath to do your condition.
I'm assuming you'll just pass that same Document Form variable to the next step, because if you do any change to the PDF it'll brake the signature.
Let me know if I missed anything.
Jasmin -
How to create Data Connection in PDF forms??
Hi Experts,
I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
Thanks
Rohit G>
Rohit Gaharwar wrote:
> Hi Experts,
>
> I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
> Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
>
> Thanks
> Rohit G
Hi Rohit
are you working with interactive forms inside Web Dynpro? If so, Web Dynpro will create the data connection for you. The only thning you have to do is setting the "data sorurce" and "pdf source" in the properties tab of the interactive forms layout element. See for example here: Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#50 [original link is broken] or other tutotials on web Dynpro and interactive forms : Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
If you don't work with Web Dynpro, you can create a data connection as follows:
1. Open your *xdp-Template (Doubleclick: Lifecycle Designer is starting
2.Click on File-> New Data Connection.
3, Create the data Connection with the wizard, Your source can be
a) XML Schema
b) OLEDB Database
c) WSDL file
Hope this helps. Please reward points if helpful
Kind regards
Bettina
Edited by: Bettina Hepp on Jun 4, 2008 4:53 PM -
How to Pass XML Data to a PDF Form and Load it into form fields
I have xml Form data in a string. I would like open a programatically launch a pdf document and pass the xml data as one of the parameters and this xml data needs to load all the form fields.
Any Idea as to how this can be done?I have the same requirement as Daminu, but from the research I have been doing it seems your reply is only partially true.
If your PDF is an XFA PDF form, with Reader Extensions enabled, and you want to keep the Reader Extensions functionality for a user to use after your programmatic manipulation, then neither of these tools will work (FDFToolkit or iText).
Upon the user opening the file once it has been programmatically modified, the user will see the following:
From what I have read, this requirement can only be fullfilled by use of LiveCycle Reader Extensions Server? Please confirm? -
Is there a way to merge Static PDF files and PDF Forms
Hi All,
The issue I am facing is this: 1200+ PDF forms that employees
will need to sign. The docs are being created in MS Word, and all
have a standard signature block. We have prototyped using LiveCycle
Designer 8 to add fields to static PDF files (print Word files into
Acrobat, import into LiveCycle and paste in fields) but this is
pretty labor-intensive to use with a minimum of 1200 forms per
quarter.
The employee forms go into a CF8/Oracle library app (stored
as BLOBs) and served up for 7,000 or so employees to sign. Posted
data goes back into database.
Here is the issue:
Does anyone know any way to use some combination of cfpdf /
cfpdfform / cfdocument that will allow us to create ONE generic
signature block form, 1200 static PDF files, and merge them on the
fly?
<cfdocument> apparently does not allow PDF data to be
included with a <cfpdfform>, as I have tried outputting PDF
variables, toBinary(PDF variable), PDF served by <cfcontent>
and various other combinations.
(If the non-form data were HTML, we could easily output in a
<cfdocumentsection> of the cfdocument, and add the
<cfpdfform source="#genericForm#" action="populate"> and be
done with it. But, we can't.)
<cfpdf action="merge"> with a combination of a static
PDF file and a populated form results in a flattend PDF file with
no form data.
I am acutely aware that LiveCycle 8 uses the XFA schema, and
regular PDF documents use a different schema. And, this may
prohibit what we want to do.
If anyone has experience with CF8 PDFs and PDF forms, or has
any helpful thoughts, I would be appreciatively gross. Needless to
say, this is a six month project that must be live at the end
November.
Thanks!
Jim Bates
Verizon BusinessAs I mentioned on the other thread, the forms need to be
flattened. CFPDF cannot flatten LiveCycle forms, only Acrobat
Forms. The suggested solution was to use LiveCycle ES
http://www.adobeforums.com/webx/.3c052176 -
How to merge static pdf files and dynamic livecycle forms
Hello,
I was wondering if there was a way to merge static pdf pages with a dynamic livecycle form to create one file.
Thanks,
-vargsHi, Steve.
I have a similar situation. I would like to combine static PDF documents with some forms created using LiveCycle Designer. I read your previous post and I am aware that I can combine them using Acrobat Pro.
My question concerns accessibility.
If I combine a static PDF document and a dynamic form created with LiveCycle, would the resulting PDF still be accessible enough for JAWS to read it properly?
Any help appreciated.
Wayne -
I've created a simple PDF form and an interface for it. I've binded the context to a few text fields and everything seems to work as intended. The problem I'm having at the moment is that I would be requiring the short description of the data value, not the exact data value (e.g. datatype SHKZG value 'S' short description "Debit"). I would not like to hard code this with formcalc or javascript. Is there an easy way to do this?
>
Rohit Gaharwar wrote:
> Hi Experts,
>
> I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
> Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
>
> Thanks
> Rohit G
Hi Rohit
are you working with interactive forms inside Web Dynpro? If so, Web Dynpro will create the data connection for you. The only thning you have to do is setting the "data sorurce" and "pdf source" in the properties tab of the interactive forms layout element. See for example here: Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#50 [original link is broken] or other tutotials on web Dynpro and interactive forms : Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
If you don't work with Web Dynpro, you can create a data connection as follows:
1. Open your *xdp-Template (Doubleclick: Lifecycle Designer is starting
2.Click on File-> New Data Connection.
3, Create the data Connection with the wizard, Your source can be
a) XML Schema
b) OLEDB Database
c) WSDL file
Hope this helps. Please reward points if helpful
Kind regards
Bettina
Edited by: Bettina Hepp on Jun 4, 2008 4:53 PM -
Extracting data from a pdf form
Hi,
livecycle es2, workbench 9.0
I'm new to workbench and have a problem extracting data from a pdf form submitted to a short lived process.
I have set up the following very simple process :
default startpoint > ProcessForm > exportData > set value > set value > Write Document
The intention is to update the document and write it to disk. So far, each step works except for the 'export data' where I cannot get the pdf to extract to xml.
The Input to the 'export data' step is a variable (myDoc), Data Type: Document, created from the incoming PDF form.
If I write out myDoc it is an exact copy of the incoming document, so I guess the start and finish steps of of the process are OK.
The incoming (PDF) form I was given had no data schema, but I thought I could access the form data by exporting to an xml variable....
Service : FormDataIntegration / exportData
input (PDF Document) variable : myDoc
output(Data extracted) variable : myXMLData
Then in the next step (set value) access the xml element I am after ..
Mappings
Location: /process_data/@groupId Expression: /process_data/myXMLData/xdp/datasets/data/form1/mainPage/groupId
This is did not work, so I got the incoming form, exported the form data to an xml file, and created a schema using Stylus Studio. I then imported that into the myXMLdata definition. ( BTW - Do I need to specify the root node after importing it ? )
Still not working !
Extra info : The XML view of my incoming form shows I have a minimal dataset definition- is this OK ??
<connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.8/">
<?originalXFAVersion http://www.xfa.org/schema/xfa-connection-set/2.4/?></connectionSet>
<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<xfa:data xfa:dataNode="dataGroup"/>
</xfa:datasets>
The schema created by stylus studio has none of the xfdf, xfa settings I have seen on other schemas - is this OK ?
Any help to get this fixed greatly appreciated
thanks
stevehey thanks for the offer, but I am now sorted after I found a simple working example on line.
This is a similar process to the one I am working on, and is clearly described and easy to follow...
http://eslifeline.wordpress.com/2009/04/25/extracting-data-from-signed-pdf-using-livecycle -server/
girish bedekar - I thank you ! -
In Responses, Can I export the data in a pdf form excluding null data?
In Responses, Can I export the data in a pdf form excluding null data?
Let me make sure I understand the request... There is a feature in the Response table to "Save Response as PDF Form" and you'd like to do this excluding the null data (unanswered questions). If that is correct it is not supported, the "Save Response as PDF form" will save a PDF that is the entire form filled out as the user filled it.
Thanks,
Josh -
How do I complete online .pdf form and then print?
Sometimes, I can enter data on an online .pdf form and sometimes, I cannot. I need to complete forms and then print them rather than print a blank form to complete by handwriting. Window XP and Vista on my computers. I have installed some Adobe and Acrobat programs but do not know which ones would help me with my problem. thank you
Adobe is the company. I assume you are talking about Reader and Acrobat. It would be nice to know which ones, but the answer is likely the same. With Reader, you can only complete the form electronically in Reader if the creator added from fields for your to fill in. If not you have one option and that is to print. You could still play with filling it out electronically, but you would have to print the form, put it back in the printer, and use your word processor to place the information on the form. This is a bit time consuming and requires some measuring and possibly some trial and error, but it does work - I used to fill forms out like this all the time, but generally forms I filled out once a month and so it was worth the time.
With Acrobat, you can use the Typewriter tool, Use the Text Touchup Tool (not real convenient) with the ctrl key used when you place the cursor, or create your own fields. Depending on your version of Acrobat, you may not be able to create form fields (like AA7 Std and before I think, Pro includes the form tools). With forms, you may also have the choice of the form files under TOOLS>Advanced Editing (typically called AcroForms) or the FORM menu that typically takes you to Designer.
Those are your choices, though there are variations with version (next time try to tell us the program version you are using and if it is Reader or Acrobat - for Reader you may want to go to the Reader forum). -
How do I input data to a pdf form in Acrobat 8.1.6?
There's probably a simple solution for this but I'm wracking my brain trying to figure out how to input data to a pdf form using Acrobat 8.1.6, or how I can make the pdf file data field input ready? Thanks.
If you created the form Go back to Acroabt and go to advanced menu and choose:
Extend Features in Reader. then save.
Now open Reader and you can add information and save. (limit 500 instances per pdf).
Now if you created the form and have Acrobat make sure Acrobat in not in Forms Edit Mode.
Just type in your information and save.
Caution make sure that you finished all corrections and edits. because once you confer reader right you can not edit the form. you can edit the form items you fill in, but not the form itself.
to correct the form design you have to go back to advanced reader rights and save a copy without rights. make changes then confer rights again. -
I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike
If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.
-
Updating a PDF form and keeping it accessible... is there an easier way?
So I have some InDesign files that were converted to PDF files then brought into Acrobat X where they were turned into accessible forms.
Now edits need to be made to the content. I've been trying to figure out what the best approach with the least amount of steps to update these accessible PDF forms.
So I export the PDF from InDesign, then..
Option 1:
Open the newly created PDF and the old version of the accessible form and Copy+paste form fields from old file to new file.
The good: Tags, Structure, hyperlinks and reading order transfers over from Indesign.
The bad: Time consuming. Tabbing order for the fields usually needs a lot of manual adjustment. Manually have to add language, title, subject, keywords
Option 2:
Open old PDF form and replace the page with the new PDF file.
The good: Fast! Form tabbing order set. Language, title, subject, keywords all good set.
The bad: Tags, Structure, hyperlinks and reading order are gone! Manually touchup reading order, add form fields to tags (which sometimes deletes fields and crashes)
Option 3:
Open old PDF and use edit document text to fix little issues.
The good: It works for small issues.
The bad: Not an option for anything besides a typo. Can't change layout. Have to do the edit again in Indesign, or have out-of-date files.
Anyone have a better way of doing it?
BTW I'm using InDesign CS5.5 and Acrobat X on MacYou can print it from you My Verizon online account under Documents and Receipts. This option will appear on the left after logging in.
-
Using importdata to import xml data into dynamic PDF form
Hi again,
Me and my colleagues have a problem using the importData service to import some xml data into an empty PDF form (represented as an XFA input variable).
In the server log I get the error that Only XDP data is supported for XFA forms, however I only have the xml data and not the entire xdp available.
Is this really not possible to to (like importing xml data to a form is possible in the Designer when creating forms).
I hope the scenario is understandable
Sincerely
Kim Christensen
Dafolo A/S
Denmark
PS: During the various projects I am working on I keep running into problems...however I am totally new to LiveCycle so I consider this very informative learning steps and appreciate all your help :-)Hi again,<br /><br />I have been experimenting a little with both the renderPDFForm and importData services. However I don't seem to be ble to make them work as I need them to.<br /><br />My scenario is simple, I have one (call it a template xdp/PDF form) and lots of data in xml files (around 1000), that I need to import into the template. Therefore I have set up a "Watched Folder" to take the xml as a document (I guess this is a requirement) and then I need either the renderPDF or importData services to import the xml data into the template.<br /><br />I would like to know how I should setup the services to make this work.<br /><br />When I try to use importdata I setup the following:<br /><br />PDF document: set to be the template i need to import the xml to)<br /><br />Input data: the document variable (an xml file) that is passed to the Watched Folder<br /><br />Data merged PDF: set to an out xfaform<br /><br />When I do this I get an Coercion error in the server log:<br /><br />2007-11-15 13:27:05,324 ERROR [com.adobe.workflow.AWS] stalling action-instance: 1506 with message: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.<br /> at com.adobe.idp.dsc.util.CoercionUtil.toDOMDocument(CoercionUtil.java:656)<br /> at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:878)<br /> at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:803)<br /> at com.adobe.workflow.datatype.runtime.support.AbstractDataTypeRuntimeHandler.coerceFrom(Abs tractDataTypeRuntimeHandler.java:64)<br /> at com.adobe.workflow.datatype.runtime.support.AbstractComplexDataTypeRuntimeHandler.getNode (AbstractComplexDataTypeRuntimeHandler.java:47)<br /> at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:93)<br /> at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:729)<br /> at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:335)<br /> at com.adobe.idp.workflow.dsc.service.SetValueService.execute(SetValueService.java:46)<br />...<br />Caused by: ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="passive" senderVersion="3" persistent="false" senderPersistent="true" passivated="true" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/172.16.10.125" callbackId="0" senderCallbackId="7" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="8039" contentType="application/xml" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?><br /><form1><br /> <sub_BlanketTop /><br /> <sub_SubjectTop><br /> <f...</inline><senderPullServantJndiName>adobe/idp/DocumentPullServant/adobejb_server1</s enderPullServantJndiName><attributes file="c:\NCRConvert\ProcessForm\stage\Wx450d4b32843a0b0bcb8ef99e\NCR-00564_dXAE3soH.xml"/ ></document> of type: com.adobe.idp.Document to type: interface org.w3c.dom.Document<br /> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)<br /> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)<br /><br />However it is possible to manually import the xml data in Acrobat Professional without any problems.<br /><br />When I use the renderPDFForm with the following settings:<br /><br />Form to render: literal value that points to the template<br /><br />Form data: document variable from watched folder (xml)<br /><br />Content Root URI: repository://<br /><br />With these settings I also get a coercion error, however it does not seem to be exactly the same.<br /><br />Sincerely<br />Kim
Maybe you are looking for
-
Softphone Registration Error - Jabber 9.2.5 with CUCM/CUPS 8.6
All, I'm having trouble getting my softphone feature inside Jabber 9.2.5 to work with my CUCM/CUPS 8.6 deployment. I have the CCMIP profile setup and user associations in place. The show connection status indicates a status of Not Connected with an
-
I am trying to update my apps and I need to change it to my new email how do I do that?
-
Script Error when using IE on my iMac
Thanks to all the people that helped me with my previous problems. I have another problem though. When I'm using IE on my iMac, on about 80% of the pages I go to, it'll say "A script error occured. Some scripts on the affected page may not work corre
-
I need to email sales orders as PDF files. Is there a fairly easy way to do this? I have the "SAP" email function working, Just need to send the form as PDF instead of JPG. Thanx, Tim Pope
-
How can I include "sort name" column when burning a playlist to disc?
I noticed the "sort name" info is missing in the burnt disc. How can I preserve the info? I spent some times in correcting some sorting order in my library and I want that info to be in my backup too.