DocumentUIHelperGetPageHandlerPreviewPath Method |
Returns a relative URL path to PresentationUrlRedirect handler with parameters based on which the page preview URL can be generated when needed.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax public static string GetPageHandlerPreviewPath(
int nodeId,
string cultureCode,
string userName
)
Parameters
- nodeId
- Type: SystemInt32
Page node ID. - cultureCode
- Type: SystemString
Page culture code. - userName
- Type: SystemString
User name of a user in which context the preview link should be generated.
Return Value
Type:
StringSee Also