API Docs for: 2.0.17170.2
Show:

ui.caseManagement.Config Class

Configuration for caseManagement component

Properties

authInfo

Object
A {{#crossLink "ui.AuthInfo"}}{{/crossLink}} object that specifies the authentication information.

entitlementId

String

entitlementId. The entitlement used to submit case

environment

internal.ui.caseManagement.Environment

A value from ui.caseManagement.Environment (default is ui.caseManagement.Environment.PRODUCTION)

includedWorkflowSteps

Array

Array of step names to include in case creation workflow. When this parameter is omitted or array is empty, all available steps are included

locale

String

Locale to render the workflow in, such as en-us, fr-fr

preview

Boolean

Use compass unpublished data in workflow

sapId

String

sapId for associate product and support category with to-be-created case

theme

Object
A {{#crossLink "ui.theme.Config"}}{{/crossLink}} provides theme customization for a UI feature(The UI feature MUST support theme customization, otherwise this will be ignored)

uiInfo

Object
A {{#crossLink "ui.UIInfo"}}{{/crossLink}} object that describes how the UI component will be rendered.

Events

onCaseSubmitted

Fires when the case submission succeeds

Event Payload:

  • data Object

    A data object that is passed through the event

    • caseId Object

      Case id for newly created case if the submission is successful.

    • errorCode Object

      http code for creation request

    • errorMessage Object

      error message for failed request

onError

Fired when an error occurs

Event Payload:

  • data Object
    An object that contains error information
    • message String

      Error message

onSignInRedirect

Fired when popu window redirects to login page

onSignInRequest

Fires when user sign-in is requested

Event Payload:

  • data Array
    An array that contains information for supported sign-in types. i.e. [{ type: "MSA", policy: "MBI_SSL" }, { type: "ADD" }]

onUnloaded

Fired when the ui component is closed