Labb - DX Accelerator
    Preparing search index...

    Implements

    • OnInit
    Index

    Constructors

    Properties

    appId: string

    Input binding for the application ID

    assignmentID: string

    Optional Input binding for an assignment ID. If provided, an existig assignment will be picked up using this ID.

    caseTypeID: string

    Optional Input binding for starting a new case type. If provided, a new case type will be created using this case type ID and the startingFields.

    className: string

    Optional Input binding for a class name. If provided, a page definition will be loaded using the page ID this className.

    container: PContainer

    A reference to the RootContainer type

    deployUrl: string

    Input binding for the deploy URL. Constellation core will be downloaded from [deployUrl]/constellation. When no value is provided, then the deploy URL is determined as the url on which the application is running.

    headers: { [key: string]: string } = {}

    Optional Input binding for extra headers which will be sent with each request to Pega.

    infinityServer: string = '/prweb'

    Input binding for path to the Infinity server

    loadingDone: EventEmitter<boolean> = ...

    Output binding which emits an event once the constellation core is fully loaded and the Pega API's have been called.

    localeId: string

    Optional Input binding for setting the locale

    pageID: string

    Optional Input binding for a page ID. If provided, a page definition will be loaded using this ID and the className.

    portal: string

    Optional Input binding for a portal ID. If this value is provided the constellation core will be loaded in full portal mode instead of embedded mode

    startingFields: any = {}

    Optional Input binding for starting a new case type. If provided, a new case type will be created using the case type ID and this startingFields.

    token: TokenInfo

    Input binding for a token as coming from the OAuth2 service

    Methods

    • Initialization method which will bootstrap the constellation core and load the Pega API's. It will also create a new case type if the caseTypeID is provided, open a page if the pageID and className are provided, or open an assignment if the assignmentID is provided. When initialization is succesful, an event with the value true will be sent to the loadingDone output binding. When initialization fails, an event with the value false will be sent instad.

      Returns Promise<void>