Xfa.sourceset.dataconnection.add() is not working

Hello All,
I am trying to insert data into database using "xfa.sourceset.dataconnection.add()" as shown in tutorial. However, the value is not inserted into DB and the PDF file is not throwing any errors.
I did try update, last, first, etc., all the function are working but only add is not working.
Can anyone please tell me where I am wrong?
FYI -I have change the dataconnection name to the name that I am using for dataconnection so this is not a problem.
Thanks
Viral

Hello Viral,   
     To reader extend your form you have two options..
     One option is using Adobe Acrobat Pro which can provide only a subset of Reader Extensions (locally saving and Digitial Signatures).
     Attached image show you the menu option in Acrobat PRO to Reader extend the form..
     Other option is by purchasing a Reader Extensions service component from Adobe and use it at the time of rendering in the Livecycle Server. 
     This option provide the full Reader Extensions functionality(things like commenting, Database and web service access, etc..).
     since in your case you are trying with the Database connections, can you try with the second option.
Thanks
Srini

Similar Messages

  • Function xfa.sourceSet.dataconnection.update() doesn't work

    Hi!
    I want to update the field information on the SAP database and found in the Adobe documentation the function:
    xfa.sourceSet.dataconnection.update() .
    But the function doesn't work. Any ideas?
    Thanls and best greetings,
    Gregor

    Hi Andre,
    What Version of SAP Business One are you running?
    There is a known bug in the DI-API in 2005A SP01 PL36 (not sure what others it affects) that prevents an update to the billing address details.  I think this is resolved in patch 43
    SAP Note: 1128151 describes the issue.
    Symptom
    Update of BP default address information via DI is not complete.
    Scenario:
    Via DI: Update default address information in the business partner master data:
        Dim oBP As SAPbobsCOM.BusinessPartners
        Set oBP = vCmp.GetBusinessObject(oBusinessPartners)
        oBP.GetByKey (txtBPCode.Text)
        oBP.Addresses.SetCurrentLine (1)
    ' not the visual line number, this indicates the 2nd line(order by
    LineNum) in CRD1 for the specific BP
        oBP.Addresses.AddressName = "aa"
        oBP.Addresses.City = "bb"
        oBP.Addresses.Street = "cc"
        oBP.Addresses.Block = "dd"
        ErrCode = oBP.Update()
    Expected Results:
    All information is updated.
    Actual Results:
    Only the AddressName field is updated; all other information is lost.
    Other terms
    SAP Business One, SDK, DI, BP, Default Address, Update.
    Reason and Prerequisites
    Application Error.
    Solution
    SAP planns for this issue to be fixed in a patch of Release 2005 A SP01 and 2005 B. Please refer to the info.txt file on SAP Service Marketplace to confirm that the fix was included.
    Header Data
    Release Status: Released for Customer
    Released on: 10.01.2008  04:43:08
    Priority: Correction with medium priority
    Category: Program error
    Primary Component: SBO-SDK-DI Data Interface
    Secondary Components: SBO-SDK Software Development Kit
    Affected Releases
    SAP-M-BO 2005 2005 A SP01 2005 B  
    Related Notes  
    1135653 - SAP Overview Note for SAP Business One 2005 A SP01-Patch 43
    Regards,
    Sean
    Edited by: Sean Archer on Aug 1, 2008 3:15 PM

  • Error: accessor 'xfa.sourceSet.DataConnection.next()' is unknown.

    Only started using LCD ES a couple of days ago.
    I was able to connect a form via ODBC/MySQL.
    It correctly displays the first row.
    I was trying the following scipt on a "next" button:
    form1.#subform[0].dbNext::click - (FormCalc, client)xfa.sourceSet.DataConnection.next()
    When running, I get the error:
    Script failed (language is formcalc; context is
    xfa[0].form[0].form1[0].#subform[0].dbNext[0])
    script = fxa.seourceSet.DataConnection.next()
    Error: accessor 'xfa.sourceSet.DataConnection.next()' is unknown.
    Hope this is an easy one to answer.
    Also any links to basic example for a simple OLEDB based for design would be appreciated.
    (I got this one from a blog, but I coudn't make it work).
    Thanks in advance.

    I have this exact same problem and have found no reason why this is happening after 3 days of scouring the internet.   In regards to the OP problem.  If I run the button code in FormCalc mode I get the same error as in the OP question and if I switch it to JavaScript the error goes away, but the code in the button does not respond.
    Any ideas on why  xfa.sourceSet.DataConnection.next()
    or
    xfa.sourceSet.{the name of my data connection}.next()
    does not work?

  • Microsoft Excel 2013 add-in not working after update

    I have originally posted this question at answers.microsoft.com and have been re-directed to post here. (http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/microsoft-excel-2013-add-in-not-working-after/298aff03-c90a-4a2a-b67b-07b6f3c7648c)
    We are an organization with over 200 users and are currently using Microsoft Office 2013 (Click-to-run install via Office 365 portal), we have noticed that in Excel when we apply the monthly Office update, the add-in (e.g. Analysis Toolpak) would stop working
    with the following error message displayed.
    I tried updating from 15.0.4631.1004 to 15.0.4641.1003,
    15.0.4641.1003 to 15.0.4649.1004, they all gave the same results.
    I have checked the captioned file path and it is indeed missing, I think the update mechanism messed up the add-in somehow, a full re-install would fix it as quick or online repair is not doing the trick.  This is not the only add-in it is affecting
    as there are some 3rd party add-ins are affected as well.
    Please advise how we can fix this without needing to re-install Microsoft Office.  Thank you!

    I don't have 365 or C2R so I can't address your main question, so just a few thoughts which may not be applicable in your setup.
    Check the addin manager to see if your addins are listed and ticked. If listed (ticked or not) check the registry to see where the location is written, if ticked look here
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options
    and look for keys named OPENx, where x is the order number the addin is loaded
    if not "ticked" instead of \Options look in \Add-in-Manager
    With a VBA macro or in the VBE's immediate window return
    Application.LibraryPath 
    Assuming you found a listing in the registry do the paths match, if not look in the .LibraryPath to see if the addins got unloaded there into the subfolder \Analysis
    If you find the file(s) try un-installing and reinstalling the addins, but browse to the actual folder don't simply tick. If you can't find the files, copy them (from a different system) to the folder indicated by .LibraryPath. In the addin manager uninstall
    them if installed, close the manager, open it again and the addins should be listed, tick to re-install.
    You say your other addins don't work, I wonder if some mixup has occurred with what Excel thinks is the default path, but note for other addins the default addins path is returned by app.UserLibraryPath
    Are you using a Chinese system?

  • Firefos beta 8 version plugins and add-ons not working after install

    After Install ghostery will not fuction. Performed a reinstall of ghostery and no luck. In manage Add-ons it says ghostery will be working after restarting the browser but no change. Why? Also completey removed (uninstalled ghostery) then rebooted and reinstalled ghostery and still no change.
    Also other add-on are doing the same thing and all are compatible with this version according to the options menu in manage add-ons

    I just Found out after a hour of disabling and enabling add-ons Firebug was causing my issues of missing add-on buttons and missing add-on not working try disabling it and related Firebug add-ons and restart Firefox to see if everything begins to work

  • Bug?: layers.add() is not working properly when invoked from menu (ID/CS6/Win7)

    Hello Devs,
    I am facing a mysterious issue with the layers.add() method.
    I am trying to create n number of layers for my document. So I have decided to create a menu for this.
    I have creatd two scripts
    1. For creating menu & menu action,
    2. Actual script that creates n number of layers.
    When I run the script #2 direclty from ESTK it works fine.
    Now when I try to invoke the same script from the Menu it is not working fine. Only the last layer is created.
    Script 1: LayerPopupMenuAction
    #target indesign
    #targetengine createLayerset
    var layerTemplateScript = File(File(getActiveScriptPath()).parent.fsName+"/IntializeTemplate.jsx");
    var initTemplateHandler = {
        'beforeDisplay' : function(ev)
                ev.target.enabled = (app.documents.length>0);
        'onInvoke' : function()
                app.doScript(layerTemplateScript, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Initialize Script");
    var layerMenuAction = app.scriptMenuActions.add("&Create Layer Set");
    for(var init_ev in initTemplateHandler) {
        layerMenuAction.eventListeners.add(init_ev, initTemplateHandler[init_ev]);
    var refMenuItem = app.menus.item("$ID/LayerPanelPopup");
    refMenuItem.menuItems.add(layerMenuAction, LocationOptions.AFTER, refMenuItem.menuItems.item(2));
    function getActiveScriptPath() {
        // This function returns the path to the active script, even when running from ESTK
        try {
            return app.activeScript;
        } catch(e) {
            return e.fileName;
    Script 2: IntializeTemplate
    #target indesign
    if (app.documents.length == 0){
        alert("Please open a document and try again", "Document Error", true);
        exit();
    var templateDoc = app.activeDocument;
    var layerNameArray = ["Fixed_Static_Assets", "Absolute_User_Assets", "Relative_User_Assets"];
    CreateLayers(layerNameArray);
    alert("Initialization Successful");
    //--------------------------------FUNCTIONS ARE DEFINED HERE--------------------------------
    function CreateLayers(LayerNameList){
        var layerListLength = LayerNameList.length;
        var layerObject;
        for (var ln=0; ln<layerListLength; ln++){
            layerObject = templateDoc.layers.itemByName(LayerNameList[ln]);
            if (layerObject.isValid==false){
                layerObject = templateDoc.layers.add({name:LayerNameList[ln]});
                //$.writeln('Layer Creation: ' + layerObject.isValid + ' for '+layerObject.name);
        //Merger Default Layer with the bottom layer:
        var defaultLayer = templateDoc.layers.itemByName("Layer 1");
        if(defaultLayer.isValid==true){
            //$.writeln('Default is Valid and will be merged with top most layer');
            layerObject.merge([defaultLayer]);
    Any help / guidance on this regard will be much helpful.
    @Marijan Tompa [tomaxxi]: I googled for the solution and noticed that you have already worked on similar type of script. Please help me if you can.
    Thanks
    Green4ever

    Hi Green4ever,
    At a very first sight I'd suspect UndoModes.FAST_ENTIRE_SCRIPT which, as you may know, can deeply scramble script steps, especially when a try...catch is in use.
    Try to replace FAST_ENTIRE_SCRIPT by ENTIRE_SCRIPT and tell us.
    @+
    Marc

  • Essbase Excel Add in not working

    Hi All,
    I have installed hyperion 11.1.2.2 version in windows 2008 server(64 bit system)
    Server is up and running fine.!
    I have installed Excel addin, then i got one issue here. When i opened excel, Smartview is displayed on the top but Essbase is not displayed. I tried so many ways, but no use.
    give me some suggestions regarding to solve this issue..!
    Thanks,
    mady
    Edited by: mady on Nov 27, 2012 11:46 AM

    Mady, I hope you were not trying to open the Add-Ins directly from Windows. The Essbase XLL and XLA work within Excel as Add-Ins, not as executables. When I doubled-clicked on the XLL and XLA, I got the Microsoft Security warning, which I assume that is what you were doing wrong. You can also google Excel Add-Ins on how to manage it if you are not sure what to do. It's very straight forward.

  • Weather Channel's 1-Click Weather Toolbar Add-on Not Working in Firefox 4

    After installing the Weather Channel's 1-Click Weather Toolbar Add-on, I get 2 Java messages and don't see the toolbar - even though it is listed in the add-ons list and is activated.
    This toolbar is it not working in this version. It worked in previous versions.
    Do you have any suggestions.

    princess111 had her problem solved here: <br>
    http://forums.mozillazine.org/viewtopic.php?f=38&t=2173619
    I'm going post the answer here too for everyone else.
    To make a long story short, the addon wasn't updated for Firefox 4. Someone edited the addon to make it work on Firefox 4. This updated addon can be found here: http://www.megaupload.com/?d=W1HDG9HM
    A moderator at the other forums inspected the file for viruses or malicious code and found none. See [http://forums.mozillazine.org/viewtopic.php?p=10715417#p10715417 here]
    To install the addon once downloaded, read this post: <br>
    http://forums.mozillazine.org/viewtopic.php?p=10715621#p10715621

  • MDIS Unmapped Values ADD is not Working Throws errors

    Hi Experts,
    I have a Qualified table where the Non qualifier is a Lietaral Date field.
    Qualified Update -> Update
    New links -> Create
    Existing Links -> All mapped Fields
    MDIS unmapped values -> ADD
    All is working well,When the Incoming file has exactly the same NOn qualifier as in Data manager,  But when the incoming file has some New non-qualifers then it fails with a value Exception...
    1166657856 2011/09/27 16:29:16.326 GMT Importing: 'Samplee_27sep[1].xml.MDM_DATA' Table --> 'CostCentre.CostCentre' Table.
    1166657856 2011/09/27 16:29:16.341 GMT Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    1166657856 2011/09/27 16:29:16.346 GMT Import failed. Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    Import action: Update (All Mapped Fields)
    Source record no: 1
    But ideally it should NOT fail as the MDIS Unmapped fields are set to ADD..
    I would expect it to Add any new NON qualfiers to QT and add that Link to that Record.
    But it is throwing error...
    Did anyone face this issue till date???
    Kind Regards
    Eva
    Why is this behaviour..

    Hi,
    In the Import map as the Non qualifier is the literal date field and in DM i can see they are stored in MM/DD/YYYY format.
    The incoming value from the File is also the same format but the Config parameters date format in Import map is different, is this the problem for not adding New dates even though the MDIS unmapped fields are set to ADD..
    Also, are Config parameters Specific to Map or Repository Or server!!
    i.e if i change a config parameter and save the map.
    will the config parameters in all import maps be changed automatically??
    Kind Regards
    Eva

  • Dynamic Add table not working

    Hi,
    I have to  2 subforms,name table_subform[0] and table_subform[1] .
    To add a new table , i use script :
    var sSubformSOM = "xfa.form.form1.page1.table_subform";
    var oSubform = xfa.resolveNode(sSubformSOM);    
    var sParentSOM = oSubform.parent.somExpression;   
    var sManagerSOM = sParentSOM + "._" + oSubform.name+ "["+ 1 +"]"; ;  // Control the the new table location
    var oManager = xfa.resolveNode(sManagerSOM);
    oManager.addInstance(1);
    PROBLEM : , the this add table function "ADD THE NEW TABLE IN BETWEEN table_subform[0] and table_subform[1].
    REQUIREMENT : The new table should added next to the last table.
    SOLUTION 1 : var sManagerSOM = sParentSOM + "._" + oSubform.name + "["+ 1 +"]"; // index 1 to add the new table next to the second table
    var sSubformSOM = "xfa.form.form1.page1.table_subform";
    var oSubform = xfa.resolveNode(sSubformSOM);   
    var sParentSOM = oSubform.parent.somExpression;   
    var sManagerSOM = sParentSOM + "._" + oSubform.name+ "["+ 2 +"]"; ;  // Control the the new table location
    var oManager = xfa.resolveNode(sManagerSOM);
    oManager.addInstance(1);
    PROBLEM : NOW all my "new table" are added by reference to oSubform.name + "["+ 1 +"]";  OR oSubform.name[1]
                       Now the add table are working fine.
                        But this create an issue when deleting the table from the same subform.
                         If i click the "Delete table at "table_subform[1] - which index is used to create the rest of the tables" , it delete      table_subform[2],table_subform[3] in sequence.
    Anyone have any solution for this ????

    The removeInstance method requires an index so that it knows which subform to remove. If the button that you are pressing is part of the subform that you are removiing you can use the this.parent.index to return the index that you are on and as such the appropriate subform can be removed. Depending on your structure you may need to use the parent keyword to get back the level that you need. In many cases it gets confusing to know which subform is repeating so you can add this javascript command to the enter event of a field in the subform.
    app.alert(this.somExpression)
    This command will show you the complete somExpression of the field and as such you will know the somExpression for the rest of the subform. You may need to click on the field in a couple of different rows to understand the pattern that is emerging. This command is only for debugging ...you woudl remove it after you figure out your issue.
    Hope that helps
    Paul

  • Add People not working in PSE12

    Hi
    After horrendous installation problems I've now finally got PSE12 installed.  THowever the 'Add People' functionality is not working.
    In the 'People' tab, when I click the 'Add People' button I get the 'preparing files' dialogue box.  I then get a message saying "You have labelled everyone in your selection" (whether I've made a selection or not in 'Media').  I can 'add people' in an individual photo but not by clicking 'add people' either in Media or People view.  This worked fine for me in PSE11.
    I'm using Windows 7 and don't have any other PSE versions installed.
    Any suggestions?
    Thanks

    Hi, I;ve been replying via my email. I've just discovered that email attachments aren't accepted and I must reply from within the forum. Here's the screenshot. I receive this message whether I've made a selection or not. Thanks

  • Add-ons not working properly

    Recently (last 4-5 days my add-ons stopped working properly. Example: Tab Mix Plus shows as installed, but when any options I select do not affect tab behavior; Lastpass icon not showing up in the Add-on bar as it did previously; Newsfox icon doesn't appear in Toolbar as it did. Using Firefox 26.0 on Windows 8 on Dell Laptop.

    I've been having problems with my add-ons. Ad Block Plus will often hang Firefox and drive the CPU to 100%. I've reset Firefox and installed ABP, but still have the problem. My other extension have also stopped working. Any new extensions will appear to added on to Firefox, but they also don't work. I've followed all on-line trouble shooting options.

  • F1 add-on not working after updating to 10.0.1 running on ubuntu 11.10

    Hi,
    The ubuntu 11.10 update manager updated my firefox to 10.0.1 and since then my f1 add-on is not working. I tried disabling and re-enabling it but it didnt work. it says the service is not available at the moment.
    Any suggestions? Thanks!

    Try posting here - http://feedback.mozillalabs.com/forums/68185-messaging-add-ons
    F1 is made by the Mozilla Messaging team, and that what the team uses for providing support for their add-ons.

  • Single row/column marquee tool "add to" not working

    I was trying to follow along with a tutorial that was using the single row/column marquee tool.  In it they used shift click to add to the selection.  It's not working for me.  I also tried clicking on the add to icon for the marquee tool, and it still doesn't work.  Does anyone know what the problem could be and how I might fix it?
    Thanks!

    hey i know this is late but if its any help now all u need to do i zoom in a lil closer the proceed with the selection. hope i helped. oh and u have to make sure your grid lines are perfectly on the 10,20,30,... percent mark and u have to be zoomed in if u want to see your lines. the problem is your file is too big and has somn to do with ur computer. its not only mac windows too.
    p.s. when ur done drawing the boxes u can zoom out...i know the tutorial

  • Add-ons not working after server IP address/domain name change.

    Hello everyone,
    We have just changed the IP address of our SAP Business One server and moved it into a new domain.
    Although SAP Business One is working as expected, the add-ins created by a third party do not work. Having very little knowledge of SAP I do not understand where the problem could be.
    The third party were on-site today and have reinstalled the add-ons but they still do not work.
    There is an error message when starting the client that states: Module <Compatability Licensed for Add-ons> Expired on <20080115> but the third party have stated that this isn't a license issue.
    Can anyone provide any assistance/advice on what the problem may be?
    The possibilities for the problem at the moment are:
    - Invalid license key for add-ons (but why would changing the IP address/domain name cause this issue?)
    - The add-on is coded with the original IP address of the server.
    - There is a permissions problem that has been missed (as users are in a new domain).
    Any advice/suggestions are welcome.
    Many thanks,
    John

    >
    John Galley wrote:
    >
    > The possibilities for the problem at the moment are:
    >
    > - Invalid license key for add-ons (but why would changing the IP address/domain name cause this issue?)
    > - The add-on is coded with the original IP address of the server.
    > - There is a permissions problem that has been missed (as users are in a new domain).
    I am afraid that the possible cause is the addon is coded with the IP address in their connection method. It could be possible that it is a hardcoded addon.
    you must ask the addon developer to change it and do not use the IP address anymore in the addon.
    Rgds,

Maybe you are looking for

  • IPhone 4S no longer syncs with iTunes

    I upgraded all devices to iOS 6 last week (iPhones, iPads,...). I have about 2300 songs on iTunes. I did not accept iTunes Match and deactivated sync to iCloud. When I plug my iPhone on my computer the bottom bar shows about 15 GB of songs and syncs

  • How to know the correct Elapsed Time?

    When I run a query twice, I get better timing on the query the second time around. I am assuming this is happening becuase some or most of the data is still in cache. How do I remove the cache data so that I know if my Indexing or anything else reall

  • May I show multiselect pick list selected values in a report

    People Im new at Oracle Ondemand but already worked quite a lot with it. One thing I can't find out is how to show selected multi select pick list values in a report. Cant pick that values with formula edito either.... I fell that It must be easy and

  • Problems Enrolling on OLM E-Learning

    We are trying to implement the e-learning package within OLM in our Trust, however we get this error message whenever we either try to self-enrol or mass enrol anyone. "The business group for the enrollment does not match the business group for the l

  • X220 & Windows 8 Radio (Fn 5) settings

    I've installed the Windows 8 drivers for my x220 and I have some problems.. 1. Bluetooth comes on automatically when I restart. It won't remember that I had it turned off prior to shutdown. 2. The Windows 8 (right-hand side setting bar) toggles wirel