File Location and Status Query in SOLIDWORKS PDM Professional - GoEngineer
File Location and Status Query in SOLIDWORKS PDM Professional - GoEngineer
SUBSCRIBE
Two common technical support cases that come through our support queues for
SOLIDWORKS PDM are for assistance in understanding why a file cannot be checked in with a
“duplicate file name” message, and for help finding a file that “magically disappeared”. Most
of these support cases simply need a little explanation as to what is happening. To facilitate
understanding and locating such files, I have developed a Transact-SQL query and saved as a
Conisio Report file (.crp) that can be safely ran through the Report Generator feature of
SOLIDWORKS PDM Professional. PDM Administrators and colleages to whom I have shared
this query have found it very useful. This document will provide the query to the public as-is,
elaborate on the functionality of this query, provide how to use the query, and provide a few
use case scenarios/examples. Note that this feature is not included in SOLIDWORKS PDM
STANDARD.
Logistics
How do I install and run a .crp file query?
https://www.goengineer.com/blog/solidworks-pdm-pro-file-location-and-status-query 1/5
12/12/2024, 08:03 File Location and Status Query in SOLIDWORKS PDM Professional | GoEngineer
We have created a document to help with the process of Installing and Using a Report
Generator File
Where can I get your File Location and Status.crp file?
You can download the latest version of this .crp file here: File_Location_&_Status.crp
In the screenshot above, %.sld% is used as search criteria. This text means that you want to
output information about all files in the entire vault that has the text .sld in the first three
characters of the extension. The output results would include but not be limited to .sldasm,
.sldprt, and .slddrw files. If you are interested in only Microsoft Excel files, for instance, you
could search for %.xlsx or %.xls% if you also need Excel files with macros (.xlsm).
Clicking OK on the search interface of the query will output the flowing information:
https://www.goengineer.com/blog/solidworks-pdm-pro-file-location-and-status-query 2/5
12/12/2024, 08:03 File Location and Status Query in SOLIDWORKS PDM Professional | GoEngineer
Note: The file locations are relative to the root folder of the vault. File cyl.sldprt is located at
the root of the vault. Path of “\” means C:\MyVaultname\.
My file disappeared!
Typically, a file can no longer be found because of these possible things:
Currently, the query can be used to determine if the file cannot be found because of 1, 2, or
3. In a future version of this query, additional functionality will be added to determine if the
file being searched has been renamed (4) – stay tuned.
For this first scenario, you may know the name or part of the file name that you are looking
for. Suppose you were looking for “Mold Top” and “Mold Bottom” files which are
SOLIDWORKS part files. Using the PDM search did not yield results. However, running the
query through the Report Generator and searching for Mold%.sldprt will show you that the
files are still in the vault, but have been deleted. (see example table) You may recover them
by navigating to that path > right clicking on the folder indicated > properties > deleted items
tab. If there are no query results, then the files may have been destroyed, or renamed.
In a second scenario, suppose you are the designer searching for cyl.sldprt using PDM
search, you get no results. You run the query to search for cyl.sldprt and find that it is in a
“waiting for approval” state in which only approvers can see files.
Suppose you are the approver and can’t find the file cyl.sldprt through PDM search. You log
out as your user profile and log in as the Admin super-user to run a PDM search again, but
still no results. You then run the query and find that it has been misplaced to a location
which you do not have folder permissions to see files. You are now aware of what is
happening and can approach the issue accordingly. Keep in mind that even the Admin
super-user can have file visibility permissions revoked for X reason. The query may be your
only way to find information about a file you are looking for.
https://www.goengineer.com/blog/solidworks-pdm-pro-file-location-and-status-query 3/5
12/12/2024, 08:03 File Location and Status Query in SOLIDWORKS PDM Professional | GoEngineer
what the matter is and can now approach your PDM Administrator with the appropriate
request that would allow you to check in your file.
Get our wide array of technical resources delivered right to your inbox.
Email*
SUBSCRIBE
CONTACT
Stay up to date with GoEngineer news!
General Inquiries
Phone: 1-800-688-3234
Email: [email protected]
Technical Support
Phone: 1-888-559-6167
Email: [email protected]
https://www.goengineer.com/blog/solidworks-pdm-pro-file-location-and-status-query 4/5
12/12/2024, 08:03 File Location and Status Query in SOLIDWORKS PDM Professional | GoEngineer
Find a Location
Email*
SUBSCRIBE
Privacy Policy
Site Map
https://www.goengineer.com/blog/solidworks-pdm-pro-file-location-and-status-query 5/5