I put a custom list on a page then went to "Group By" under Modify View and selected 'Branch' (a column in the list). The list displays like this:

Branch: Financial (3)

Branch: Operations (5)

Clicking on 'Branch:' expands the list to show the items in that Branch. The names of the branches (Financial, Operations, etc.) have links on them. How do I get rid of those links and leave the text? Should I use XSL? jQuery? Something else?

I tried the following but it didn't work.


Also tried:

<xsl:value-of select="@Branch" disable-output-escaping="yes" />

A coworker helped me figure it out. I forgot the end parenthesis and semicolon. The code below worked. "c2fb4162" was part of the list ID in the link on the headers.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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