AnsweredAssumed Answered

vb script check in/out from PDM

Question asked by Husein Delic on Apr 29, 2018
Latest reply on May 14, 2018 by Ulf Stockburger



looking to make a vb script which can check in/out files during the state transition with execute command option. The problem I am facing is to reference to the file which should be checked out


Here is what i currently have:


Set vault = CreateObject("ConisioLib.EdmVault")

vaultName = "VAULT NAME HERE"

vault.LoginAuto vaultName, 0


Set objFSO = CreateObject("Scripting.FileSystemObject")

Set file = objFSO.GetFile("<Filepath>")


If True = file.IsLocked Then

        file.UnlockFile 0, ""

End If


Getting error:

File not found