7 Replies Latest reply on May 14, 2018 6:26 AM by Ulf Stockburger

    vb script check in/out from PDM

    Husein Delic



      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