Click or drag to resize
VirtualContextGetPreviewModeParameters Method
Gets the collection of parameters for preview mode.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static NameValueCollection GetPreviewModeParameters(
	Guid userGuid,
	string cultureCode,
	Guid workflowCycleGuid,
	bool readonlyMode,
	bool embededInAdministration
)

Parameters

userGuid
Type: SystemGuid
Context of user for the preview.
cultureCode
Type: SystemString
Context of culture for the preview.
workflowCycleGuid
Type: SystemGuid
Context of workflow cycle GUID.
readonlyMode
Type: SystemBoolean
Indicates if readonly mode should be enabled to disallow modify actions and POST requests.
embededInAdministration
Type: SystemBoolean
Indicates if page is embedded in administration inside an iframe.

Return Value

Type: NameValueCollection
Remarks
Preview mode is used for the page builder and the preview tab.
See Also