Click or drag to resize
PreviewLinkGeneratorGeneratePreviewLinkUrl Method
Generates preview link URL for specified page and user.

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
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: String
Remarks
Preview link URL can be used by external users. This URL does not need additional authentization.
See Also