5 Replies Latest reply on Feb 24, 2010 11:12 AM by gkaiseril

    How to get the current PDF filename?


      Hi everyone,


      I know this might be a question that has been asked millions of times but I couldn't find a direct answer.


      I'm using a work flow that comes with a Content Manager Solution so it is not Adobe this WF will generate a very long file name (about 30 characters) which will be used as the unique process number.


      To move to the next step in the work flow I have to update the table in the database and the record to be updated will use the process number.  What I did is I added a hidden text field to the form which should have the process number on the initialize function.


      Now my question is how to get the file name of the opened PDF file??


      I'm sure there is a function in JS but I couldn't find the way to do it.


      Thanks in advance guys for the help.