Acrobat 9 - Populate fields from a XLS

I am using Acrobat 9 and I want to createa fillable PDF that upon the user’s choice for the first field, autofills the 2nd and 3rd field basing on the content of an XLS file.
I have an list.xls file that gets updated regularly, and it looks like as follows:
Machine description
Serial no.
Last checked on
Sewer
1111111
2010/05/12
Groover
2222222
2008/04/25
I would like to create a fillable PDF where the user choose the machine from a drop down menu that shows the machines listed on the first column of list.xls, and upon the user's choice it populate automaticaly the fields "serial no." and "last check" with the data from the other two columns of list.xls.
I have never used JavaScript before,so please keep it simple.
Your help is very much appreciated,
Paola

If you want to fill the LiveCycle Designer form, then you need to render it with the datafile.
The datafile can be an XML file or a webservice or Database.
You cannot directly fill the PDF from a PHP script. What you can do is, have a LiveCycle Process created in Workbench and then invoke the Process from PHP application by passing the information. The Livecycle process will merge the data with the template and return the PDF to the client application.
There is an other feature in Acrobat PRO that you can import an XML file directly into a PDF but that is a manual effort. You can not link that to a PHP Script.
Thanks
Srini

Similar Messages

  • Populate fields from a php script

    Hi,
    I am trying to populate text fields from a PHP script right into Acrobat Reader.
    Lets not talk about database just yet, I just want to know how to take a variable in PHP right to the livecycle designer form.
    I have seen many things like submitform(), using http posts, etc but I cant get it to work.
    Thank you in advance.

    If you want to fill the LiveCycle Designer form, then you need to render it with the datafile.
    The datafile can be an XML file or a webservice or Database.
    You cannot directly fill the PDF from a PHP script. What you can do is, have a LiveCycle Process created in Workbench and then invoke the Process from PHP application by passing the information. The Livecycle process will merge the data with the template and return the PDF to the client application.
    There is an other feature in Acrobat PRO that you can import an XML file directly into a PDF but that is a manual effort. You can not link that to a PHP Script.
    Thanks
    Srini

  • I need HELP! I want to populate fields from a data connection...

    I am new to livecycle and am having problems making this work...
    I have an xml data table that is 5 columns wide and 1000 rows deep. (So too much data for list boxes)
    The data connection comes in looking like this:    - DataConnection
                                                                                   - (Ordered Group)
                                                                                        -Row
                                                                                              -(Ordered Group)
                                                                                                    Job
                                                                                                    Customer
                                                                                                    Part Number
                                                                                                    Rev
                                                                                                    Description
    When I pull Row into the form it makes a subform with the 5 fields as above.
    When I preview this it automatically pulls in the first record from the data source...I want to be able to fill in Job manually and have the other
    fields automatically pull in the appropriate information from the correct row in the data source. I have not been able to do this! Can anyone
    help me?
    Thank You,
    CLC

    Hello,
            I am sorry to say that, i felt hard in understanding the requirement. Can you please pass over the working copy to my email address [email protected], i try to get what you are looking for.
         Please find a sample that you can download from the link below, which demonstrates populating fields from a data connection. please take a look at it and i hope this will help you.
    https://acrobat.com/#d=5TstZ2VeptoSs6IAZ*81Yw
    thanks,
    Rajesh

  • How to Automatically Populate fields from Style no.--All data in XML- 2nd Request

    To start with i am a noob in Livecycle, and zero knowledge in coding...<br />I basically want to create 1 dropdown list (syle #) which shall automatically refer to xml and populate different fields (qtyperinner, buyer etc.)<br /><br />Here's my XML-<br /><br /><?xml version="1.0" encoding="utf-8" standalone="yes"?><br /><br /><document><br /><row><br />150833<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>6</QtyPerInner><br /><VolofMaster>0.039</VolofMaster><br /><Buyer>Fred Meyer</Buyer><br /></row><br /><row><br />87102<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>4</QtyPerInner><br /><VolofMaster>0.034</VolofMaster><br /><Buyer>Fred Meyer</Buyer><br /></row><br /><row><br />821011<br /><QtyPerMaster>50</QtyPerMaster><br /><QtyPerInner>50</QtyPerInner><br /><VolofMaster>0.053</VolofMaster><br /><Buyer>Insource</Buyer><br /></row><br /><row><br />110609<br /><QtyPerMaster>12</QtyPerMaster><br /><QtyPerInner>2</QtyPerInner><br /><VolofMaster>0.022</VolofMaster><br /><Buyer>Indigo</Buyer><br /></row><br /><row><br />110608<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>6</QtyPerInner><br /><VolofMaster>0.024</VolofMaster><br /><Buyer>Indigo</Buyer><br /></row><br /><br /><row><br />150785<br /><QtyPerMaster>12</QtyPerMaster><br /><QtyPerInner>2</QtyPerInner><br /><VolofMaster>0.055</VolofMaster><br /><Buyer>Pier 1</Buyer><br /></row><br /></document><br />_______________________________________________________<br /><br />Have already managed to create dropdown with style number...and it works!!<br />(and have connected the XML with form properties as well as data binding)<br />please advice how to link/bind style # field with the rest of the text boxes to generate data underneath that particular style number from the XML.<br />it could very well be possible that my XML is written wrong (without heirachy or something)...if so also advice how that needs to be with an example...kindly make sure to advice in great detail as i would'nt understand otherwise.<br /><br />Question 2:- Based on the "style #" selection i want an image to be populated from C: (it should search the whole drive to find filename/style number) Please advice.<br /><br />Lastly i have already looked at the Purchase Order sample PDF which came with LiveCycle..and it doesnt seem to be of much help.<br />Thanks in Advance-<br />AK Dolven

    Hi Judy,
    I think you need to programatically set the layout and copies options for your XML publisher concurrent program using FND_REQUEST.ADD_LAYOUT before calling FND_REQUEST.SUBMIT_REQUEST.
    Thanks
    Shailendra

  • Populate fields from ODBC

    Im trying to populate through odbc certain fields on the form, [ex. patient_id, firstname, last name, address, etc] which must change when primary/unique field [hence patient_id] is updated. Relationship is dictated by default from db and is picked up by msquery as well. However i cannot find a way to create relationship of all fields to each other and aspecially primary key. Please advise me of how such can be assembled. I need for the form only to grab database fields, and based on primary key fill out portion of the form. [no need to overwrite/write to db] Thanks, your help would be greatly appreciated!!!

    Hi,
    Try this link:
    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connectio n/
    Hope this will help!!
    Regards--
    Chalukya.

  • Populate Field from Concatenated Values Issues

    I am trying to set a value on a read only/calculated text field based on the exit event of another field, below is what I'm using,
    but nothing happens when I enter data and exit the field.
    Year0 is a hidden calculated field set to current year in a 4 digit format.
    Using JavaScript - any ideas where I'm going wrong?  Thank you!
    var  
    myVA = form1.#subform[0].#subform[1].#subform[2].Table1.Row1.tVANo.rawValue;
    var 
    myYR = form1.#pageSet[0].Page1.Year0.rawValue;
    var 
    myPrj = this.rawValue;myVA
    = Concat(myPrj, "-", myYR)

    Hi Cathy,
    Before we get to joing the two variables, I think that it is important to declare hte variables first.
    The JavaScript Console is very powerful tool for debugging. You can access when previewing your form in LC Designer or when you open your form in Acrobat.
    The console is not available in Reader.
    It will show up errors as you interact with your form. This will give you some direction to resolving the issue back in LC Designer.
    If you can't get Control+J to work, then you could use this line after the variable is declared:
    xfa.host.messageBox(myVA);
    If you have a look at page 3 of the SOM Expression form, you will see a shortcut to referencing objects (also in video, sorry about the audio).
    Using the Control+Click to reference objects will help, as LC Designer will resolve the node of the object if necessary. This would happen if there are unnamed objects/subforms, there are multiple objects with the same name; or if you have named an object using a reserved word.
    So, I would be inclined to get this sorted first and then concentrate on merging the two variables. For example, is Row1 set to repeat?
    Niall

  • Is there a way to automate an indesign catalogue so that it populates fields from excel?

    A client has seen a competitor present a catalogue and shows how from an excel or database file this indesign template can be populated with text and with images from a filename listed in the the excel.  Does anyone know how to do this or can you suggest a program that can do it - have a meeting in the morning and supposed to be all over this so any assistance much appreciated.

    Use Data Merge.
    See: http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6c3ca.h tml
    Also see:
    http://indesignsecrets.com/automating-data-handling.php
    http://indesignsecrets.com/data-merging-part-2.php
    http://indesignsecrets.com/data-merging-part-3.php

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • Start Routine to Populate Account Group Field from Master data of 0Customer

    Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
    during the load from source DSO to Target DSO.
    Error Explicit length specifications are necessary with types C, P, X, N und
    DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
        DATA: l_S_comp type comp.
        DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
    IF  L_th_COMP[] IS INITIAL.
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
    ENDIF.
    LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
    READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
    IF SY-SUBRC = 0.
    L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
    MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
    ENDIF.
    ENDLOOP.
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
    so  Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer.
    No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
    ***SOURCE DSO Table
    types: begin of typ_tgl1.
        include type /BIC/AZDAFIAR000.
        types: end of typ_tgl1.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
    DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
    INITIAL SIZE 0.
      data: wa_itab type COMP.
        data: wa_zdtg type typ_tgl1.
    IF  L_th_COMP[] IS INITIAL.
    ***Master Data Table
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
    FIELDS OF TABLE L_th_COMP.
    sort L_th_COMP by CUSTOMER.
    ENDIF.
    LOOP AT L_th_COMP into wa_itab.
    select * from /BIC/AZDAFIAR000 into wa_zdtg
                        where DEBITOR  eq wa_itab-CUSTOMER.  *** SOURCE DSO Table
    IF SY-SUBRC = 0.
    wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
    MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
    ENDIF.
      endselect.
        endloop.
    soniya kapoor

  • How to populate a field from database through personalization

    I need to populate value of a field from database on self service transaction web page. This field is not configured as EIT or SIT, nor available in seeded transaction.I need to know abt creating some item through personalization where i can write a query . This item will execute the query and display the returned value on the page or something on the similar line.
    Thanks in advance,
    Tanveer

    This workaround should be used as a one time approach till you move to 11.5.10 CU3.
    Here are the details,
    You just need to add the following tags inside the site or function level customization document, remember it should be either site or function only no other levels are supported for adding a new item.
    before adding the following tags you need to find out the following details,
    1. what is the last item in the advancedTable, column or columnGroup in the base metadata. Do not conside the columns inside the columnGroups for this, just the last item which might be a column or a columngroup. Get the if of that item.
    2. You should know what is the view instance and viewattribute you will be attaching
    3. Remember you can only add columns through personalization and not columnGroups.
    4. Replace the appropriate values for the properties amrked with {...} with your own values. You can change the other properties to reflect any specific requirement you want. Make sure you provide correct values.
    <insert after="{the id you got from step 1}">
    <oa:column id="{yourid}" adminCustomizable="true" bandingShade="none"
    cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true"
    rendered="true" scope="." totalValue="false" userCustomizable="false"
    xmlns:oa="http://xmlns.oracle.com/oa">
    <ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:sortableHeader id="{yourid}" adminCustomizable="true"
    cellNoWrapFormat="false" initSortSeq="none" prompt="{your prompt}"
    rendered="true" required="no" scope="." sortState="no"
    userCustomizable="false"/>
    </ui:columnHeader>
    <ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
    <oa:messageStyledText id="{yourid}" adminCustomizable="true"
    cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" queryable="false" rendered="true" required="no" scope="."
    selectiveSearchCriteria="false"
    serverUnvalidated="false" sortState="no" tipType="none" totalValue="false"
    userCustomizable="false" vAlign="middle" viewAttr="{your view attribute}" viewName="{your view instance name}"
    warnAboutChanges="true"/>
    </ui:contents>
    </oa:column>
    </insert>
    You can insert these tags at the end of any existing tags within the <modifications>
    </modifications> tag in the document.

  • Duplicating form fields from one PDF document to another

    Hi,
    Does anyone know of a way to select and duplicate all acrobat form fields from one PDF document into a new PDF document. I know I can do so one field at a time but would like to know if there is a way to do so in a wholesale fashion.
    Our PDF documents are created in-house each year and are nearly the same as the previous year's document containing 99% of the same form fields in the same locations. These forms contain a lot of form fields, anywhere from 50 to 100 fields.
    Rather than start from scratch each year defining the same fields that were present in the previous year's document, I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined) and hopefully maintain all the field attributes and positions from the previous years document.
    Thanks for any suggestions,
    Steve

    The PDF template we need to copy the form fields "to" doesn't start out having any form fields. It is the fields that we need copied from a previous year's PDF template.
    Here's an except from my original post: "I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined)"
    The "new" PDF template is a complete "paper" form with updated legal text and calendar year referrences but NO form fields. In our IS group, we then take these forms, add form fields to them and are then able to populate them with database-resident user data. We serve them up to the user in their browser pre-populated with their application data.
    So again, our need is to find a way to copy form fields from "last year's" PDF template and copy just the form fields to an fresh "new year's" PDF template that contains no form fields to begin with. What we begin with is just a PDF representation of a paper student loan application.
    Thanks for the suggestion!

  • HELP!  JOB ON THE LINE-  Need to import fields from one document to another document

    In a nutshell I have a set of documents and we now have a new structure for those documents. Either I have to cut and paste all the data from one to another or figure out how to import fields to another document.
    I have two documents. Both are different but require the same information. Basically I need to have one file with fields import specified fields from another document. Ex., Name on document 1, I need the file to know to get the Name field on document 2 and import it into the specified field on document 1. I will have multiple fields that need to do this importing. I REALLY NEED TO FIGURE THIS OUT B/C I HAVE A TON OF DOCUMENTS THAT NEED TO BE COMPLETED.

    If you are talking about the field structure, not the content that Bernd commented on, make a copy of the document with the fields. Open the file and use replace pages to replace the pages with the new document layout. After you have replaced the pages, you will have to select the field tools and move the fields to the proper location. If the form was made in Designer, I am not sure of the process. There is likely a similar process in Designer, but I don't use Designer and can't comment. You may have to go to the Designer forum in such a case, unless other Acrobat users here can help.

  • Is there a sensible way to import form fields from an old pdf into a new pdf?

    I'm working with Acrobat X Pro on a Windows PC platform.  I've been working with a file that was originally created in CorelDraw X3, in landscape orientation. That document was then saved as a pdf and set up with many form fields (it's an order form). The document needed to be updated with minor changes made in the Corel file. I resaved as a pdf and now want to transfer the existing form fields from the old document into the newly revised one. I've tried copy/paste, but have to do small sections at a time because the program doesn't let me bring in all of the fields at the same time. I then tried Document > Replace page, which I've seen described in other forum posts; but when I do that, the entire set of fields comes in rotated at 90 degrees counterclockwise. I did read that if the original document was created in a different orientation, that could affect how the fields paste in, but that is not the case here. The original file, and all successive pdf files all have been the same orientation. I'm boggled and think that there has to be an easier way than copying fields, a section at a time, and resizing them all over again.
    This older post is pretty similar to what I am trying to do, but it seems I'm getting a different end result. Any suggestions?
    Create fillable form with changing source document

    I am using Acrobat Pro 10. I have the same problem and finally after numerous different attempts of solving based on all the suggestions, I resolved my problem by Printing to PDF via the print dialog in Word. When I pasted the fields that were previously rotating onto the new "printed" PDf, the fields retained their orientation as desired.
    To clarify, I am using Word 2007, Acrobat Pro 10, the document is landscape, both the original (with fields) PDF and all attempted new PDF's were of the diemnsions 11 x 8.5. The only noticeable difference in the PDF properties for the PDF's were Tagged PDF and Fast Web View. The original PDF (with fields) was No in both cases and all attempts other than the Print to PDF were Yes, meaning that the Print to PDF was No. I am not sure if this made the Print to PDF work or not as I have already spent too much time trying to resolves this issue. Hope this helps.

  • Is there any way to prevent fields from being overwritten when importing data via xdp-file?

    In an pdf-form designed with LCD everytime the form gets merged with an xdp-datafile content of all fields get overwritten, regardless which data-binding (normal, global, none) is assigned to the fields and regardless if the fields are exluded in the xdp-datafile. Is this normal behavior and is there any way to prevent fields from being overwritten?

    The xdp-file is first exported from Acrobat Professional 8 (export data as *.xdp) to get the complete structure. Then in the xdp-file some fields are removed manually and other fields are filled with data. When the modified xdp-file is opened again with Acrobat Professional 8 it grabs the original pdf-form and merges the manually filled fields into the form. With the merge all other fields in the form are overwritten, even if they are not defined in the xdp-file. And that is what I want to avoid. I want to merge the xdp-file into the form and keep the data in fields not defined in the xdp-file.

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

Maybe you are looking for

  • Read and write binary from txt file

    Well i need to know how to convert strings to binary data ("Chapter One"--->100111000011) to compress them using Lempel Ziv compression algorithm, and print a new file with binary codes. I know that i have to use OutputStream and ImputStream classes,

  • On value request in select-options in a repot URGENT

    Hi all,    my requirement is to provide on value request in select-options in selection screen Gsdpr user one select-option is there For GSDPR User field, provide F4 help. Users list can be selected from ZWF_UPI table where WF_UPI_TYPE is ‘HR’. From

  • XI Installation Problem

    hi guys, I posted this question a week ago, I am resposting this again to ask some help. I am Installing XI on AIX 5.3 and Oracle 10g. Currently I am on phase 38 which is "Install Software units". A day passed by and still it hasn't moved to the next

  • Enter run time in hours / mins / secs on the front pannel

    I am trying to get a pop up VI to run alongside my main program. While the measurment parts of my software run I want a VI to pop up and display the run time in hours / mins / secs. Once the main VI ends its sequence, I want the timer VI to close dow

  • IWeb Blog Theme, how increase number of entries shown

    iWeb , Blog Theme, number of entries is 5 only, the rest spill over into archive. How do I change this?