LiveCycle Designer 8-scripting search Access DB records

Hi
I am new to LiveCycle Designer 8 having it included with Acrobat Pro 8. I have been trying to set up a basic form that can interact with an Access 2007 DB. Following the help guide, online tutorials, I have been able to set up the data connection, figure out how to establish a "trusted environment" and added several buttons as a test. Using JS, the next, previous, update, first and last buttons work, populating the form fields with the sample DB data and updating the DB (update). Can't get the add new record button to work even though the JS scripting is precisely that shown in the same tutorials for the other buttons. If I delete the text in the on screen cells in the .pdf form, enter new text, click add, all that I added disappears. Checking the DB, nothing has been added. Same difficulty with deleting a record, and the current opened record does not delete.
Reading a posting suggesting setting up an SQL query instead, leaving of any auto-incrementing item (like ID), and using the JS scripting for the button (don't yet know how to use SQL for next, previous, update, etc.), still couldn't get the add new or delete to work. Tried every combo of no user name, no password to user name, password blank, etc. No success.
The other needed capability for the test form is the ability to search the DB records, for example by name or ID, for example by the user entering a name or ID in a text input box, clicking a "search" button and the record (if it exists) displaying in the other cells. Then, once found, it could be updated or deleted. One tutorial aims to populate a drop down list box with the data from a specific DB column. It doesn't use JS, rather FormCalc (which kept generating error messages, when I tested it out))and is far too complex for my limited novice skills. If I could display a drop down list box with all of the names and ID's in a DB, the user could choose one and once the record would populate the cells, they could update or delete it.
So, I'm stuck. Can't get the add new or delete to work and can't figure out how to set up a search to identify records for update or delete. I've read and read anything I can find online, in the Adobe knowledge base, forum, blog postings, trying out many ideas without any success.
I am hoping someone can help with some suggestions, sample scripts, hopefully understandable by a beginner.
Any help would be appreciated.
Kind Regards,
Stephen
[email protected]

Here are some good blog entries
http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
I also did a tech talk for the Acrobat Users Group where we talked about Database connectivity. Here is a link to that webinar for the replay
http://adobechats.adobe.acrobat.com/p69655795/
Paul

Similar Messages

  • Livecycle Designer 8.2 and Access 2007

    work in engineering... we have a change process that we have to go through to make a change on our product. I have a form - ECR that I can send to an engineer to start the process. I fill in the ECR #, the product name and the date (there are lots of other fields but I want to keep this simple). They fill in the reason they need the change and what it is.
    I have an MS Access Dabase that I have written to store the information.
    I have been able to sucessfully get the form to populate with "my input" from the database (ECR #, name, date). I can distribute it to the engineer and they can fill in "their input" (reason and change) and they can submit it back to me.
    Here is where my questions begin.
    How can I, once I receive back the form, get the reason and change information into the Access Database? Is there even a way to do this directly? I will be the only one to have access to the database. I just need to know if there is a way for the form and the database to "communicate" so the form places the "reason/change" information back into the correct record in the table.
    Ideally I would like to click on a button that I placed on the form and have some sort of statement that tells the form to "connect" to the database where the form ECR # = the database ECR # but so far the only thing that happens is that it opens the connection and the text in my form "reason/change" field goes away. (I assume because the database "reason/change" field is empty in the database and the form is updating to the database instead of the database updating to the form).
    I have searched for a solid week on this topic and cannot find the answer. I have gone through all of the tutorials that I can find regarding database and pdf but I can only find references and examples for drop down boxes, not fields. Can anybody point me in the right direction, or at the very least tell me it cannot be done so I can go find another way to accomplish what I need to get done.
    Thank you in advance for any information.
    Jenn D.

    The issue is that you have set up the connect to the db to be connected as soon as the form is loaded. You will want to delay the connection to the db until you are ready. There is a delayed open checkbox on the last page of the connection wizard. Set this on. To update the db you will have to write a sql statement to execute. Once the sql statement has been executed you will need to do an update command to commit the data. If you post your email address I can send you a sample that shows the different commands and how to enter the sql statement into the connection set.

  • Required Fields Not Working in LiveCycle Designer 7.0

    Hi, I'm new to LiveCycle Designer and scripting. I have created a 12 page form with "User Entered - Required" fields on the first 11 pages. My problem is that once information is entered in the required fields on page 1, the form is allowing the user to submit without completing the remaining required fields. I am using the "Email Submit" button at the end of my form. Any help would be appreciated.

    Hi Sudhir,
    May be script is not generating.  Can you find the follwoing piece of code in your Submit button click event:
         ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    Do one thing :
    open your form from Tcode: SFP in change mode.  And on top there is an option called Utilities.
    Under that select "Insert Webdynpro Script".  Activate your form.
    Regards,
    Ravi.D

  • How can I use a script in a Livecycle Designer form, to force display of text in Title Case?

    Hello,
    I am a 'novice' who is DIY'ing the construction of a dynamic pdf form, using Adobe Livecycle Designer 7 (I know, it's a VERY old version!)
    [So, any help that comes along must be 'for Idiots'!]
    I need to construct a code (Java script?) so that a few of my text-fields DISPLAY data in Title Case - IRRESPECTIVE of how the user types in the data.
    So, for example, in a "Address" text-field...
    If someone types in ..
    "205 sherborne avenue"
    - OR -
    "205 Sherborne avenue"
    - OR -
    "205 SHERBORNE AVENUE"...
    I need the data to be DISPLAYED ESSENTIALLY as...
    "205 Sherborne Avenue".
    I found the following code online, and tried it in the 'exit' event of the field I need to modify (with 'language' selected as JavaScript)...
    <   this.rawValue = this.rawValue.replace(/\b([a-z])/g, function (_, initial) {return initial.toUpperCase();});   >
    ... This did convert all the 'initial' letters of the words to Upper Case - AS LONG AS they were not ALL typed in Upper Case!
    So, that code worked for the first two of my samples for Sherborne Avenue above - but it did NOT work for the last one...
    That is, "205 SHERBORNE AVENUE" did NOT get converted to Title Case - which is what I need help with.
    Thanks in advance...

    Hey TundraSteve,
    Thanks a tonne!
    Works perfectly!!!
    In fact, your solution is so elegant and direct, that even I am beginning to get a sense of how it works... I have looked at LOTS of similar codes in the past few days, but was not at all getting a sense of how they are working! But comparing your solution with the earlier one I mentioned, I am beginning to get a sense of things!
    Any suggestions for what I should read-up in order to understand this king of coding?
    I have basically been using the built-in 'Help' - and, trial-and-error - and I have designed my first form - a pretty elaborate one, actually!
    So, it would be great if you could guide me through the 'learning curve' a bit!
    [I have figured-out the 'basics' - that is, I can lay out the form, use 'if-expressions' (FormCalc), trigger events, even build Subforms that are hidden but 'appear' when triggered by other actions, and so on. What I can't figure out are the various 'code languages' (syntax?) that are being used - like " var sometext", for eg.!]
    Cheers, and thanks again!

  • How do I access LiveCycle Designer from my Adobe Acrobat X Pro?

         I am unable to access LifeCycle ES2 from my Adobe Acrobat X pro, even though I am supposed to have it as part of the software.  I have tried Forms/Edit forms, and I have looked for it through all the menus.  Several of the helps I have found for other things has me launch LifeCycle and operate from screens that LifeCycle designer provides. 
        I am using Windows XP professional.
        I would appreciate all the help I can get on this. 
    Thanks
    Mogadeet43512

    This worked!   I had to go into the system and launch it from the Designer
    9.0 folder, but thanks to your instructions I now have use of it.
    Thank You!
    Joe
    TundraSteve <[email protected]>
    09/28/2012 10:00 AM
    Please respond to
    [email protected]
    To
    Mogadeet43512 <[email protected]>
    cc
    Subject
    How do I access LiveCycle Designer from my Adobe
    Acrobat X Pro?
    Re: How do I access LiveCycle Designer from my Adobe Acrobat X Pro?
    created by TundraSteve in LiveCycle Designer - View the full discussion
    There is a terminology issue here.  From Acrobat Pro X you launch Designer
    not LiveCycle ES2.  LiveCycle is a server product.
    When you install Acrobat you have the option to install or not install
    Designer.  Look in the folder C:\Program Files (x86)\Adobe\Acrobat 10.0
    and check to see if there is a Designer 9.0 folder.  When in Acrobat you
    should be able to create a new form and it will prompt if you want to use
    Designer.  If all else fails you can always go into the Designer 9.0
    folder and launch FormDesigner.exe
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in
    the forum to embed the image at
    http://forums.adobe.com/message/4734785#4734785
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/4734785#4734785]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/4734785#4734785]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in LiveCycle Designer by email or at Adobe
    Community
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • How to activate script debugging in Adobe Livecycle designer

    Friends,
    I would like to know how to activate script debugging in the Adobe Livecycle designer. I need to debug the scripts written in the script editor.
    Thanks and Regards.

    Syntax checking is available in designer from version 8.1 onwards.
    If you want to enable in Adobe Reader then go to Edit --> Preferences --> JavaScript --> Enable the option Show console on Errors on messages.
    Apart from it the alternative way to debug the scripts is to use xfa.host.messageBox and check the values.
    Chintan

  • Uninstall LiveCycle Designer 9 via script

    Hello,
    I am having issues with LiveCycle Designer 9 that got installed inadvertently with a mass roll out of Acrobat 10.1.8 via SCCM.
    I am in a very large environment (80,000 + systems per network covering 3 networks) and during our deployment of 10.1.8, LiveCycle got installed.  Well now we are faced with the large challenge of uninstalling it.
    What I need is for someone to help me with a .bat file that we can use with SCCM to uninstall LiveCycle Designer 9.
    I may be blind, but I have not been able to find anyone on the web that has done this and can’t find it in the Adobe forums. 
    Any ideas or has anyone successfully done an automated uninstall of LiveCycle Designer 9?
    Thank you.

    I'd contact Adobe support.

  • LiveCycle Designer 8.0 Drop-down menu help - newbie

    I am new with LiveCycle and do not know much about coding and the like. I've search the forums and have not found quite what I need. (It might be because I don't know the correct terms to search - so I apologize in advance if there was a previous posting regarding this)
    I am creating a form for lab tests for referring physicians to fill out.
    for simplicity, I will just use the state, city example.
    >>>>>> QUESTION 1.
    I have dragged/dropped a drop-down menu icon onto the form, gone through the Palette>Object>Field>List Items to compile the list of states (in my real case, a list of lab tests)
    How can I get the second drop down menu to show the corresponding cities based on the "state" selected in the first drop down menu? So that when I choose "California" I have the option in the second drop-down menu to choose from "Los Angeles," "Orange County," "Long Beach," etc
    VERSUS
    if I select "Texas" the list will retrieve "Houston," "Sugarland," "Dallas," etc.
    I read about hardcoding and although I'm not quite sure what that means, I think that is what I will be doing as I will not be referencing outside of my form.
    Also, the items in these menus are long/descriptive in nature, is there a way to refer to the lists in the code without having to type everything out? In my form (instead of "state") I will have lab tests "Test_1" with CPT codes attached, that is the list includes items like:
    93880 - carotid duplex scan, bilateral
    93882 - carotid duplex scan, unilateral
    and in drop-down list 2 I have items like:
    454.0 - varicose vein with ulcer
    454.1 - varicose veins with inflammation
    it would be such a pain to type each out in the code, but if there are no other ways around it, that is fine too.
    >>>>>>> QUESTION 2.
    The referring physician will have the option to email this form to the vascular lab scheduler. To prevent an "accidental" changes, I would like the form to be a "live form" for people to fill out, but upon return, the form to be a static PDF file, that is, the person receiving the email does not have the option to make any changes (purposeful or accidental), is there a way to do this?
    THANK YOU SO MUCH IN ADVANCE!
    again, I apologize for asking for help for what I'm sure is an easy fix. I don't know very much about the coding language, if it is not too much to ask - step-by-step would be helpful.
    I'm using Adobe LiveCycle Designer 8.0.
    Thank you.
    -Viv

    Hi Geo,
    Thank you for the link.
    Sorry, this is very difficult for me to explain not knowing the scripting language, but I will try my best not to confuse you too much.
    I was able to get Thom's example to work, and based on that, I was able to get this hypothetical situation to work:
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    12345678912345678: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    HOWEVER, I cannot get something like this one to work (the only difference is that I added a "9" to the first option) it seems as though I cannot insert anything beyond 17 consecutive characters (no dashes and underscores are allowed either):
    < script contentType="application/x-javascript" name="Example2" >var oTestOrdered = {
    123456789123456789: [ ["-"], ["AAA (Endologix)"], ["AAA (GORE)"], ["Aortic Arch"],["other"]],
    56565: [ ["-"], ["Varicose Vein"], ["Venous Insufficiency"], ["Spider Veins"],["Symptomatic Var Veins"]],
    46546: [ ["-"], ["TA biopsy"], ["CEA"], ["amputation"], ["debridement"]]
    function SetTestEntries()
    ICD9_2.clearItems();
    ICD9_2.rawValue = null;
    var aTests = oTestOrdered[xfa.event.change];
    if(aTests && aTests.length)
    for(var i=0;i<aTests.length;i++)
    ICD9_2.addItem(aTests[i][0].toString());
    </ script >
    The form I am creating is a Vascular Lab request form, where the test ordered (drop down box 1)has a CPT code to reference the test being ordered (i.e., 93880 - Carotid Duplex Scan, bilateral) and the test has a set of diagnoses (ICD-9 codes) in drop down box 2, associated with that test (i.e., 459.81 - Venous Insufficiency)
    I have found that I do not have a problem with the "diagnoses" but I cannot add the descriptive test select in the first place. That is, the code works fine if I leave it as "93880" but not "93880 - description." I have also run into the problem that I cannot use dashes or underscores, nor can I type more than 17 characters otherwise the code no longer works.
    Is there something I need to add or remove in order to make this work?
    Thank you in advance for your help and patience!

  • Form created with Livecycle Designer with a SQL database - do you need LiveCycle Forms installed?

    Hello,
    I'm REALLY hoping someone here can help me, I have spent over four hours on the phone to Adobe in the last 3 days and I'm getting no where what-so-ever. I can't even find out where /how to complain about it! (but thats another story)
    Here's my situtation:
    I work for a company with approx 140 staff. On one computer, we have Adobe Livecycle Designer ES installed, and we have used that program to create a form which has a link to a SQL database.
    The link in this form doesn't work on the other computers which has the basic (free) Adobe Reader. From doing research within these forums
     , I have found that the form will not work on other computers unless they have Adobe Livecycle forms installed on their machines. 
    What I need to know (and what they cannot seem to tell me when I call), is two things:
    Is it correct that in order to use a form created in Livecycle Designer which has a link to a SQL database, that the machine must have LiveCycle forms installed?
    How much does Adobe LiveCycle Forms costs?
    PLEASE, if you can answer this question, I would REALLY appriciate it....
    Thank you!

    I presume you are asking if you need Livecycle Forms ES? Forms ES is a component of the livecycle software suite intended as a document service which will be installed on a server within the organisation. A couple of things this document service can do is to render XDP into multiple formats (PDF, html, etc.), execute script server side (for example the database connection) on behalf of the client (reader, etc.), integrate with backend components, etc. So no you do not install this on each client.
    For database connections to work, you either have a server with Forms ES installed which can connect on each clients behalf (ie. Client->Forms ES Server->Database), or you have a reader-extended PDF to allow connections to be use in the free basic Reader (i.e. direct calls to the database or using web service calls to your own database components). However, reader-extended pdf would probably require Reader Extensions ES component installed on a server (you once off extend your developed pdf through this and then hand it out to each of the end users). Not sure if the Acrobat Reader extensions will cover this functionality since I have not tried that. I dont think it does. Otherwise you would need full acrobat on each client.
    How much database integration is your form actually doing at the moment? read only? Full access? And how many clients do you expect to hit your database? Depending on what you need the form to do, there is always the option to try and build the integration yourself. Do simple http submits from the browser (hosting reader as a plugin) to some component somewhere which in turn hits your database. Wouldnt require additional licensing but alot more development work.
    As for cost for the various components, thats a question only Adobe can answer for you since they all sit squarely in the enterprise space and licensing for that is not as simple as off the shelf products.
    Maybe someone else has a view on it or has an alternative.

  • Can I change Type Action "URI" to Type Action "Launch" in LiveCycle Designer ES 8.2?

    I am trying get a link in my pdf form to launch Windows Explorer to a folder or just launch the excel file in MS Excel. I used LiveCycle Designer ES 8.2 to create the form. My problem is most of my users have Chrome as their default browser. When they click on the link on the form it opens in the Chrome browser. If IE is their default browser it opens Windows Explorer so they can open and edit the file. But like I said, most of my users are using Chrome. In my search for a fix, I saw a discussion (see below) where they are trying to launch a pdf file with "Launch" vs. "URI".
    So I was wondering, can I change Type Action "URI" to Type Action "Launch" using LiveCycle Designer ES 8.2?
    ***Discussion link***
    MS Word 2007+ - can it encode hyperlinks using the PDF Action Type "Launch" instead of "URI" when publising a ".docx" fi…

    I have a link in the LiveCycle form that can be clicked by the user to open Windows Explorer and modify the file. The xml for the link is below:
            </draw>
             <draw name="Text" x="35.394mm" y="104.458mm" w="167.593mm" h="4.171mm">
                <ui>
                   <textEdit/>
                </ui>
                <value>
                   <exData contentType="text/html">
                      <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p style="tab-interval:0.5in;tab-stops:right 0.5in right 0.667in;font-family:'Times New Roman';text-decoration:none;letter-spacing:0in">Add new project to the Courseware Revision Status spreadsheet<span style="xfa-spacerun:yes"> </span><a href="file://///52TYMX-AS-TM040/FPMI_Common/Project Time Tracking/CW Revision Status"><span style="font-size:10pt">S:\Project Time Tracking\CW Revision Status\</span></a><span style="xfa-spacerun:yes"> </span></p></body>
                   </exData>
                </value>
                <para vAlign="bottom"/>
                <traversal>
                   <traverse ref="CheckBox1[20]"/>
                </traversal>
             </draw>
    I do not have access to notepad++ (hex editor) and as such am trying to make hex changes with Adobe LiveCycle if possible.
    Thanks for your response.

  • Adobe LiveCycle Designer 7

    I am currently learning how to use Adobe LiveCycle Designer 7.0. My employer gave me the file to install a trial version along with pdf files with tutorials explaining how to use it. I am having trouble with the tutorials that involving scripting. Though I copy the script code directly from the pdf and follow the instructions. I have a hard time getting it to work correctly.
    The one that I have had the most problem with is the tutorial entitled "Providing Interactive database lookup from forms."   It can found at this address: http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf#search=%22%22providing%20interactive%20database%20lookup%22%22 I followed the instructions to create a new data connection from the mdb file provided. There was a script to populate a drop down box that I was able to get to work after changing the syntax a bit. However the script that is on the button to execute the query I couldn't ever get to work.
    Here are the instructions copied directly from the pdf.
    13. Select the Refresh object. In the Script Editor, choose the following:
    • Show: click
    • Language: FormCalc
    • Run At: Client
    14. In the Script editing area, type the following code:
    if (Len(Ltrim(Rtrim(SelectField.rawValue))) > 0) then
    $sourceSet.DataConnection.#command.query.commandType = “text”
    $sourceSet.DataConnection.#command.query.select.nodes.item(0).value = Concat(“Select * from OfficeSupplies Where ID = “, Ltrim(Rtrim(SelectField.rawValue)) ,””)
    //Reopen the Dataconnection
    $sourceSet.DataConnection.open()
    endif
    Whenever I click the button I received the following error:
    http://img169.imageshack.us/img169/7250/errorbr6.png
    Any suggestions on what I might be doing wrong?  Also does anyone know of where I can get good information about how to script these forms to integrate with SAP?  Thank you for your help.

    Hi Jason,
    as you are using the Adobe stand-alone Designer and tutorials, you should direct your questions directly to Adobe (probably on their website) as the samples shipped with the stand-alone product do not necessarily work in the SAP environment.
    For SAP integration, you need to install SAP NetWeaver AS(demo versions, for example, here in SDN on the download site) and use the versions of the Adobe components delivered by SAP. SAP also provides tutorials for the Interactive Forms integration in Web Dynpro.
    Start looking at this topic on the SDN homepage at http://sdn.sap.com/irj/sdn/interactiveforms where you will also find many links.
    You can connect to SAP using the Adobe stand-alone products, too, but given Adobe's development partnership with SAP, this approach doesn't make much sense - and it is, as I stated above, a question for Adobe, not SAP.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • [LiveCycle Designer] Send Field Value with FDF Response

    Hiya. I'm trying to send two FDF responses, a status message and a field/pair value, from a PHP script that has processed a HTTP POST. The status message is sent to the form successfully, but the field value is not sent to a form created in LiveCycle Designer (ES4 Version 11). Here's what I have:
    <?php
    header('Content-type: application/vnd.fdf');
    // read and store the data however you want
    // reply with some FDF data
    echo <<<RESPONSE
    %FDF-1.2
    1 0 obj
    << /FDF <<
    /Status (Wham bam! Journal data sent electronically. Save a copy of this PDF for your records.)
    /Fields [ <</T(batchnum)/V(testt)>> ]
    >>
    >>
    endobj
    trailer
    << /Root 1 0 R >>
    %%EOF
    RESPONSE;
    ?>
    <?php
    I think I have tried the gamut, removed "!", "copy", "for" from the status message; adding quotes, single and double, as well as ``; spacing; changing and verifying field names; send only the /Status and sending only /Fields (btw no errors while is still not sent); and on. Additionally, the above PHP code works perfectly, sending both status and fields, on a form created in Acrobat Pro XI. But no success in LiveCycle where I need the form created to dynamically manage rows and such. Ideas? Anyone?

    It looks like the FDF you've written was designed for an AcroForm. You can still use a FDF on a XFA form, but it has to be done a bit differently. Use JavaScipt inside the FDF to set your fields. E.g.:
    %FDF-1.2
    1 0 obj
    <<
    /FDF
    <<
    /JavaScript << /After (FieldIWantTomodify.rawValue = ("My new value");) >>
    >>
    >>
    endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF

  • Adobe LiveCycle Designer 7.1 - Barcoded Forms Changes

    For those of you that have upgraded to Adobe LiveCycle Designer 7.1 you should notice that there are a few changes to the Paper Forms Barcode object interface.
    On the Field tab you will see that the label may be generated automatically or manually which before could only be generated automatically. The most significant change may be found further down in the new Symbology pull-down menu. Not only can Barcodes be generated in the PDF417 format, but now you can take advantage of both QRCode and DataMatrix. Depending on the region as well as vertical will probably decide which format you will be using on your forms but it may be worth experimenting with different symbologies and data capacities based on the data of your forms to see if there may be a better alternative.
    On the Value tab you will find a slight change to the automated scripting. Tab-delimited and XML may still be generated automatically but you now have the option to select whether or not you would like to include the field names and labels. The Include Field Names separates the field names by tabs and encodes them as the first line of the barcode contents. The values are encoded beneath them. Include Label encodes the label (shown in Field tab) as the first tab-delimited field in the barcode contents. This is a great way to include a form identifier as a standard in your data (a good best practice). Keep in mind that when using the default tab-delimited formats the Adobe LiveCycle Barcoded Forms Decoder can create XML from tab-delimited data automatically which saves some time on the back-end integration effort.
    Again on the Value tab there is another new drop-down field named Collection. For those of you familiar with the Barcoded forms interface of Acrobat, you were able to select the fields that you wanted to be encoded in the barcode without having to do any custom scripting. The Collection interface basically provides you with the same functionality but under a great tree-view interface that allows you to manage the data that goes into your Barcode very easily, again, without custom Scripting.

    I am receiving the following error when I deploy the xdp form onto the adobe form server 6.0.
    =====error===================================
    2006-03-07 16:30:17,287 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066.
    2006-03-07 16:30:17,646 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Setup + mpoFormAgentFactory->PAexecute Time: 0.74395 seconds
    2006-03-07 16:30:17,646 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute mpoFormAgentFactory->PAexecute returned
    2006-03-07 16:30:17,646 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Total Time: 0.74427 seconds
    2006-03-07 16:30:17,646 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - returning
    2006-03-07 16:30:17,662 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29226 tid:2424.2688 sev:w text: dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066..
    2006-03-07 16:30:17,693 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - entered
    2006-03-07 16:30:17,693 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Data Setup Time: 0.00413 seconds
    2006-03-07 16:30:17,693 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - invoking mpoFormAgentFactory->PAexecute
    2006-03-07 16:30:17,974 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066.
    2006-03-07 16:30:18,724 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=Argument invalid: not supplied/range/etc.
    2006-03-07 16:30:18,974 DEBUG [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notificationType=JMX.mbean.registered source=JMImplementation:type=MBeanServerDelegate seq-no=568 time=1141729218974 message=null objectName=jboss.web:type=RequestProcessor,worker=http-0.0.0.0-7001,name=HttpRequest3 userData=null, handback:2147483647
    2006-03-07 16:30:20,021 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=PaperFormsBarcode1 'access' attribute should explicitly be set to 'nonInteractive'. Field will be drawn as a boilerplate.
    2006-03-07 16:30:20,037 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=XFAImageService: Image cannot be resolved for node: PaperFormsBarcode1.
    2006-03-07 16:30:20,037 WARN [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.XFA=ImageStore does not contain the key [F[0].pbarcode[0].detail[0].PaperFormsBarcode1[0]]. Hint: The addImage method must be called first.
    2006-03-07 16:30:20,787 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Setup + mpoFormAgentFactory->PAexecute Time: 3.09997 seconds
    2006-03-07 16:30:20,787 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute mpoFormAgentFactory->PAexecute returned
    2006-03-07 16:30:20,787 INFO [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.timing=!PERFORMANCE! XMLFormFactory.PAexecute() Total Time: 3.10126 seconds
    2006-03-07 16:30:20,787 DEBUG [com.adobe.document.XMLFormService] $$$/com/adobe/document/xmlform/msg.generic=XMLFormFactory::PAexecute - returning
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29226 tid:2424.2688 sev:w text: dataPrep is not a valid attribute of barcode, Attribute not loaded. Line 27066..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:18458 tid:2424.2688 sev:w text: Argument invalid: not supplied/range/etc..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:12369 tid:2424.2688 sev:w text: PaperFormsBarcode1 'access' attribute should explicitly be set to 'nonInteractive'. Field will be drawn as a boilerplate..
    2006-03-07 16:30:20,818 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:29461 tid:2424.2688 sev:w text: XFAImageService: Image cannot be resolved for node: PaperFormsBarcode1..
    2006-03-07 16:30:20,834 WARN [com.adobe.formServer.RunTimeContext] class com.adobe.formServer.PA.XMLFormAgentWrapper : mid:18177 tid:2424.2688 sev:w text: ImageStore does not contain the key [F[0].pbarcode[0].detail[0].PaperFormsBarcode1[0]]. Hint: The addImage method must be called first..
    Can someone help?
    Thanks
    DINESH

  • Adobe LiveCycle Designer vs. MySQL 4.1

    Hi,
    I have to design a input form for a client using LiveCycle Designer, but the client want to use for database a MySQL server. I can't make a connection to the MySQL server.
    To connect, I use "New Data Connection" from File menu, I select "OLEDB Database", I select "Build ..." button, from OLEBD Providers I select "Microsoft OLE DB Provider for SQL Server", I click the "Next" button. In field "Select or enter a server name" I write "localhost", I specify a user name and a password, a specify a database on server, and I click the "Test Connection" button. The error message that I've got is:
    "Test connection failed because of an error in intializing provider. [DBNETLIB][ConnectionOpen(Connect()).] SQL Server does not exist or access denied."
    My question is: can I use LiveCycle Designer with a MySQL server? If yes, what do I need? How can I make a connection to the MySQL server? Can I use SQL statements, like select, insert and update? I saw that the only script available are FormCalc and JavaScript.
    I find on a site (http://www.romsym.ro/detalii.php?ctg=687) that MySQL server can be use with LiveCycle, but for that I have to install on a server "Windows 2003 Server, Enterprise Edition".
    If I use MS Access like database, do I need a server, or can I use it on my computer with Windows XP Professional?
    Thanks.
    p.s.
    I use LiveCycle Designer 8.0

    I had no problem connecting to Accesss...
    I created a drop down menu and then I clicked on Object > Binding then click on > Default Binding (Open, Save, Submit) then "New Data Connection"
    then connect to the database using a fileDSN (I created a fileDSN to connect to the Access DB in the ODBC connections on my computer).
    Then I selected the tables and under query I wrote
    select * from tableName
    Then it gave me all the fields from the table and I dragged the name field over the drop down menu.

  • Controlling user interface settings on LiveCycle Designer ES4

    How can you control the user interface settings on LiveCycle Designer ES4?

    The problem you descibe has nothing to do with the PDF security settings.
    If you have added scripts in the fields calculate event or set their access property to readOnly or protected you won't be able to change a fields value.
    Ypu can check the current access setting in the Object palette under the Value tab.

Maybe you are looking for