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