This is a really important message about something. It could be about anything we deem important enough to tell everyone. It might have links to places, but shouldn't have any images or non-text content. Messages shouldn't be longer than two lines on normal sized layouts.
Genesys Cloud Developer CenterGenesys Cloud Developer Center
Browser storage is disabled

Your theme selection will not be remembered when you refresh the page. Please enable browser storage in the Account Switcher above to allow this setting to be remembered.

Removed from toolbox

Introduction

Configuration is used to help bootstrap initial functionality for Genesys Cloud Embeddable Framework. The methods are called when actions are performed inside Genesys Cloud. Add methods and configuration under the window.Framework object in your framework.js file.

Copied
window.Framework = {
    config: {
        name: "",
        clientIds: {},
        settings: {},
        helpLinks: {},
        customInteractionAttributes: [],
        getUserLanguage: function (callback),
    },
    initialSetup: function (),
    screenPop: function (searchString, interaction),
    processCallLog: function (callLog, interaction, eventName, onSuccess, onFailure),
    openCallLog: function (callLog),
    contactSearch: function (searchValue, onSuccess, onFailure)
}

Name

Type

Required or optional

Description

Configuration

Required

Defines the unique user-friendly identifier used for the deployment location, the product license name, and the product permission.

Configuration

Required

Defines the OAuth Client ID to be used by the embedded agent interface.

Configuration

Required

Defines enabled or disabled features in the embedded agent interface.

Configuration

Required

Defines external documentation links.

Configuration

Optional

Defines a list of custom interaction attribute names that the integration uses.

Configuration

Required

Defines the localization key used in the embedded agent interface.

Method

Required

Called after the embedded agent interface finishes loading the framework.js file.

Method

Optional

Used to drive screen pop logic.

Method

Optional

Used to provide interaction log information.

Method

Optional

Used to process an open interaction log request.

Method

Optional

Defines which contacts the integration returns from an external CRM when users search for names or phone numbers before making calls or transferring interactions.

For information about actions you can use in your framework.js file, see Actions.