TransformationHelperSearchResultUrl Method |
Returns URL for given search result.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax public string SearchResultUrl(
SearchResultItem resultItem,
bool absolute,
bool addLangParameter = true
)
Parameters
- resultItem
- Type: CMS.SearchSearchResultItem
Search result to return URL for. - absolute
- Type: SystemBoolean
Indicates whether generated url should be absolute - addLangParameter (Optional)
- Type: SystemBoolean
Adds culture specific query parameter to the URL if more than one culture version exists. Default value is true.
Return Value
Type:
StringSee Also