Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

It is not possible when using the TaxonomyFilterGenerator to set the title of the refinement category to whatever we want to appear in the refinement panel, as it now has to match the term set name. This also means the “Any…” link under the refinement title also uses this new title.

Is there a way around this, I must have a custom Title here, any suggjestions?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Can be done in the xsl (if you have a custom one load it) or do it directly in the web part editor:

  <xsl:if test="string-length($DisplayName) &gt; 0">
    <div class="ms-searchref-categoryname">
      <xsl:choose>
        <xsl:when test="$DisplayName  = 'Editor Keywords'">
          NewName
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="$DisplayName"/>              
        </xsl:otherwise>
      </xsl:choose>
    </div>
  </xsl:if>

Basicly all in refiners title and categories etc can be custemised here...

or

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.