In a previous article, Autodesk Vault 2018: It is All About the PDF!, we discussed the ability to customize the file names of PDFs created by the Job Processor during a transition to the Released lifecycle state. Let’s get into more details on how to make this customization.
First, you need to make a copy of the JobProcessor.exe.config file located in the <install dir>\Vault Professional 2018\Explorer folder. Use a text editing software, such as Notepad, to open and edit the file. Other applications may corrupt the XML file so be careful about the application that you use.
In the appSettings section after the (<add key=”TrueViewDwfPublishCount” value=”500″/>) line, you will add the following keys to customize the PDF name.
- Remove the file IDW extension from the PDF name
Key: <add key=”DesignRepresentation.Naming” value=”\.(idw)$/<_name_>“/>- \.(idw)$ Extension for which this rule applies
- <_name_> Source File name without extension
- / Separator
- Add a Prefix: PreFix–suspension.dwg.pdf
<add key=”DesignRepresentation.Naming” value=”\.(dwg)$/PreFix-<_name_> <_ext_>“/>- \.(dwg)$ Extension for which this rule applies
- PreFix- Prefix string
- <_name_> Source File name without extension (<_name_>)
- <_ext_> Source File name without extension (<_ext_>)
- / Separator
- Add a PostFix: suspension-PostFix.dwg.pdf
<add key=”DesignRepresentation.Naming” value=”\.(dwg)$/<_name_>-PostFix“/>- \.(dwg)$ Extension for which this rule applies
- <_name_> Source File name without extension (<_name_>)
- -PostFix Postfix string
- / Separator
- Add a Pre- and PostFix: PreFix-suspension-PostFix.idw.pdf
<add key=”DesignRepresentation.Naming” value=”\.(idw)$/PreFix-<_name_>-PostFix“/>- \.(idw)$ Extension for which this rule applies
- PreFix- Prefix string
- <_name_> Source File name without extension (<_name_>)
- -PostFix Prefix string
- / Separator
- Combine DWG and IDW rules
<add key=”DesignRepresentation.Naming” value=”\.(dwg)$/PreFix-<_name_>-PostFix/\.(idw)$/PreFix-<_name_>-PostFix<_ext_>“/>
Join the Beta Program!
We are starting new discussions in the Vault Beta program, and we need your input. It is your opportunity to drive the direction of new and existing features. Sign Up now! Join the Vault Beta Program
Irvin Hayes Jr.
Product Manager
Peter Van Avondt
Technical Sales Specialist