Click or drag to resize
WorkflowScriptHelperRegisterContactJourneyScripts Method
Registers javascript code capable of displaying contact data and journey in designer.

Namespace: CMS.WorkflowEngine.Web.UI
Assembly: CMS.WorkflowEngine.Web.UI (in CMS.WorkflowEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static void RegisterContactJourneyScripts(
	Page page,
	string graphName,
	int contactId,
	int current,
	bool showContactData,
	params int[] previous
)

Parameters

page
Type: System.Web.UIPage
Page object used to register javascript code.
graphName
Type: SystemString
Graph identifier used to access javascript object.
contactId
Type: SystemInt32
Contact identifier to register correct contact detail url.
current
Type: SystemInt32
Step identifier in which the contact is currently.
showContactData
Type: SystemBoolean
Indicates whether contact data is rendered.
previous
Type: SystemInt32
Collection of step identifiers which led to current step.
See Also