Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Issues? We all have them, learn how to cope with them
{lucee-server}/WEB-INF/lucee-server/deploy{lucee-server}/WEB-INF/lucee-server/context/logs/deploy.logemail=[The email address used to purchase your extension]
licenseKey=[The license key you were provided at registration]
activationCode=[The activation code for your extension and server type]
serverType=[ Activation type. Optional. Default to "Production"] 


<cfpdfform
action = "populate"
source = "PDF file pathname|byte array"
destination = "output file pathname"
overwrite = "yes|no"
overwriteData = "yes|no"
xmlData = "XML object|XML string|XML data filename"
structData = "CFML Struct">
<cfpdfformparam name="" value="" index="" />
</cfpdfform>
<cfpdfform
action = "read"
source = "pathname|byte array"
result = "structure containing form field values"
overwrite = "yes|no"
xmlData = "variable containing xml values or an XML file path"
fdfData = "The absolute file path to export the data as FDF">
</cfpdfform><cfpdfform
action="populate"
source="#datapath#/report.pdf"
destination="#workpath#/report-out.pdf"
overwrite="true"
overwriteData="true"
result="myresult"
flatten="true">
<cfpdfformparam name="full_name" value="Ortus Rocks" />
<cfpdfformparam name="exam_date" value="#dateFormat( now(), "mmmm dd, yyyy")# #timeFormat( now(), "medium")#" />
<cfpdfformparam name="strategy_overview" value="Drink a lot of water!" />
<cfpdfformparam name="strategy_tips" value="Eat a lot of cheese!" />
</cfpdfform>
<!-- Deliver the file -->
<cfcontent file="#workpath#/report-out.pdf" type="application/pdf" reset="true" /><cfset data = {
"full_name" = "Ortus Rocks",
"exam_date" = "#dateFormat( now(), "mmmm dd, yyyy")# #timeFormat( now(), "medium")#",
"strategy_overview" = "Drink a lot of water!",
"strategy_tips" = "Eat a lot of cheese!"
}>
<cfpdfform
action="populate"
source="#datapath#/report.pdf"
overwrite="true"
overwriteData="true"
structData=data
flatten="true">
</cfpdfform><cfset jsonData = '{
"full_name" : "Ortus Rocks",
"exam_date" : "#dateFormat( now(), "mmmm dd, yyyy")# #timeFormat( now(), "medium")#",
"strategy_overview" : "Drink a lot of water!",
"strategy_tips" : "Eat a lot of cheese!"
}'>
<cfpdfform
action="populate"
source="#datapath#/report.pdf"
overwrite="true"
overwriteData="true"
jsonData="#jsonData#"
flatten="true">
</cfpdfform><cfpdfform
action="populate"
source="#datapath#/report.pdf"
overwrite="true"
overwriteData="true"
xmlData="c:\temp\data.xml"
flatten="true">
</cfpdfform><cfpdfform
action="read"
source="#dataPath#/report.pdf"
result="formData">
<cfdump var="#formData#"><cfpdfform
action="read"
source="#dataPath#/report.pdf"
jsonData="formData">
<cfdump var="#isJSON( formData )#">
<cfdump var="#formData#"><cfpdfform
action="read"
source="#dataPath#/report.pdf"
xmlData="formData">
<cfdump var="#isXML( formData )#">
<cfdump var="#formData#"><cfpdfform
action="read"
source="#dataPath#/report.pdf"
xmlData="c:\temp\export.xml"><cfpdfform
action="read"
source="#dataPath#/report.pdf"
fdfData="c:\temp\export.fdf"><?xml version="1.0" encoding="UTF-8"?>
<fields
><exam_date
>October 31, 2013 10:00am</exam_date
><full_name
>Populated by XML</full_name
><keystrengths
>After training, the dimensions of Radical Innovation upon which
you performed highest were RECEPTIVITY and SELF-INQUIRY.</keystrengths
></fields>