readFileIntoStream no work

Hello

I made a script that opens an xml file at the launch of my pdf form . I use readFileIntoStream() which appear in the records of javascripts: a js is in the CD folder, another copy in Acrobat pro DC. I need this xml file to prepopulate some fields (name, address) etc.

When I opened my pdf form in Acrobat pro, everything works fine. My fields are filled.

Then I "Save as... improved" my form to be refillable on the screen of the reader.

But when you open it in the drive I got this message:

GeneralError: failed operation

Util.readFileIntoStream...

with a single pdf and no message in another (although I have enabled "display error in the console" in the drive), and the entire application javascript cannot.

I have no idea why: the doc js only available on the Web is Acrobat Javascript 7.0, completely obsolete, as we are in DC (12...), I can't find anything on this feature that is quite new.

What prevents this function works in CD player when everything is ok when build in Acrobat pro?

A welcome idea

THX

The error is

GeneralError: failed operation

Util.readFileIntoStream... (number here)

Tags: Acrobat

Similar Questions

  • Util.readFileIntoStream works in reader XI?

    If so, what security settings are needed? The script to the document level or folder can be used?

    -Yes

    -As stated:

    If the cDIPath parameter is specified, this method can only be executed in privileged environment

    context, an event batch or console (or when the document is certified with a

    certificate approved to run "embedded high privileged JavaScript").

    -Yes, either one can be used.

    In addition, I discovered that this method has a "limitation without papers" (or bug): it reads up to 4096 characters of the file...

  • Im getting an iPhone SE of the United Kingdom, I would like to know if it works in Albania

    I want to know if this works with the carrier that I choose

    It depends, if your carrier allows you to call or text outside of your region. Your iPhone will work in any country

  • Why video does not work in safari

    The video on all Web sites IN safari has stopped working. No idea why?

    Do you get any error messages? If this is not the case, see if by double clicking the home button and drag to the top safari help. -AJ

  • USB disabled after the update of the Sierra (a short circuit and a work)

    Hi, when I bought my mbp 13 inches mid2012 (used, not new) I noticed that a USB port did not work. In the Yosemite sometimes I noticed that a USB port consumed too much energy and have been disabled. (I think because the usb port has been short-circuited. Year when it was time to update the mbp to El Capitan I had a few panic the kernel and the newspaper was shown as the last driver loaded the USB driver, so I kept the mbp with Yosemite. A few days ago, I updated for Sierra but only usb which used to work stopped working. It has enabled and turned on but Finder and disk utility does not see the drive. In an Apple dealer they said that could be established relationships with some oxide and next week will take it and see what the problem is.

    If there is someone with the same problems, please tell me what to do! I don't want to put in the trash my mac just for a flash drive... but I need!

    Hi Supermene,

    Thank you for using communities of Apple Support. Based on what you said, it appears as a USB device is not recognized in one of the USB ports. There are a few things that can cause this. I recommend you read these articles, which may be able to help solve the problem.

    macOS Sierra: If a USB device does not work

    Reset the management system (SCM) controller on your Mac.

    See you soon.

  • bought iphone7 pluse Qatar facetime doesn't work for the sim card of the India

    Hello Sir,

    I bought iphone7 pluse in qatar that the facetime doesn't work for the sim card of the India. and also before 2 years I bought the iphone 6, as well as in the same countries qatar, but that works perfectly and facetime works for me. the difference what I unbox my 6plus in indai, I unbox my 7plus in qatar and I put the sim card of sri lanka first and tried to India sim then and facetime disappear from the home screen. at the point where I insert my card sim of qatar is worrking. Please I need help. If I buy another piece of 7plus and bring it in sri lanka or India my facetime work? or what? I'm totally confused plese answer me as fast as you can

    FaceTime is forbidden by the law in Saudi Arabia and the UNITED Arab Emirates and is removed from iPhones sold in other countries of the Middle East, if they are used outside the country where they were originally sold. If you plan to use an iPhone outside the Middle East, then don't buy it in the Middle East. The one you bought there FaceTime was illegally imported from another region and sold it.

  • My App Store did not work... When I try to update or install apps it does not work. Can you please fix this?

    Can you please fix the problem? Appstore cannot update or install apps... App Store not worked yesterday.

    We cannot solve a problem for you, but we can make suggestions of troubleshooting...

    Have you tried restarting your iPhone yet?

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo.
  • Safari does not work after installing macOS Sierra

    Safari and apple store does not work after installing macOS Sierra

    Alas, my crystal ball is in the shop for cleaning, so you will need to provide more details on what "doesn't work" and above all error messages. First of all, let's start the App Store. Provide as much information as possible for those of us who do not sit on your shoulder.

  • My iPad Apple 3rd generation wifi + his cell phone does not work

    MY 3rd generation Apple iPad, wifi + cell

    model number MD408LL/a

    Serial number DM * VGL

    THE SOUND DOES NOT WORK

    < personal information under the direction of the host >

    All sounds, or simply notification and sounds apps (for example do music and videos app still have sound)? If notifications and apps you have notifications on mute: on the iPad side switch - Apple Support ? If the sounds in all applications which have tried for example soft-reset/reboot of the iPad, insert/remove the headphones?

  • After recent, iPhone, 6, update, Windows, Explorer, does not work, see, iPhone

    I installed the latest update required for my iphone ios 6 a few days ago, and now when I try to download pictures from my iphone to my PC (via USB connection), the PC does not see the iphone.   iTunes sees it yet, but windows Explorer does not work.  It seems that some setting has been broken through the update of ios.  A way to solve this problem?

    Restart the computer and the iPhone. Unlock the iPhone before connecting it to the computer. Any change?

    TT2

  • my iPhoto has stopped working

    My iPhoto has stopped working. I did clean up. Now, when I click it shows cannot be opened because of a problem. The problem has not said.

    What version of OS X (or, if all goes well, Mac OS) are you running?

    What version of iPhoto do you run?

    iPhoto was not maintained or updated updated by Apple for about eighteen months.  Photos taken app supported since that time.

  • QuickBook 2015 does not work on OS Sierra

    Hello! My quick book 2015 will not work on the newly installed MacOS Sierra. "You cannot use this version of Quickbooks 2015.app with this version of Mac OS" is someone has a solution to this problem

    Seems what intuit has changed their Quickbooks for a right to use a month for their application

    According to their web site. or a close to $300. cost for a licence of the only machine (more?)

    Some research suggests that QuickBooks version 17 exist, maybe it's the subscription model

    as their single version machine says it's version 16. For Intuit Quickbooks information, rely on them:

    • For Mac - accounting software - Intuit QuickBooks:

    https://QuickBooks.Intuit.com/Mac/

    The subscription models, suggest that they offer a "free trial" then a monthly fee.

    I have not read past the first page. -Not certain what options may exist, to Intuit.

    And I'm not a user of QuickBooks...

    Edited to add: see quickbooks support:

    Is Quickbooks for Mac going to Sierra? Is there an another altern...

    https://community.Intuit.com/.../1394425-is- QuickBooks- for-mac-goes-for -sierra- is-t

    Update 2015 is here: http://http-download.intuit.com/http.intuit/Downloads/2015/US_R8/QuickBooksProMa c2015.dmg

    Good luck and good hike!

  • After the installation of Sierra, calendar does not work

    After installation of Sierra, when you open the calendar on my Mac, missing entries and the screen is frozen with the comment 'Moving calendars to the server account.' I signed that I the cloud to see if it would help, but I still have this problem.

    Hello and welcome to Apple support communities, Stanley Star.

    If I understand your message to the right, at the opening of the calendars for the first time after upgrading to Mac OS Sierra, you are missing calendar events and the app is frozen with a message saying "moving to Server account schedules. Calendars, this is one of my apps used on my Mac, so I certainly understand the importance of having the opening and operating as usual. I'm happy to help you to turn it on again!

    Icloud and a signature was an excellent step to try. Here are the steps I recommend to do next:

    1. Check that the date and time are correct in your Mac by following the steps in macOS Sierra: set the date and time on your Mac.
    2. Close the present calendars on your Mac. If you are also reminders, close that as well as reminders and schedules work together. If the calendars close normally, will not force close it by clicking the  in the upper left corner of your screen, select force to close, select the calendars in the list of open applications, and then click the button close Force.
    3. Go to System Preferences > iCloud and uncheck the boxes next to the calendars and reminders.
    4. Restart your Mac.
    5. A times restarted, open again your calendar application, select "Calendar" in the Apple menu bar in the left corner of your screen, select "Add an account", choose iCloud and sign in with your Apple and the password.
    6. Give your calendar some time to sync and charge all your data. Once it is loaded successfully, and you can see all your events, open the reminders and do the same steps for signing in iCloud there are also well.

    Thank you for using communities of Apple Support.

    Take care.

  • Open the link behind Mail does not work

    Sierra using my link opened behind Mail does not work. The link opens on the top of the window.

    This option works for me in Sierra... is working for you with your previous version of the OS?

  • I've recently migrated my iPhotos to Photos, perfectly worked for a few weeks, but suddenly today, I can't open my photos in pictures

    I recently migrated from iPhoto to Photos worked perfectly and I used it for a few weeks, but today I can open my pictures suddenly not in pictures. What's wrong?

    No idea since we can't see you - you must provide details - why you can't open pictures? What is going on? What is you get the exact error message? What version of the operating system and Photos you have?

    and there's a photo for Mac forum, which is where you can ask questions Photos - I will ask to be moved your message

    LN

Maybe you are looking for

  • Upgrade RAM and disk on Tecra 8000

    I have a toshiba tecra 8000 p2 266 mhz, 64 MB, 6 GB HD. My question is I want to upgrade the ram and hard drive. can someone tell me what is the maximum I can put in my laptop. IM aiming for a 256 RAM and 40 GB HARD drive... I want to upgrade the pro

  • Portege M200: Start-up of the SD in HDD external

    "M200 Recovery using the floppy disk or SD cardPosted the: August 15, 2005 10:36I am posting this in the hope that it will help other people seeking to use the CD/DVD recovery, but without a bootable CD. I want to thank the Toshiba of TabletPCBuzz.co

  • Sony BDP-S185 autoplay

    anyway to disable automatic playback on Sony BDP-S185?

  • KB2626808 repeatedly tries to install and fails with error 0X64C

    Original title : I have a constant update KB2626808.  Error 0X64C message when I ask for help, they say Microsoft will fix this free security problem.  Is there a free phone number? I hav a problem of constant update error 0X64C KB2626808 message whe

  • ACER V3 - 571G - ACER Support site - NVIDIA GT 730 M drivers DO NOT WORK!

    Dear ACER, As a proud owner of a V3 ACER - 571G, I am very disappointed with the support page for this model. I reformatted the laptop with my own copy of Windows 8 and now the NVIDIA GT 730 M drivers in your support page can be installed. The contin