Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 14291

How do I populate PDF Image from ColdFusion?

$
0
0

I created a simple LiveCycle PDF that has 1 image and 3 textfields. Using the ColdFusion code below, I was able to pass data from ColdFusion into the form. However, I can't figure out how to dynamically populate the image. When I run the code, the image is always empty.

 

Does anyone know how to do this? All of my image paths are stored in a database and need to be dynamic.

 

 

 

ColdFusion Code

---------------------------------------------------------------------

<cfpdfform source="c:\webs\testpdf.pdf" destination="c:\webs\result.pdf" action="populate" overwrite="true">    <cfpdfsubform name="form1">        <cfpdfformparam name="img1" value="C:\webs\jellyfish.jpg"/>        <cfpdfformparam name="txt1" value="Swatch 1"/>        <cfpdfformparam name="txt2" value="Orange"/>        <cfpdfformparam name="txt3" value="Summer 13"/>    </cfpdfsubform></cfpdfform>

 

 

Note: Using ColdFusion 9


Viewing all articles
Browse latest Browse all 14291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>