VirtualContextGetPreviewParameters Method |
Gets the collection of parameters for preview path.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static NameValueCollection GetPreviewParameters(
string userName,
string cultureCode,
Guid workflowCycleGuid,
bool readonlyMode,
bool embededInAdministration
)
Parameters
- userName
- Type: SystemString
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:
NameValueCollectionSee Also