Binds the exportXFAData(); method for the saveAs event

I have an XFA form that was built with LiveCycle and I try to write javascript to Adobe who will export the form data to an XML file whenever a user manually saves the file in Acrobat. Preferably, this feature is easily sharable, because I have clients who need to have this ability.

I'm a novice, but it seems that the interactive objects are grey and so I can not add a custom button. That's why I hope to link the exportXFAData(); method for the saveAs event. When a user does CTRL + S or file > save (sub)... the XML should be exported to the desktop.

It seems that I have to use the exportXFAData() or exportAsXFDF() method.  I found something that says: " it is a very simple process to do this, use the method saveAs Doc object... " and copy the following code:


this.saveAs ("/ c/temp/test.xml", "com.adobe.acrobat.xml - 1-00");

I do not know where to write this code, or if it must be adapted (not to mention that the path) to accomplish what I asked above.

Thank you very much,



Carl


It does not export form data, as far as I know, but another schema. There is a different method for acroforms export but I don't know for XFA forms. You should check the reference XFA JavaScript, not google.

The example you found is not in any way binding to the SaveAs event. Rather, it uses a special feature of the document.saveAs method that allows you to save/export other formats instead of PDF, such as file options > save as. The code generally added to a button, but do not work (see below). I don't know if you can run this in an event WillSave or similar, that; s a separate exercise.

Don't forget to read the XFA JavaScript document for this method since it will have security restrictions designed to stop incorporating any kind of back up/export to a file - because think havoc if a PDF file that you have downloaded begins to silently save/export the files to your computer. Do not try to use acroform rather documentation! And I see that what you quoted DC Acrobat SDK Documentation applies to the acroforms.

For more specific help, I suggest the LiveCycle Designer forum. We are dealing here Acroforms.

Tags: Acrobat

