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

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309691
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to