House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfpdf update title metadata--HELP

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stone, Lori
07/25/2008 11:10 AM

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


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists