Home > CMS- Content Management System > Sharepoint > How to remove Hyperlinks from SharePoint Lookup Column

How to remove Hyperlinks from SharePoint Lookup Column

Whenever we add a lookup column in the Data View, that column automatically gets linked to it’s master list. This is a good feature since it gives more information on demand without any coding. But there are no straight forward method to remove that hyperlink from the Data View. There are occasions where we need to remove that Hyperlinks.

We can do this by customizing the XSLT of the Data View. Open the Data View in SharePoint designer and change the  <xsl:value  /> of the lookup column with code given below.

 Change above code’s “LookupColumnName” with proper column name.

NOTE: Above code will not work if Multiple values is enabled in the lookup column.

This Article is TAGGED in , , . BOOKMARK THE permalink.

Avatar photo
Sujoy Dasgupta
15 years of technology industry experience in Microsoft technology. Strong technical experience in SharePoint Online, SharePoint Classic & Modern, SPFx, Power BI, PowerApps, Power Automate, O365 tools, SharePoint Admin Center, SharePoint On-premise development, Asp.Net web application, Sharegate migration tool & Nintex workflow. .

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">