PreviewLinkGeneratorGeneratePreviewLinkUrl Method |
Generates preview link URL for specified page and user.
Namespace: CMS.DocumentEngine.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public string GeneratePreviewLinkUrl(
Guid userGuid,
NameValueCollection queryString = null,
string cultureCode = null
)
Parameters
- userGuid
- Type: SystemGuid
User GUID to be stored in the preview link URL. If left empty, the user name is not stored in the generated URL. - queryString (Optional)
- Type: System.Collections.SpecializedNameValueCollection
Optional additional query string parameters. - cultureCode (Optional)
- Type: SystemString
Culture code for which the preview link should be generated.
Return Value
Type:
StringRemarks
Preview link URL can be used by external users. This URL does not need additional authentization.
See Also