McDewey

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

Page 447

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

{Error} If the service is not initialized. generatePayload(isExistingPopover, popoverId, bannerData, timerData, actionData) Generates a single payload for use by the popover service. Parameters Required Description Type Name Yes Determines whether the popover is shown in the Finesse desktop. • True—Shows the popover in the Finesse desktop. • False—Does not show the popover in the Finesse desktop. Boolean isExistingPopover Yes Unique identifier of the popover to be generated. This Id is returned from the showPopover call. String popoverId Yes The data displayed on the popover. For example, Customer Information such as name and phone number. For more information on the payload and description, see bannerData, on page 429. Object bannerData Yes The time left for the popover to be dismissed. The duration is displayed in seconds. For example, 00:38. For more information on the payload and description, see timerData, on page 430. Object timerData Yes Describes the set of actions to be taken on the displayed popover. For example, Answer and Decline. For more information on the payload and description, see actionData, on page 427. Object actionData Throws {Error} If the popoverData is not as per defined format. init(ContainerService) Initiates the PopoverService which is used by gadgets. 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 ContainerService Returns {finesse.containerservices.PopoverService} The initiated finesse.containerServices.PopoverService reference. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 431 Cisco Finesse JavaScript APIs Popover Service