Umbraco Examine custom search return url to content
Dear Umbraco Examine experts
I have built, on top of OOTB Umbraco search, a custom Index to search descendants from a certain node, i.e searchable path. I am able to display key/value as desired i.e
Umbraco Examine custom search return url to content
Dear Umbraco Examine experts
I have built, on top of OOTB Umbraco search, a custom Index to search descendants from a certain node, i.e searchable path. I am able to display key/value as desired i.e
How can i render the correct link to an item from the search results ?
the above renders the urlName and appends it to the search results page. i.e http://my.domain.com/search/field-value-url.
I would like it to render like @field.Url, which gives you the correct url to the item.
Thanks Dibs
Hi,
Think it would be best if you get the IPublishedContent for each result to get the Url.
Cheers Garðar
reading your reply, i remembered i have done that before : / getting ID and then that exposes .Url
Dibs : )
is working on a reply...