Home > Default > Load image dynamically by scripting to dynamic xml pdf, is it possible?

Load image dynamically by scripting to dynamic xml pdf, is it possible?

November 30Hits:0
Advertisement
Hi All,
I've uploaded static pdf form to http://groups.google.com/group/livecycle/web/logo.pdf.
The form contains ImageField.
In the "docReady" event of the form I wrote a script:
ImageField1.value.image.href="http://www.quicksoft.co.il/images/
quicksoftlogo2.jpg";
When the form is loaded the ImageField shows the image from the url
I've updated in the script.
Once the form is saved as dynamic xml pdf the script stop working.
Is that means that it is not possible to load images by scripting to
dynamic xml pdfs?
Anyone familiar with workarounds for it?
Thanks in advance,
Rbuz

Answers

I got an answer from Adobe:
Dynamic change of an image href has been disabled due to potential security issues. There are however a few workarounds to choose from:
1. Embedding the images in the form as hidden objects. They can then be set to visible on initialize or clicking a button. This will affect performance, but if the images are in a compressed format, this can be minimized.
2. Create a Web service interface to grab the image from wherever they are stored, base64 encode it and return it to the form. You would also have to update the bindings for the image field on the form (a one time operation).

Read other 3 answers

Tags:

Related Articles

  • Load image dynamically by scripting to dynamic xml pdf, is it possible?November 30

    Hi All, I've uploaded static pdf form to http://groups.google.com/group/livecycle/web/logo.pdf. The form contains ImageField. In the "docReady" event of the form I wrote a script: ImageField1.value.image.href="http://www.quicksoft.co.il/ima

  • Converting Livecycle Dynamic XML pdf forms to Word?November 30

    How do I convert a dynamic XML pdf form created from Livecycle designer ES to Microsoft word? I have Acrobat X and when I click on File -> Save As - > and choose 'Save as type' as "Microsoft Word Document (*.doc)", I am getting this messag

  • Adobe Reader for Android to work with dynamic XML PDF forms?October 11

    Any possibility that Reader for Android will ever work with dynamic XML PDF forms created by Abobe Acrobat Pro?GoodReader ($4.99), ezPDF Reader ($2.99) and PDF Expert ($9.99) are well rated and support many more features. Here a link for your referen

  • AS3 loading large dynamic XMLNovember 30

    Hi! I have dynamic XML file written in PHP, that I'm loading into the Flash. (http://twittersiena.lv/content.php) There are two problems      - Loading takes too long time. Maybe there are some workarounds to make it load at least a bit faster. There

  • Dynamic XML PDF not importing fieldsNovember 30

    I have a PDF developed in Livecycle and saved as a dynamic XML. My database is MS Access and from this I've exported a query saved as an XML file, a XSD schema and an XSL stylesheet. (files attached) I'm trying to populate the PDF from the above ment

  • Dynamic XML PDF crashing out in Windows 8November 30

    Hi all - I created a PDF using LiveCycle Designer, saved as a dynamic XML form.  The form works perfect on any Windows 7 machine I have ever tested against, on machines using Acrobat reader X, XI, and all Pro versions (I've been building these types

  • Help needed on Dynamic XML PDFOctober 11

    Hello, I have an urgent need of help. We had a client requirement to develolp a custom form fillable Flowable template. We used adobe LiveCycle Designer to create a flowable form where fields can be suppressed\expanded to save space. LiveCycle form f

  • Dynamic xml pdf form, but actions not allowedOctober 11

    I have built a form and would like to make the users aware that some fields are compulsory. With the validation I only see American options for postcode or telephone. When I create my own example it is not accepted (disappears). Actions can't be adde

  • Adobe Dynamic XML vs Static pdfNovember 30

    I created a form with LifeCycle Designer ES2, with actions. When saved as Adobe Dynamic XML (pdf), it works flawlessly, however the file size is around 1 MB. When I save it as Static PDF, the file size is reduced to 195k, but the actions don't work a

  • How to convert static pdf file to dynamic xml form pdfNovember 30

    Hi All, I have generated one pdf report. I need to do build some logic in that generated pdf file. For this i need to convert this generated static pdf file to dynamic xml form pdf using Adobe LifeCycle Desinger. I opened my generated static pdf in A

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.708 s.