McDewey

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

Page 453

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

Description Name The Cisco Finesse handles the WorkflowActionEvent. The third-party does the additional processing with the action. Cisco Finesse handles this WorkflowAction. FINESSE The third-party handles the WorkflowActionEvent. Cisco Finesse's Workflow Engine program ignores the action and expects the Gadget Developers to take action. OTHER ClientLogger Class finesse.cslogger.ClientLogger Allows gadgets to send the client log messages over the hub by calling the log method of the clientLogger. This enables the container to collect the logs of the third-party gadget and make it available on the server. Methods init(hub, gadgetId, config) Initiates the client logger object for the client logging messages. Example var _clientLogger = finesse.cslogger.ClientLogger; _clientLogger.init(gadgets.Hub, "MyGadgetId", config); Parameters Required Description Type Name Yes The Shindig hub topic that the gadgets wants to listen to. Object hub Yes Unique identifier of the gadget. String gadgetId Yes The configuration data which is used to get the hostname for the third-party gadget. Object config log(message, error) Publishes a log message over the hub. Example _clientLogger.log("This is a important message for MyGadget"); Parameters Required Description Type Name Yes The log message displayed in the hub. String message Optional The message that is associated with the error. Object error Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 437 Cisco Finesse JavaScript APIs ClientLogger