Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Show Lookup field on page layout as plain text (not a link)

$
0
0

I am working on a public website. A content type for certain web pages has lookup fields. I want to display the values of those as just plain text, not the link to the lookup value.

I have tried this:

<SharePointWebControls:FieldValue FieldName="TIPart" runat="server"/>

It shows the text as a link.

So does this:

<SharePoint:ListItemProperty id="TISection" MaxLength=40 runat="server" Property="TISection"/>

So does this:

<SharePointWebControls:LookupField FieldName="7d58c44b-780d-4fd7-a2da-514d8711068b" runat="server"></SharePointWebControls:LookupField>

Is there a way to force it to display just the text value?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>