PresentationUrlRetrieverRetrieveForAdministration Method |
Retrieves site presentation URL for given culture (without trailing '/') in context of current request URL to
prefer presentation URL from administration site domain alias for administration domain requests.
Namespace: CMS.DocumentEngine.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public string RetrieveForAdministration(
SiteInfoIdentifier siteIdentifier,
string cultureCode = null
)
Parameters
- siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site identifier. - cultureCode (Optional)
- Type: SystemString
Culture for which the presentation URL should be returned. If not provided site default culture is used.
Return Value
Type:
StringRemarks The administration site domain alias presentation URLs are preferred to support different presentation URLs for different stages or local development.
See Also