McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 460

↗ View in doc context
page
460
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::444

Error payload has the following format: { "channelId": "[ID of the Digital channel]", "status": "failure", "error": { "errorCode": "[Channel supplied error code that will be logged in Finesse client logs]", "errorDesc": "An error occurred while processing request" } } Throws {Error} If the digital channelData passed on is not as per the schema. init(ContainerServices) Initiates the ChannelService module. Example finesse.digital.ChannelService.init(finesse.containerservices.ContainerServices); Parameters Required Description Type Name Yes Provides container level services for gadget developers. Gadgets can utilize the container dialogs and event handling to add or remove a service. Function ContainerServices Returns {finesse.digital.ChannelService} The initiated finesse.digital.ChannelService reference. removeChannel(channelId, onSuccess, onError) Removes the previously added digital channel representation from the FNC menu component. Example finesse.digital.ChannelService.removeChannel(channelId, onSuccess, onError); Parameters Required Description Type Name Yes Unique identifier of the digital channel to be removed. This Id is returned from the FNC. String channelId Yes Callback function that is invoked upon a successful remove operation. Function onSuccess Yes Callback function that is invoked upon an unsuccessful remove operation. Function onError Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 444 Cisco Finesse JavaScript APIs Channel Service