We are using Windchill 10.0 M030 and I found a problem when I want to search by Folder Name type. As a result of history matters, many objects are stored and identified by the folder it is placed in (just like the Windows Explorer). Unfortunately this type of object can't be choosen to search for in Windchill (see att.) or did I miss a thing? I only found some discussions/solutions/articles about building queries but that should not be the way for the normal end user in my opinion.
Thank you very much in advance for your help.
Pretty sure that you can directly search for a subFolder (location).
I created a query builder report that returns all folders by context (was a bit of a trick).
Can likely extend it to add documents and allow the user to enter needed document criteria.
I looked in the advanced search and didn't see any choice for folder, subfolder or location under type. Not sure that you can search for a folder from what I see...
Maybe I am looking in the wrong spot. (Wouldn't be the first time... not even the first time today! ha!)
Oops - I meant to type before ....pretty sure that you can NOT search by subFolder.
Not enough coffee yet today (or maybe beer).
Folder object type is not searchable by default. However, the following tweaks can help:
ex : PDMLink.allSearch=wt.folder.SubFolder,......
Please note: I am not sure if PTC would recommend adding extra types or sub-types to the object type picker.
Further thoughts ...
With the above soultion you'll be able to do a simple single object type search i.e. you may not be able to give any specific crtieria. Since, the attributes defined on the folder object type will not be available in the querybuilder of the search page.
Thank you all very much for you response until now!
I will discuss your solutions with our reseller and will share the result.
Maybe it's also a solutions for another unresolved question of me regarding Primary Content attributes of documents Re: Primary Content search in Windchill ?
Malavika's suggestion will work. If you want to be able to search on Folder name you will also need to update the SearchableAttributesByType.properties.
Here is what I did:
File located under <WT_HOME/codebase/com/ptc/windchill/enterprise/search/server/:
Updated SearchableAttributesByType.properties (same directory as above):
Ensured that Folder was selected in the Search > All Applicable Object Types Search preference:
Added Folder to the Advanced Search types and searched by Name
I tried the same but the folder does not appear in my search list ...
My Windchill is 10.1 M030