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

We are happy to announce the new Windchill Customization board! Learn more.

Hide Attribute From Search Page

mrane
1-Newbie

Hide Attribute From Search Page

Hi,

Is it possible to hide IBA's (Standard and Global) from the attribtue drop down list on the search page? I dont think it is possible using profiles.

Thanks.

3 REPLIES 3
LoriSood
22-Sapphire II
(To:mrane)

Malavika,

Profiles will hide the attribute from more than just the search page.

If you want to avoid all users from being able to search by certain attributes then you can update the <WT_HOME>/codebase/com/ptc/windchill/enterprise/search/server/SearchableAttributesByType.properties to remove the attribute from the type.

Example:

To avoid searching on End Item attribute for WTPart in the Advanced Search change

advancedSearch.wt.part.WTPart=CostEstimateType,CostVerdict,TargetCostWithUnit,CostEstimateConfidence,CostEstimateWithUnit,rohs_consumer,rohs_infrastructure,rohs_server,jig_a,jig_b,jig_101_regulated,jig_101_for_information_only,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,organizationReference,oemPreference,endItem,versionInfo.identifier.versionId,iterationInfo.identifier.iterationId,jobAuthorizationNumber,phase,contractNumber

to

advancedSearch.wt.part.WTPart=CostEstimateType,CostVerdict,TargetCostWithUnit,CostEstimateConfidence,CostEstimateWithUnit,rohs_consumer,rohs_infrastructure,rohs_server,jig_a,jig_b,jig_101_regulated,jig_101_for_information_only,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,organizationReference,oemPreference,versionInfo.identifier.versionId,iterationInfo.identifier.iterationId,jobAuthorizationNumber,phase,contractNumber

mrane
1-Newbie
(To:LoriSood)

Lori,

Remvoing attribtues from serchableAttribtuesByType.proeprties was my first bet. However, these are IBA's(Global and Standard) that I have to hide.

Note : The IBA's show up in the query builder of the search page without having to add them explicitly in the serchableAttribtuesByType.properties

Therefore, is there another way of hiding these attributes from the search page ?

-Malavika

vmhala
6-Contributor
(To:mrane)

Document CS152986 suggests its an enhancement request.

This is not working in Windchill 10.1 M040 either. The requirement is to hide the Global attributes from the attribute drop down list on the search page.

Is there any option to selectively make attributes visible on the attribute drop down list on the search page depending upon the profile  / user ?


Does anyone have a  workaround to this issue ?

Top Tags