- AFAIK there is no way to do this.
- This would require writing a program or add-in using the PDM API. What would trigger it?
- In the user settings there is an option "Always work with latest version of files." However, it applies to all files. Also, I'm not sure it will automatically cache a newer version. Again this might require some programming although I'm not sure how you'd do this with links.
Thanks for the reply.
- I was hoping a command prompt line such as "edmserver.exe /logout PDM_Vault"...but that's just wishful thinking I guess.
- It can be triggered by a periodic timer or...now that I think about it, I can probably just delete the whole folder in the C:\<Vault>\ path with a DEL command in windows on the workstation and put it in windows task scheduler. (i.e. "DEL C:\<Vault Name>\Projects\ /s /q /f"). Just tried this and it works for my case since the shop people only have read-only access to the vault and never check-out a file.
- Yeah, I tried that option, it doesn't cache new versions. It only defaults to latest version in the check-out dialog for references. UPDATE: It is somehow working now only if you access the file with windows explorer (Vault View). Not with a link from another application. weird.
It is not sure that is what is necessary, but there is still an option with Web Server with access through Internet Explorer.
There too is a local cache the location of which can be changed as for local views (it for computers where is not present the client of PDM).
There, if I am not mistaken, it is possible just to refresh pages.
In this case, instead of PDM File Viewer it is possible to use very convenient program - XnView (v.2.42) which with addition of gs854w32.exe allows to view PDF and many other formats.
And this viewing sometimes is even more convenient than in PDM. However, it seems there is no opportunity to see a status of files, links, etc. But if it is not necessary - very interesting option (at least for experiments).
Why XnView 32-bit version? Is and 64-bit, but at that time when I tried it - there were some problems with PDF (I do not remember precisely what). Perhaps, now these problems are absent any more.
Not everything can it is so convenient as there is a wish, but as is.
Also, I looked for other method of the solution of a question - but also here without Add-in it not to turn out -
You can kill EdmServer with command - taskkill /im edmserver.exe /f but I think you can not call this command from browser link.
It will force you login to vault in next request of any PDF file.
Think you can not simply copy released PDFs to network location and view from there? Is it possible in your environment?
Yes, I actually tried that but it doesn't log the user out, it just "terminates" their connection. Thus all the events that happen during log out don't happen such as clearing the cache and cached files stay in local drive.
1- You can set timeout period for all licenses inc. PDM from SNL.
For more info please see attached PDF
I believe the timeout only works if someone else is actively trying to log in. For example if User X logs into PDM and takes the last license. User X is idle for 30 mins (or whatever timeout is set), then User Y is trying to log in, then only User X will be logged out.
Correct. I've already tried this. and even then it doesn't completely log the idle user out as soon as a license is available they "reconnect".
Found an explanation here: https://hawkridgesys.com/blog/tips-for-auto-logoff-in-solidworks-enterprise-pdm
If target is the latest version of files, it is possible for it can be done without Log Out/In in Vault?
Can use for this purpose better a command of receiving the latest version or cleaning / up-dating of a cache without Log Out/In?
Or target another?
Perhaps it needs to be specified in addition as it can be understood on a miscellaneous.
Idle license timeout is just that, the PC needs to be idle for the time you specify then the license will be returned to the server, flagged in the log as IN ... (INACTIVE). As soon as the PC is no longer idle the same license type is taken back out by the user. I don't believe it logs the user off the vault, but I have not specifically looked. The point of idle timeout when it works, is that a user shouldn't know it's happening.
The issue we have is if that specific license type is all in use upon coming out of idle, it doesn't "roll" to the next available license type and can cause an error. i.e. cadeditor to cadeditorandweb to processor.
Some FlexLM based software can be written as the software vs the PC (mouse movement) being idle. I am not sure which SWx uses.