Similar Questions

  • Subscribe to the "save" event

    Hello

    Can we get an event / notification when the user selects the option to record?

    My plugin is required to perform actions in this event.

    What suite is used for the same thing?

    Check the kAIDocumentWritePreprocessNotifier with AINotifierSuite

  • The application has failed to start because its side-by-side configuration is incorrect. See the application event log or use the command-line sxstrace.exe for more details

    Hello

    I can t open Google Earth or Microsoft Office programs because I get this message - the application could not start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details.

    A few days ago I could open all what programs. I put t know what is the problem.

    I did sxstrace and that's what I have-

    =================
    Launch the activation context generation.
    Input parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US; en
    ManifestPath = C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe
    AssemblyDirectory = C:\Program Files (x 86) \Google\Google Earth\client\
    Application configuration file =
    -----------------
    INFO: File analysis shows C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe.
    INFO: Manifest definition identity is (null).
    INFO: Reference: Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053"
    INFO: Resolving reference Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    INFO: No found publisher policy.
    INFO: No redirect political connection is found.
    INFO: Start the detection of assembly.
    INFO: Can't find the assembly in WinSxS.
    NEWS: Try to detect manifest to C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
    INFO: Found no manifesto for the neutral culture.
    INFO: End detection of assembly.
    INFO: Resolving reference for ProcessorArchitecture x 86.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    NEWS: Control strategy of the Publisher C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_517247830f45081d.manifest
    INFO: Start the detection of assembly.
    INFO: End detection of assembly.
    ERROR: Activation context generation failed.
    End activation context generation.

    Help, please!

    This type of error can be caused if the Visual C++ library runtime components are missing or because of a third-party software.

    Follow the steps below:
     
    Method 1:
    If the problem is caused by the lack of Visual C++ libraries, you can download and install the Runtime components of Visual C++ libraries from the link below:
     
    This error can occur when the Microsoft .NET Framework installation on the computer is damaged or is missing.

    Try it out below step to reinstall and repair installation of Microsoft .NET Framework on the computer, then check if you can install the software.

    (a) click the Start button, select Control Panel, click programs and then click on 'Turn Windows has or not.' If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) search for Microsoft .NET framework 3.5.1 uncheck, click OK and restart the computer.

    (c) after the reboot, open again "Turn Windows features on or off" and place a check next to Microsoft .NET framework 3.5.1 and restart the computer.

    Step 2

    If the previous step fails, then I suggest that you manually download and install Microsoft Visual C++ 2005 and 2008 Redistributable Package and check to see if you can install the software.

    In programs and features, you do not show that you have installed Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2008 Redistributable? If this is not the case, download the links here.
     
    Package redistributable Visual C++ 2005 (X 86)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
     
    Visual C++ 2005 (x 64) redistributable package manager
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=eb4ebe2d-33c0-4A47-9dd4-b9a6d7bd44da&displaylang=en

    Package redistributable Microsoft Visual C++ 2008 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Package redistributable Visual C++ 2008 SP1 (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    I hope this helps.

  • Set priority higher for front panel events in a Structure of the event

    Hey people,

    I need some advice on the management of events in Labview 2013... I have a structure of the event which handles events of façade (keys) as well as some user events. User events come thick and fast from an external dll. The data as well as this event gets queued at the start and then traced / processed.

    The tricky part is if there are great number of events of the user, the response to the event of the façade is significantly delayed. I get about 80 events back to back user every two seconds. So, if I press a button on the Panel before every two seconds (2 seconds, 4 seconds, 6 seconds... etc) is obviously the delayed answer as opposed to pushing in multiples of 3 seconds (3 seconds then 6 seconds, 9 seconds...) where the reaction is immediate.

    Now I know labview 2013 supports two prioritres while generating events (high & normal) but the problem is in my case, user events come from a dll using the 'PostLVUserEvent' method that does not accept a priority. And I don't see a way to set a priority for the events of façade (keys).

    Any thoughts on how this can be managed?

    Thanks in advance, best regards, Abel.

    The best solution would be to separate user and events of the FP in two independent loops, but I understand that this may be difficult if the two event classes operate on the same data.

    Another possibility is to use two loops serialized, encapsulated together in a larger loop, each containing a structure of the event: the first, with a short timeout, would manage the FP events and could go out on timeout. the second would deal with all user events and would be forced to stop after a predefined number of events managed or, better still, when a quantity preset time has elapsed.

  • If my disk defragmentation has been stopped and the computer tells me to check the log events for more details how can I do my accessible Defragmenter again?

    If my disk defragmentation has been stopped and the computer tells me to check the log events for more details how can I do my accessible Defragmenter again?

    Hello

    1. have you made changes on the computer recently?

    Method 1.
    Type these commands in the start menu, run a dialog box:
    Here's how:
    a. Click Start.
    b. in the run box, type the following commands one by one and press to enter.

    regsvr32 dfrgsnap.dll
    regsvr32 dfrgui.dll

    Method 2.
    I. to resolve this problem, follow these steps:
    a. Click Start, run, type % Windir%\Inf, and then click OK.
    b. right-click the dfrg.inf file and then click on install.
    OR
    II. Alternatively, you can reinstall Disk Defragmenter using the following command:
    a. Click Start, run and type that the following command and press ENTER.
    Rundll32.exe setupapi, InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.inf

    I hope this helps.
  • You try to start a service error "Windows failed to start the VMware authorization on local computer Service. For more information, see the system event log. If it is a non-Microsoft service, contact the service provider

    Ideas:

    • You have problems with programs
    • ETrying to launch a service error "Windows failed to start the VMware authorization on local computer Service. For more information, see the system event log. If it is a Microsoft service, contact the service provider and refer to the specific service-6000004 error code "... I contacted the people at VMware they say it's a problem with Windows Vista..." IAM confused pls help... .rror messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Hi sanjeevkode,

    Thank you for visiting the website of Microsoft Windows Vista Community.  As the question you posted typically associated with third party software / application that has its own way of program codes and call the corresponding system resources when installing and running. Therefore, I also suggest you to join the VMware Forums for the best support.

    VMware communities: http://communities.vmware.com/home.jspa

    In the meantime I suggest you try these options / methods

    IMPORTANT NOTE: Microsoft provides this information as a convenience to you. Proposed changes could lead to serious problems. Microsoft cannot guarantee that problems would be solved as a result of the suggestions. Changes to settings are at your own risk.

    Option 1: If you go to computer management, and then to the list of Services and find the VMware authorization Service, it appears as stopped? If so, you need to start

    Option 2: Try logging on as an administrator Local host during installation first workstation, rather than you connect with a domain ID

    Option 3: The question can be caused also by your security program such an antivirus or a firewall of Windows /Defender that can have conflicting parameters as to not not to perform certain tasks. I suggest you temporary disable antivirus and firewall and check the result again. You must enable security programs new that had disabled you

    Option 4: The problem could be linked to a local or domain group policy. Make sure that the local account is defined as 'local user __vmware_user__' in the local Administrators group and the permissions of "Log on locally" and "Log on as a service.

    The two parameters are available in the "* Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment *" branch of domain group policy or local.

    Let me know if it worked.
    Hope it will be useful.

    Thank you and best regards,
    Vijay K - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think.

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Ms more recent update for my VISTA plus old (2008 Acer laptop) was the last event, now cannot start PC... recovery tests without success... Help, please...

    Ms more recent update for my VISTA plus old (2008 Acer laptop) was the last event, now cannot start PC... try to recovery without success, a loop back and asking to recover or normal boot...  Attached to jumps, safe to ask if I want to recover...  I never received an OEM of VISTA version, but the first time having problem after all these years...   Help, please...  Would contribute to a boot disk, if so, how can I get a copy?...  Thanks, Dave * address email is removed from the privacy *

    Hello

    See if that helps you.

    Do a Safe Mode system restore to before the problem started.

    http://bertk.MVPs.org/html/restoresysv.html

    How to access Safe Mode

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If it doesn't, try a startup repair and / or a system restore using a DVD of Vista from Microsoft

    Manufacturers recovery disks normally do not have Service Options; they are normally a relocation to the factory only settings option.

    Here is the guide to repair Options using a Vista DVD from Microsoft.

    If a friend or a work acquantance of yours has one, you can borrow and use it for repairs.

    http://www.bleepingcomputer.com/tutorials/repair-Windows-with-Windows-Startup-Repair/

    Table of contents

    1. Overview of Windows Vista repair options
    2. How to perform an automatic repair of Windows Vista using Startup Repair
    3. Advanced Tools Overview
    4. Conclusion

    If you do not or can not borrow a Microsoft DVD there is a download of a file ISO of Vista Startup Repair available that you can put on a Bootable floppy to make the above startup repair and that the method is recommended by a large number of posters in these Forums.

    Unfortunately, you have to buy it.

    Here is a link to it:

    http://NeoSmart.net/blog/2011/Windows-Recovery-discs-updated-reinstated/

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And here's how to use Recovery of Acer.

    http://Acer.custhelp.com/app/answers/detail/A_ID/2631

    To start the system recovery:

    1. Restart the computer.
    2. When the Acer logo appears on the screen, press the left Alt and F10 keys.
    3. If you are prompted with a Microsoft Windows splash screen, press the Enter key.
    4. After that the Acer eRecovery Management application is loaded, select your type of restore.
    5. Read the review and then click Next when you are ready.
    6. Click Next to start the restore process. It may take 10 minutes up to an hour fom anywhere to restore.
    7. Once the restore is complete, your computer will restart. After the reboot it will load Windows and start the installation of your software and drivers. Your computer will restart several times during this process. Once they are all completed, your computer will be like it was when you bought it first.

    See you soon.

  • "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    I have QQ (an international chat program) installed on the laptop. Then my hard drive crashed. Now when I try to reinstall it on my new hard drive I get the following message:

    "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for details" -how can I solve this problem? I have Windows 7.

    Hello

    Thanks for choosing Microsoft Community to post your question.

    It seems that you can not install application QQ, you get an error: "the application could not start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    We're here to help and guide you in the right direction. This problem could be caused when the computer is missing the correct C++ run time for your type of system components. (x 86 or x 64).

    Here are a few troubleshooting steps that you can try to solve this problem.

    Method 1: we will install Microsoft Visual C++ for your computer package.

    Note: If you use the 32-bit operating system, download and install 32-bit edition(X86).

    If you use the 64-bit operating system, download and install edition(X64) 64-bit.

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 86)
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=bd512d9e-43c8-4655-81bf-9350143d5867

    Method 2: Run the fixit available at the following link.

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Also, check the event log using Event Viewer.

    Please see the link below for more information on how to use Event Viewer to check the error message or information,

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    If you have additional problems, please reply to this post and we will be happy to help you further.

  • WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    «WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.»

    This cams almost for all the applications that I try to open. I read all kinds of things to solve problems, but I can't install anything because it is constantly on the screen.

    I think it's like that because my computer shuts off when I was doing the system restore, because he has not started.

    I don't know what to do.

    Hello

     
    You can view the event log by using Event Viewer. See the link below for more information about how to use Event Viewer to check the error message or information,
     
    Please check the information in Event Viewer and let us know the problem more briefly for a better solution.
     

    Method 1:
    However, try the SFC (System File Checker) scan on the computer. Check out the following link to do the same thing:
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
     
    Method 2:
    You try to run the fixit given in the following link and check if it works:
  • Fort Wayne area users! Sign up now for the biggest event VMUG WORLDWIDE!

    Demo 4 - Indianapolis VMUG days User Conference

    Clear your calendar for Thursday, July 28, 2011, and to attend the fourth annual Conference of the Indianapolis VMUG demo days. Every year it gets bigger and better, and this year is no exception. This event is now considered to be the biggest event VMUG WORLDWIDE!

    For those who never participated in a previous demonstration days event, think of it as a "mini VMworld". Ideally located in downtown Indianapolis, come join your fellow VMware users during this event all-day for exhibitions, demonstrations and in-depth technical sessions.

    Need other reasons to attend? Here are a few:

    • More than 30 educational sessions
    • Group of experts, featuring David Davis, Mike Laverick, Scott Lowe, and Vaughn Stewart
    • Networking Lounge to relax
    • Practical exercises with EMC and ThinApp PowerCLI
    • Showroom with over 70 partners
    • Training VMware including: A Practical Guide to vCenter operations, Performance Best Practices for vSphere, ThinApp Dive Deep, demystify the Secure Private Cloud, Cloud in the real world and the transition to ESXi
    • Breakfast and lunch
    • A lot of business gifts
    • More surprises

    Visit the event details page to save and review the agenda of the full event and a list of all the sponsors of the event.

    http://www.myvmug.org/e/in/Eid=75 & source = 5

    Twitter: @IndyVMUG and #DD4ivmug

    I create a new account at MYVMUG and registered for the event at Indy.

    I'm looking forward to, but should be back in Fort Wayne bu 18:00, so I'll leave early.

    Thank you for your help

    Bryan Smith

  • How can I register for the timeout event dynamically

    Hello

    I found this example:

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvhowto/dynamic_modifying_reg/

    I want to do the same thing, except that it is not the event of moving the mouse I want to toggle (register/unregister) but the timeout event.

    The time-out period is in the drop-down list of the events, I can sign up for, but it is grayed out.

    How can I do this?

    Thank you


  • remote desktop hang at 'Please wait for the system event notification' during logoff

    When I disconnect a remote connection, sometimes the GET logoff screen stuck at "Please wait for the system event notification" next time I try to open a session.
    This can also happen if that I disconnect the user, but the user seems to weigh on this same screen as well.

    There is a particular difficulty for this?  I can connect as long as administrator to another account, I can't kill connection attached somehow to be registered in the next time?

    Thank you

    Hello

    I suggest you to take a look at the answer in this thread and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/Sens-could-not-connect-to-the-system-event/4e5a04e9-88f8-4017-9416-2ca67c5ce7c5

    Hope this helps,

  • Trying to register for a developer event SW in Finland. But the record window disappears before saying what happened.

    I am trying to register for a developer event in Finland using MS Live ID SW, but disappears from the record window before saying what happened.
    What should do? Contact person?
    The event is called 3 Amigos & Gal.
    Called MS Finland - person seems to know, they move me just for the next person. Who knows the support to developers?
    PS. It was the support person of the Finland MS who advised me to use this site.

    Hello

    If the problem is specific to Firefox, then I suggest you to send your request to:

    Firefox Support Forum

    http://support.Mozilla.org/en-us/questions

    You can also connect with Firefox for known problems.

    http://support.Mozilla.org/en-us/home

  • My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear.

    I use a Vista Home Premiuim Windows in an Acer Aspire One 10.1 "." My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear. Can someone help me please?

    Here is a screenshot of my problem...
    [IMG] http://i55.tinypic.com/of5w01.png [line]
    Help me please.

    Hello

    1. were you able to see the front dialog box?

    2. did you of recent changes to the computer?

    This happens because your screen resolution is less than the required minimum of 1024 x 768.

    You can try to change the resolution of the monitor and check.

    For more information, see the link:

    Change settings display on multiple monitors

    Change the screen resolution

    You can also refer to Adobe support links and also post your request in the Forum from Adobe for assistance:

    http://forums.Adobe.com/thread/433020?TSTART=0

    http://kb2.Adobe.com/CPS/403/kb403268.html

    http://forums.Adobe.com/community/Photoshop/photoshop_windows

    Hope this information is useful.

  • Win7x64 with adapter DWA-160, "Windows could not automatically bind the IP protocol for the network card stack."

    As the title suggests, I am running Windows 7 family, 64 bit. This is a new installation, a few days ago and I have not installed anything on, or changed the settings.

    I installed a DWA-160 D-link Wireless adapter n with the current drivers, fix (before you ask to confirm, they come from Web site of D - link. I used initially the disk included in the box, however, this has generated the same question that I'll explain, so I uninstalled this software and has continued to use the Windows program to connect to the wireless network.

    I can connect to the network, of course; However, I get the message "Windows could not automatically bind the Protocol IP on the network card stack" when connecting each time.

    After searching for an answer, I tried to turn on the WLAN auto configuration service, however, it is enabled by default. If this isn't any help.

    Tried the netsh winsock / netsh int ip / netsh int ipv4 / netsh int ipv6 reset and restarted after each, no change, if this isn't any help.

    Made sure the problem wasn't with the wireless router, and it isn't because I can connect with my laptop.

    Tried to plug in the USB stick on another computer yet. I don't want to plug into my laptop just to test that possibility. So. Yes.

    I also don't know much about all the inner workings of one of these things, so it would be rad If everything was in one step by step. Thanks in advance.

    Try to run This Fix - It.

Maybe you are looking for

  • mails will be deleted from a computer

    I have three e-mail addresses in thunderbird. It's because I'm working with someone else and we have 2 personal e-mail addresses and an information email address. But now I have the problem that when I for example delete all of my emails they will st

  • Canvio Connect II power management

    I have a Canvio Connect II 3 TB drive and I'm annoyed by the fact he's going into a deep sleep after a few minutes of inactivity, and it takes a lot to wake up to the top. This is my first Toshiba, all my other WD drives drive (Toshiba was the first

  • Tecra 9100: Circle sound card - yellow in Device Manager

    I have a Tecra 9100 using win XP pro SP2. Recently, my sound disappeared, and I use the card his Yamaha AC - XG. The unit displays a with a circle yellow exclaimation mark. I tried to use the help to solve this problem, but still works cant, also tri

  • export of custom code C data type

    Hello I wonder, in TestStand, is there a way I can export a customized data type to the type C struct definition? I use TestStand 4.2 Thank you. Peggy

  • Change the names of default directory in XP

    I want to change my default directory "C:\Documents and Settings\Compaq_Administrator\My Documents" in "C:\Documents and Settings\Doug\My Documents. If I do I would like to replace the "Document and Settings" with "Docs".