Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I see that you can add it to the table view, but would like it to be a search criteria. We are changing lifecycle templates, and want to filter out objects that we've already changed.
Hello
You can use a Info*Engine Task or the Windchill Java API to search for the life cycle template of an object.
Yes,but the end goal is to use the actions from the search results table to "Reassign Lifecycle Template" and info*enginer or java api, it would get more complex than it needs to be.
Dave DeMay pointed me in the right direction i think
<wt_home>\codebase\com\ptc\windchill\enterprise\search\server\ t
there are serveral properties files one SearchableAttributes.properties and another SearchableAttributesByType.properties
so to the SearchableAttributes.xconf file i added a property
<property name="lifeCycleTemplate.name" default="MBA|state.lifeCycleId^WCTYPE|wt.lifecycle.LifeCycleTemplate~MBA|name"/">
and to the SearchableAttributesByType.xconf i modified a property
<property name="advancedSearch.wt.part.WTPart" default="rohs_consumer,rohs_infrastructure,rohs_server,jig_a,jig_b,reach_svhc_candidate,reach_svhc_authorization,reach_svhc_restricted,reach_svhc_suspect,gadsl_and_imds_app_prohibited,elv_automotive,thePersistInfo.createStamp,iterationInfo.creator,defaultUnit,lock.locker,search_name,search_number,ownership.owner,source,state.state,partType,thePersistInfo.modifyStamp,iterationInfo.modifier,view.id,organization.id,oemPreference,endItem,versionInfo.identifier.versionId,iterationInfo.identifier.iterationId,lifeCycle.id"/">
xconfmanager -p
restart windchill
no luck. Any thougths?
In Reply to James Felkins:
Hello
You can use a Info*Engine Task or the Windchill Java API to search for the life cycle template of an object.