Sorry for cross-posting, but didn't get an answer in the API section so I was hoping to have more luck here. Previous post: Macro to pull in DXF/PDF from server is missing files Full details there, but essentially, any file within the vault is not visible to a macro running in Outlook unless I've manually viewed it (or merely clicked on it) or done a "Get" command on it. Files that don't have a local copy won't be accessed by my macro, even when I try to explicitly pull them in with the macro. Anyone know how to fix this?
If the file is not already in the local cache, your macro is going to have to log into the vault and get it. (GetFileCopy) It won't happen automatically unless you are using Windows API to access the file. (PDM watches for Windows events to get files for you automatically, you're probably not using these?)