Customizing 6WTags

For each field specified in config.xml, the sixw tag allows you to define if the field must be displayed in the 6WTags panel when searching.

Warning: Facets in 6WTags do not support doubles for the moment. Therefore, you cannot define a field type as DOUBLE (or combine it with another type, for example, type="DOUBLE,PARAMETRIC").

This task shows you how to:

Remove a Tag for an Index Field

To remove a tag from the 6WTags panel for an index field that is not hard-coded, remove the sixw tag from the config.xml file.

Remove a Tag for a Hard-Coded Field

To remove a tag from the 6WTags panel for a field that is hard-coded in the crawler code (see list below), follow these steps:

  1. Add a new section called bo_defaultbasics to your config.xml file:

    <BOTYPEFIELDS name="bo_defaultbasics">

  2. Below this section, copy the field for which you want to remove the tag:

    <FIELD name="LASTMODIFIEDBY" select="execute[emxPerson -method getFullName 'history.user[-1]']" type="STRING,PARAMETRIC" sixw="ds6w:lastModifiedBy"/> 

  3. Delete the sixw="" tag:

    <FIELD name="LASTMODIFIEDBY" select="execute[emxPerson -method getFullName 'history.user[-1]']" type="STRING,PARAMETRIC"/>

List of hard-coded fields

<FIELD name="TYPE_TAG" chooserJPO="emxAEFFullSearch:getTypeChooserValues" 
chooserURL="${COMMON_DIR}/emxTypeChooser.jsp" select="type" 
type="STRING,PARAMETRIC" sixw="ds6w:type"/>
<FIELD name="LABEL" select="evaluate[if (attribute[Title] != '') then (attribute[Title]) 
else if (attribute[PLMEntity.V_Name] != '') then (attribute[PLMEntity.V_Name]) 
else if (attribute[PLMEntity.PLM_ExternalID] != '') then (attribute[PLMEntity.PLM_ExternalID]) 
else (name)]" type="STRING" fastsort="true"  ramBased="true" sixw="ds6w:label"/>
<FIELD name="IDENTIFIER" select="name" type="STRING" hidden="true" sixw="ds6w:identifier"/>
<FIELD name="DESCRIPTION" select="evaluate[if (attribute[PLMEntity.V_description] != '') 
then (attribute[PLMEntity.V_description]) else (description)]" type="STRING" sixw="ds6w:description"/>
<FIELD name="INTERFACEFORKIND" select="execute[emxTagLineage -method getPredicateForType classinterface 'interface']" 
type="STRING,PARAMETRIC" sixw="ds6w:kind"/>
<FIELD name="ORIGINATED_PARAM" select="originated" type="DATE,PARAMETRIC" fastsort="true" 
ramBased="true" sixw="ds6w:created"/>
<FIELD name="MODIFIED_PARAM" select="modified" type="DATE,PARAMETRIC" fastsort="true" 
ramBased="true" sixw="ds6w:modified"/>
<FIELD name="RESERVEDBY" select="execute[emxPerson -method getFullName 'reservedby']" 
format="user" type="STRING,PARAMETRIC" sixw="ds6w:reservedBy"/>
<FIELD name="RESERVED" select="reserved" type="BOOLEAN,PARAMETRIC" sixw="ds6w:reserved"/>
<FIELD name="OWNER_FULLNAME" select="execute[emxPerson -method getFullName 'owner']" 
type="STRING,PARAMETRIC" fastsort="true" ramBased="true" sixw="ds6w:responsible"/>
<FIELD name="ORGANIZATION" select="organization" type="STRING,PARAMETRIC" sixw="ds6w:organizationResponsible"/>
<FIELD name="PROJECT" select="project" type="STRING,PARAMETRIC" sixw="ds6w:project"/>
<FIELD name="POLICY_TAG" select="policy" type="STRING,PARAMETRIC" sixw="ds6w:policy"/>
<FIELD name="REVISION_TAG" select="revision" type="STRING" sixw="ds6wg:revision"/>
<FIELD name="MAJORREVISION" select="majorrevision" type="STRING" sixw="ds6wg:majorrevision"/>
<FIELD name="MINORREVISION" select="minorrevision" type="STRING" sixw="ds6wg:minorrevision"/>
<FIELD name="POLICYCURRENT" chooserJPO="emxAEFFullSearch:getStateChooserValues" 
select="evaluate[policy+'.'+current]" type="STRING,PARAMETRIC" sixw="ds6w:status"/>
<FIELD name="LASTMODIFIEDBY" select="execute[emxPerson -method getFullName 'history.user[-1]']" 
type="STRING,PARAMETRIC" sixw="ds6w:lastModifiedBy"/>