Is it possible to search for a document's internal <ID>#?
The "<ID>" is available to see in browse and search results, but I can't see how to add it to a datacard to allow searching for it.
This is a very common request from a few clients so I thought it was worth giving this a go with a right click menu add-in.
Import this CEX to your sandbox vault, setup a new card variable to store your DocumentID, right click one or more files (checked in or out), right click > Grab DocID, select the card variable you created to store the DocumentID, and the add-in does the rest.
Since your team has brought me plenty of work in the past, I thought this simple add-in was worth it for you guys and maybe this will help someone else.
The files can be checked out or not
Right click one or more files and select Grab DocID
Select the card variable to update. In my case, I made a card variable called DocumentID
The status dialog will stay on top while the work is being done
When the add-in is finished updating the DocumentID, you will be prompted with the standard "Check in" dialog
When the entire process is done, click the exit button.
This add-in is provided as-is without warranty, express or implied. Use at your own risk.
Hope this helps,
Believe in The Q!
No. This is the ID for the document in the PDM database, not the SOLIDWORKS internal ID.
Apologies if I was not clear; I want to search for the database ID for any file (pdfs, xls, etc). Not for the Solidworks internal ID.
I'm curious. Why would you want to search for that?
So we have a truly unique ID for each file.
We have "unique" document numbers, but we end up having several or many files in the vault with the same document number (ie solidworks drawing, pdf copy of it, dxf version, as-built scanned record, customer accepted scan, etc.). Some of my users want to quickly be able to communicate a specific file.
I'm curious as well. How would anyone know what ID to search for?
It would be on the datacard.
You could create a custom search for the file name and file type (by file extension) with the admin tool.
We only use our custom search tool in the vault and it yields better than expected results.
Yes it is currently very customized. Users would prefer to not have to select several options, just the ID#. I'd love to use the built in ID and not have to assign a new variable. But it is looking like that is not currently an option...
I'll write you a card button add-in that puts it in a datacard variable for you. No charge.
Wow thanks Tim!
NP. But don't thank me yet. LOL Just make sure it installed and works ok first
Let me know how it goes!
We need something similar but would like to run it as a task on a workflow transition. Is that possible?
You bet it's possible but the add-in would require modification. PM me for more info.
We just posted a blog about this topic, you can read here.
Retrieving data ...