TransformationHelperSearchResultUrl Method |
Returns URL for current search result.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax public string SearchResultUrl(
string id,
string type,
bool absolute,
bool addLangParameter = true
)
Parameters
- id
- Type: SystemString
ID of the item - type
- Type: SystemString
Type - 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