I'm trying to retrieve just the url attribute of a link field for an item in a view. The view is just using the item as it's model so just retrieving the link field value, which is producing the following:
<link linktype="external" url="https://en.wikipedia.org/wiki/Anthocyanin" />
Is there any way other than writing a bunch of parsing code to extract the "https://en.wikipedia.org/wiki/Anthocyanin" from that?
((LinkField)item.Fields["Link Field Name"]).GetFriendlyUrl()
? or I didn't understand the problem?