News Items - Displaying SourceURL

Posted by Community Admin on 03-Aug-2018 22:01

News Items - Displaying SourceURL

All Replies

Posted by Community Admin on 16-May-2011 00:00

Inside of a single news item, there is a field for Source URL.  How can I display this information in the list of news items?

I've gone into the "Titles, dates, and summaries" News widget template and added the following:

<sf:DetailsViewHyperLink ID="DetailsViewHyperLinkSourceUrl" TextDataField="SourceURL" ToolTipDataField="Description" runat="server" />

However, this throws the following error:

Server Error in '/' Application.

DataBinding: 'Telerik.Sitefinity.News.Model.NewsItem' does not contain a property with the name 'SourceURL'.

Is there a public property to access the Source URL?

Please help, thank you!

Posted by Community Admin on 17-May-2011 00:00

Hi Chris Bryant,

Try with SourceSite. To see the names and types of default fields of News module, click "Custom Fields for news" in the sidebar and expand "Default fields" section.

Let us know if you need further help.

Regards,
Katia
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed