I am using cfpdf to update the metadata for a bunch of pdf files. It is
updating the title in the windows properties but not the pdf properties.
This is not working well with the verity search. Am I doing something
wrong or is there another way to do this?
<cfset PDFinfo.Title=getDocTitles.doc_title>
<cfif fileexists(filepath)>
<cfpdf action="getInfo" source="#filepath#" name="PDFInfo">
<cftry>
<cfpdf action="setInfo"
source="#filepath#" info="#PDFinfo#" destination="#filepath#"
overwrite="yes" >
<cfpdf action="getInfo"
source="#filepath#" name="PDFInfo">
<cfcatch type="any">
Could not update
</cfcatch>
</cftry>
<cfelse>
File does not exist!<br><br>
</cfif>
Thanks!
Lori