Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
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
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 ?
Bas
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:
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