More in this section
Forums / Developing with Sitefinity / Where in the SQL Database issfsearchResultUrl populated from?

Where in the SQL Database issfsearchResultUrl populated from?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. David
    David avatar
    9 posts
    05 Jun 2013
    21 Jun 2013
    Link to this post
    I am using sitefinity's web services to create News Items, and its working great except I am having a slight problem with searching my new items. The titles and content return in the search widget, but the links to the articles do not.

    The field on the front end that doesnt seem to be populating with my Web Service call  is "sfsearchResultUrl"

    Does anyone know  Where in the SQL Database is this field being pulled from, or what field of the news item it uses?

  2. David C
    David C avatar
    33 posts
    24 Jul 2017
    28 Jun 2013
    Link to this post

     If I understand what you are asking for then you can use the following samples with just a bit of modification.

    <p><a href="@Html.Raw("/mynews/newsitems" + @Html.Raw(newsItem.ItemDefaultUrl))">Read More...</a></p>

    <p><a href="@Html.Raw("/mynews/newsitems" + @Html.Raw(newsItem.Urls[0].Url))">Read Morer...</a></p>

    Basically you have two options: ItemDefaultUrl and Urls[0].Url. Both do the same thing, ItemDefaultUrl just implicitly returns the first url in the collection.

    Please note: The "/mynews/newsitems" should be the path to where your news page is located. This example is displaying a news page that is two levels deep in the sitemap. So MyNews (Page group) --> NewsItems (Page). Your's may not be 2 deep, just using this as an example for constructing urls.


    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