Timeline for Extracting text from a lookup field in a SharePoint 2013
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 7, 2015 at 15:10 | comment | added | Eric Alexander | Ok, when you said the value, I thought you wanted just the display name of the Lookup field which is why I went the substring route. Using the disable-output-escaping will render as a hyperlink. | |
Jan 7, 2015 at 15:08 | history | edited | Eric Alexander | CC BY-SA 3.0 |
added 146 characters in body
|
Jan 7, 2015 at 14:47 | vote | accept | Emaborsa | ||
Jan 7, 2015 at 14:47 | comment | added | Emaborsa |
<xsl:value-of select="@Betrieb" disable-output-escaping="yes"/> Works, it puts the a tag as HTML instead of a simply text node. Thanks Man!
|
|
Jan 7, 2015 at 14:35 | comment | added | Eric Alexander | That's just the way Lookup columns work in Sharepoint and DVWPs/XSLT, they are stored as an ID value pair. You could try the <xsl:value-of select="@Betrieb" disable-output-escaping="yes"/> but I don't think that is going to give the right result. | |
Jan 7, 2015 at 14:15 | comment | added | Emaborsa | Well, ist a Little bit dirty... i thought there would be a SharePoint Feature or something else. | |
Jan 7, 2015 at 13:31 | history | answered | Eric Alexander | CC BY-SA 3.0 |