1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / News Items - Displaying SourceURL

News Items - Displaying SourceURL

2 posts, 0 answered
  1. Chris Bryant
    Chris Bryant avatar
    33 posts
    Registered:
    07 Jul 2009
    16 May 2011
    Link to this post
    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!

  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    17 May 2011
    Link to this post
    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
2 posts, 0 answered