I created a dispatch script to automatically check in a file when someone creates a file or drags and drops it into the PDM. if the file already exists I want to then do an edit box to have them enter a different file name and then try the check in again so it can be checked in.
Is there a way to see the "checked out by" name in the dispatch script? At least then i could process the failed check in that way.
SolidworksSolidworks Pdm enterprise Pdm
You can rename files with Dispatch. That part could be done with user input. But to trigger your Dispatch Rename script only when there is a duplicate filename in the vault sounds tricky (I don't know how to do that).
And what if they really are the same file already?
For ideas if you have not used Dispatch much - Re: Controlling Documents Which Were Created Outside EPDM InsideThe Vault