Problem
Many things can prevent a user from being able to access a file in PDM. This will result in a file that cannot be opened or a file being locked to read-only. There are a number of ways to release these "locks", but they may require some intervention from a PDM admin.
The three primary ways that a user may be prevented from accessing a file in their vault are:
- The file is currently checked out by another user
- The file is in a "Private State"
- The file is still a "Local File"
This article will go over some ways to identify these files and determine how best to get the files back to being accessible in the vault.
Solution 1: Checked Out Files
When a file is checked out by a user, this means that it is currently in one of your PDM Workflows. A file will show as checked out by another user in the local vault view and on a different computer. These are both important to note when seeing by whom and where a file is checked out.
To find all checked-out files, or files checked out by a specific user, the PDM complete search can be used. The complete search card is available in a default PDM configuration:
Once in the complete search card or the Search tool, access the tab titled "Checked in/out," select "Display checked out files," and pick a user from the dropdown to view a specific user. In the "Name and Location" tab, we can specify where we are searching, whether it is a specific project or the entire vault.
When pressing Enter after selecting this information, a list will populate with all of the checked-out files pertaining to the criteria set (file location and user).
When attempting to check in a file to the vault, we will need to be signed in as the user who checked the file out and on the same device that the user checked the file out on.
If the computer is no longer accessible, then the next thing to do is to attempt to undo the checkout of the file. This can be accessed through the right-click menu and generally requires Admin permissions. If we undo checkout on a file, the changes made by the user since the last checkout will be lost. This is sometimes a necessity to get the file back in. We encourage users to take caution when performing this action.
Solution 2: Private State Files
Private state files are files that have been saved into a user's PDM vault but have not yet been checked in for the first time. Generally, only the PDM admin will be able to see these files, but in PDM Professional, a user folder permission can be assigned to see these files. This can be done from the SOLIDWORKS PDM Administration tool > User or Group > Folder Permissions, which may see files before initial check-in (Private State)
In most cases, users being able to see Private State files generally just causes clutter, so most of the time it is encouraged to leave this for Admin users.
The first thing to attempt when running into Private State files is to have the user access their vault view and attempt to check the file in. This (as with checked-out files) needs to be done from the original computer the file was saved into the vault with. If checking in the file as the user is not an option, then the PDM admin will likely need to attempt to undo the checkout on the file. This can sometimes be challenging and may result in very little data being stored in the file itself.
If this undo checkout fails, it may be necessary to just delete the file from the vault. This will at least assist in removing excess data with no purpose in the database. The file will need to be recreated if it is deleted or restored from an outside backup.
Solution 3: Local Files in Vault Views
Finally, we would like to touch on Local Version files. These files are generated in many ways, but some primary examples of how they may come to exist are:
- A user has moved a file, and the local cache contents of their vault have not been cleared
- A user has added a file to the vault, but it cannot find an appropriate way to be included in the vault (for example, duplicate file names or unexpected file extension)
- The vault was accessed by another user who had different view permissions, and their cached files were left behind (for example, the user's computer was accessed by the PDM Admin)
The first thing to try for a local file is to right-click and select "Add to file vault."
After attempting the "Add to file vault" action, the file may be added to the vault. If not, the file will be left in a "Local File" state. This means that there is likely a conflict similar to the situations mentioned above. If this file cannot be added, then consider these next steps.
It may be worth doing a complete search for the file itself in the Vault root. This file may have been moved or renamed, and a suitable replacement file may be accessible somewhere else. Here is what we might enter into your complete search:
If we find a duplicate, confirm whether or not the local file is able to be replaced by this file, or give the local file a new name. If it seems that the file was moved to a new location, we recommend that the user delete the file from their local vault view.
If this is not the case, then discuss with your PDM administrator whether there is a valid workflow for the file to enter into (i.e., the folder is acceptable for the file to be in, the file extension has an appropriate workflow to be in).
For additional support, existing customers can submit a ticket or new customers can contact Hawk Ridge Systems.
Comments
Article is closed for comments.