1 Reply Latest reply on Feb 26, 2013 2:56 AM by Tim Read

    Looking to rename a file(s) with dispatch - rename based on serial number

    Scott Smith

      Hi all,

       

      Ive found how to use dispatch to rename a file, but I cant seem to find out if its possible to rename a file using a number generated from a serial number (so get the next number available). Am I correct in thinking this might be more of an API task rather than a dispatch task? If so does anyone have any examples please?

       

      Thanks!

        • Re: Looking to rename a file(s) with dispatch - rename based on serial number
          Tim Read

          You are correct.

           

          However, you can set up files to generate serial numbers on being saved to the Vault through the EPDM Vault View and / or SolidWorks  or by setting up EPDM Templates to create the SolidWorks files. Then you can use the serial number in the Dispatch script.  Unfortunately, when you copy a file using Dispatch it will not generate a serial number.

           

          We decided NOT to auto generate Serial numbers but to assign them using an Add-In (the only Add-In we use). We have a Dispatch script to rename files based on Serial Number & Description on the RMB menu.