This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I pull the ID number of published pdf that uses VC lite not that of the released document

The majority of our documents that use a VC lite workflow contain a link to the document ID however when the document is released and a published pdf is generated it keeps that of the released document and not that of the published pdf.

Any ideas how I can achieve this?

Thanks in anticipation

K

Parents
  • How are you generating and adding the link to the document, for instance is it stored in a property that you add into a Word template in the working copy? And second, at what point and how is the published version converted to a PDF?

    I think there should be a way to get the correct link into the published version as long as you update the link in the editable file (e.g. Word) before it is converted to PDF, but the configuration details depend on the answers to the questions above.

    Note that in VC Lite terminology, "published" and "released" usually mean the same thing. Working copy is the one that you edit and approve after which a published/released version is created.

  • The link has been added in the working copy template which reaches 'released' on approval.  Then the document is converted to a pdf in the second workflow and 'published'.

    I was wondering if a script or extra state before the conversion 

    Below is a snip of the second workflow

     

  • If the link is inserted from a property, you may need a small script before the PDF conversion to update the value in the template: UpdateMetadataInFile

    However this depends on if the published version has the correct link in its metadata. I still didn't quite understand how the link is formed and inserted into the template.

  • The link has been inserted into the working document by using the M-Files add-in, then insert property

  • So then the question is: where would you get the correct link for the published version? Is the link property auto-calculated somehow so that it is correct in the published version's metadata and you just need to get it updated in the template?

Reply Children