Periodically, files saved to EPDM are not always added to the vault but are saved locally. If you browse to directory which they are locally, the icon is greyed out. Rt clicking on the file you can select 'Add file to Vault'.
Is there any simple way of locating these local files so you can 'Add file to Vault'? If files are local you can not use search.
This typically happens with non-SW files such as pdf, corel and Inventor.
We have noticed this issue when our Doc Control tries to move a file to another directory, but the specified directory contains a local version, thus not allowing the Move. Next we try to 'hunt down' the User Machine which has the local copy. There must be an easier way to find these local copies.
Using EPDM2008.
Thanks, Tim...
SolidworksSolidworks Pdm enterprise Pdm
No easy way that I am aware of at this time. I have asked for this to be added every chance I get. The search will find a local file as long as every folder leading to that folder also has a local file in it. Hmm, not likely.
There is another way, but not a good way. Clear local cache. Then delete the vault view and leave the files and folders. Then select a chunk of folders and have Windoes tell you if you have any files in that chunk. If not, delete them and go on to the next chunk. If yes, cut the chunk in half and try again. Rinse and repeat until clean.
WT
Sorry to add a question to your question, but how is this possible? How can you 'save a file to EPDM' without it going into the vault? I thought the two were one and the same...
It happens. I think, but can't prove, that it mostly happens when you go to save and the server is busy or something. I think it saves as a local file just to make sure the save doesn't fail, but it leaves it as a local file. Then if you don't realize it, you have a bunch of local files scattered around.
WT
May be my suggestion is not direct answer to your question but, you can use the Admin.settings (Ref. Admin guide) to prevent the checkin operation when a file & it's references are outside a vault (local file)..This will help you...
Attached is a small application that will allow you to find the local files on your machine and add them to the vault.
I'm not responsible for any damages. Tested here and works. Souce code included.
L.
One problem with that solution is that it won't catch files that are not referenced, such as a PDF or jpg or something. It would also cause problems for us in that our library parts are not in the vault.
WT
I was wondering if anyone tested this and does it add the files to the vault as checked out, or does epdm have this capability in 2011/2012?
I have not tested that one, but that capability isn't yet included.
However, we have an app that was written by Tor Iveroth and added to by Mike Wohletz that looks for local files and gives you the opportunity to add them to the vault, go look and delete, etc.
Try this one and see what you think. Tor has said that he still plans a few things for this but hasn't had the time to work on it.
WT
We are running Enterprise 2012 SP5 and I keep getting an error when I try to run the LocalFileAdder. Is there a limitation on which versions it can be used? Or an updated version that works with SP5?
Thanks
Same issue here....2012 sp3.
Ok....you need a copy of the "Interop.EdmLib.dll" in the same folder as the LocalFileadder.xe.
Thank you. That solved the issue . I should have thought of that. Now the scary thing is it says there are around 300+ files but when I navigate to them there are no local files on my machine other than the swrx.jrnl files from crashes.
Yeah, I reviewed some of mine and I think some of those files are files that were deleted by another user and ePDM failed to removet hem from my local cache. Maybe I had them open at the time. So it ends up leaving them behind but they don't show up when browsing in the vault.
If they are writeable, then I think those are probably the ones that need to be added but I would review them just in case.
Robert,
sorry, I just saw this thread.
Very likely your EPDM user is set to see only files that are part of the vault. In the EPDM administration, right click the username and select settings, Explorer and check "all files", then you should see more files.
I am getting the same error as Robert.
So I copied the offending dll into the same folder as my exe.
Apparantly SW has renamed it to "Interop.SWEdmLib.dll".
So I copied it again in the folder and renamed it to "Interop.EdmLib.dll".
Still the same error, running 2012 SP4.0.
Any ideas to get it to run?
There is a LocalFileAdder tool available in the SolidWorks Knowledge Base. It can be found under Solution ID S-065070.
Jim S.