Skip to main content
1-Visitor
October 31, 2014
Question

Search by Folder Name type in Windchill

  • October 31, 2014
  • 2 replies
  • 6700 views

Hi,

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.

Bas Luk

2 replies

22-Sapphire I
October 31, 2014

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.

18-Opal
October 31, 2014

Mike,

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!)

-marc

22-Sapphire I
October 31, 2014

Oops - I meant to type before ....pretty sure that you can NOT search by subFolder.

Not enough coffee yet today (or maybe beer).

1-Visitor
November 3, 2014

Folder object type is not searchable by default. However, the following tweaks can help:

  • Types shown in the type picker on the Advanced Search is driven by 'All Applicable Object Types' preference. The value for this preference is taken from searchableTypes.properties file.
  • Add the internal name of the object type (ex: wt.folder.SubFolder) to searchableTypes.properties against allSearch component id.

ex : PDMLink.allSearch=wt.folder.SubFolder,......

  • Restart windchill
  • goto Preference Manager > Search > All Applicable Object Types Preference
  • Set the preference value. The wizard shows a type picker
  • In the type picker you'll be able to see the folder obejct type as unselected. Select it and click on ok.
  • Launch the type picker on the advanced search page. It will now start showing the newly added object type viz Folder.

Please note: I am not sure if PTC would recommend adding extra types or sub-types to the object type picker.

1-Visitor
November 3, 2014

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.