A setinfo updates title in document properties (comes up when you do a ctrl+D)in description or in the PDF tab when you do a right click or if you have professional you can also look in additional metadata. I just checked back and its working for me. Here is what i am doing: <cfpdf action=getinfo source="Output1.pdf" name=hello> <cfdump var="#hello#"> <cfset hello.title="hi there"> <cfpdf action=setinfo source="Output1.pdf" info="#hello#"> <cfpdf action=getinfo source="Output1.pdf" name=hello1> <cfdump var="#hello1#"> <cfdump var="#hello#"> <!--- both hello1 and hello would be identical --->
However it does not change a windows file properties (The one in general tab). Thats the file name that you can change by specifying that as destination in setinfo. Let me know if this is what you intend to do. If this doesn't work, you can send me your code and files to [EMAIL PROTECTED] ~Chandan >Nope it is still not working right. I appreciate that tip though. I >changed it to only update 1 record for testing purposes. When I right >click on the file first tab (General) The title says 1.19.2006 Task >Order X-functional flowchart.pdf. When I click on the PDF tab is says >fasdfa under Title. When I run the script I have the title that is in >the db and the file name output on the screen. Then I am doing the >getInfo after the setinfo to make see what it has been set to. The >getInfo is right but when I right click on the file I am getting the >same thing as before. (output below) > >________________________________________________________________________ >__________ >File exists! >UPDATED ># 1 >Updated FDIC ITAS Task Order Cross-Functional Flow Chart for file >C:\Inetpub\wwwroot\knowledgecollection\docs_new\1.19.2006 Task Order >X-functional flowchart.pdf > > > struct > Application PScript5.dll Version 5.2 > Author bdallas > CenterWindowOnScreen [empty string] > ChangingDocument Allowed > Commenting Allowed > ContentExtraction Allowed > CopyContent Allowed > Created D:20060120144909-05'00' > DocumentAssembly Allowed > Encryption No Security > FilePath >C:\Inetpub\wwwroot\knowledgecollection\docs_new\1.19.2006 Task Order X- >functional flowchart.pdf > FillingForm Allowed > FitToWindow [empty string] > HideMenubar [empty string] > HideToolbar [empty string] > HideWindowUI [empty string] > Keywords [empty string] > Language [empty string] > Modified D:20080730085449-04'00' > PageLayout SinglePage > Printing Allowed > Producer Acrobat Distiller 6.0 (Windows) > Properties [empty string] > Secure Allowed > ShowDocumentsOption [empty string] > ShowWindowsOption [empty string] > Signing Allowed > Subject [empty string] >WRONG!>>>>>>>>Title FDIC ITAS Task Order Cross-Functional Flow Chart > TotalPages 1 > Trapped [empty string] > Version 1.6 > >-Lori > >Yes I am :) > >I am a bit confused on what are you trying to do and please correct me >if i have got this wrong. > >><cfset PDFinfo.Title=getDocTitles.doc_title> >this would set the title in PDFinfo > >><cfif fileexists(filepath)> >> >><cfpdf action="getInfo" source="#filepath#" name="PDFInfo"> >This will override whatever was set earlier in PDFInfo >> <cftry> >> >> <cfpdf action="setInfo" >>source="#filepath#" info="#PDFinfo#" destination="#filepath#" >>overwrite="yes" > >This would set the previous metadata back on pdf as PDFInfo hasnt been >updated >> <cfpdf action="getInfo" >>source="#filepath#" name="PDFInfo"> >Will fetch the same result back > >Try using <cfset PDFinfo.Title=getDocTitles.doc_title> after you first >call for getinfo and see if thats what you want. > >HTH, >Chandan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:309962 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

