4 Replies Latest reply on Jul 24, 2018 10:31 AM by Robert Voogt

    Access files from PDM without having them local

    Robert Voogt

      Hi all,

       

      I use this to load a folder on our PDM:

       

      FolderPath = "C:\PDMWorks View\Company\Sub samenstellingen\SA00120000-SA00129999\"
      ProcessFolder fso.GetFolder(FolderPath)
              For Each subFolder In folder.SubFolders
          
                  ProcessFolder subFolder
          
              Next
      

       

      (And then some code follows)

       

      It succesfully opens files from within this folder, and processes them correctly. However, it will only open those files which are local (I have opened them before or "get latest version")

       

      Is there a way to still access these files? Like have the code do a "get latest version" step first?