Hello? Is this thing on???
I know someone has to have updated the metadata for a pdf before. Yes,
I am very frustrated :)
Anyone have any ideas as to why it is updating the windows properties
and not the pdf properties???
Chandan Kumar are you around????
-Lori
-----Original Message-----
From: Stone, Lori
Sent: Friday, July 25, 2008 11:07 AM
To: CF-Talk
Subject: cfpdf update title metadata--HELP
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:309706
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4