I have a simple goal that’s probably just one line of code to be added (or change what’s there) to the following SDK script. A former associate wrote this script and no longer is with the company, so you all are my biggest hope. Here it is:
Protected Overrides Sub Execute() 'Write your code here. The BoundEntryInfo property will access the entry, RASession will get the Repository Access session dim ex as new DocumentExporter dim doc as DocumentInfo = Document.GetDocumentInfo(integer.Parse(GetTokenValue("Entry ID")),RASession) ex.ExportPages(doc,new PageSet("1-" & doc.PageCount),"\\fsstl06\userdirs\Scanning\Emma_Securian\NB\STL\" & gettokenvalue("Entry ID") & ".tif") End Sub
What I want to do is export the document to PDF, assuming I would use the ExportPdf method on “ex”. Also, how would I add metadata to the file name during the export? Thanks for the help!