cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Search by Folder Name type in Windchill

ptc-5378829
1-Visitor

Search by Folder Name type in Windchill

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

8 REPLIES 8

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.

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

MikeLockwood
22-Sapphire I
(To:mdebower)

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

Not enough coffee yet today (or maybe beer).

mrane
12-Amethyst
(To:ptc-5378829)

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.

mrane
12-Amethyst
(To:mrane)

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 ?

Bas

LoriSood
22-Sapphire III
(To:ptc-5378829)

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:

Updated SearchableTypes.properties

File located under <WT_HOME/codebase/com/ptc/windchill/enterprise/search/server/:

PDMLink.allSearch=wt.esi.ERPMaterial,wt.esi.ERPPartSpecificPlantData,

wt.change2.WTChangeIssue,wt.change2.WTChangeRequest2,

wt.change2.WTChangeOrder2,wt.part.WTPart,wt.doc.WTDocument,

${domain}.DefaultEPMDocument,wt.workflow.engine.WfProcess,

wt.part.WTProductInstance2,wt.part.WTProductConfiguration,

wt.query.template.ReportTemplate,wt.vc.baseline.ManagedBaseline,

wt.meeting.Meeting,wt.inf.library.WTLibrary,wt.pdmlink.PDMLinkProduct,

wt.dataops.archive.Archive,wt.maturity.PromotionNotice,

wt.workflow.forum.DiscussionPosting,wt.workflow.notebook.ImportedBookmark,

wt.workflow.work.WorkItem,wt.change2.WTVariance,

com.ptc.windchill.enterprise.report.Report,com.ptc.wpcfg.doc.VariantSpec,

${domain}.Note,${domain}.DynamicDocument,

com.ptc.windchill.ixb.importer.ImportJob,com.ptc.windchill.wp.AbstractWorkPackage,

com.ptc.core.managedcollection.ManagedCollectionImpl,

wt.part.alternaterep.WTPartAlternateRep,com.ptc.windchill.rd.ReceivedDelivery,

com.ptc.windchill.option.model.Choice,

com.ptc.windchill.option.model.Group,com.ptc.windchill.option.model.Option,

com.ptc.windchill.option.model.OptionSet,wt.folder.SubFolder

Updated SearchableAttributesByType.properties (same directory as above):

advancedSearch.wt.folder.SubFolder=name

Restarted Windchill

Ensured that Folder was selected in the Search > All Applicable Object Types Search preference:

11-3-2014 12-49-45 PM.jpg

Added Folder to the Advanced Search types and searched by Name

11-3-2014 12-51-45 PM.jpg

11-3-2014 12-53-06 PM.jpg

I tried the same but the folder does not appear in my search list ...

My Windchill is 10.1 M030

Announcements


Top Tags