Symbols
Open, close, or toggle the canvas symbols panel from the host application.
Use symbolsControl when the host needs to control the symbols panel inside the active canvas session.
This integration is command-based. The host sends open, close, or toggle to the current iframe session and can include an optional requestId for correlation.
If you need to manage the reusable symbol library itself, use the separate Symbol Management Admin module instead of the placement message flow.
- Command-based: Use
open,close, ortoggledepending on the panel state you want. - Canvas session scoped: Send the command to the same iframe instance that owns the current document.
- Observable result: Watch
symbolsControlResultto confirm whether the panel ended up opened or closed.
Send symbolsControl with the required command field.
Open Symbols Panel
Close Symbols Panel
Toggle Symbols Panel
The canvas emits symbolsControlResult after it applies the command.
Use the returned payload to confirm success, inspect the resolved command, and determine whether the panel is open through the opened flag.
Handle symbolsControlResult
Keep the host flow simple and send the command only after the canvas is ready.
- 11. Wait for canvas readiness: Make sure the iframe is loaded and the canvas session is active.
- 22. Send a symbols command: Use
open,close, ortogglebased on the interaction your product needs. - 33. Observe the result: Listen for
symbolsControlResultand readopenedto confirm the final panel state. - 44. Correlate when needed: Include
requestIdif your host needs to match requests and results in logs.
This example wires three host buttons to the current canvas iframe and logs the result event.
Continue with related placement workflows.
- Stamp: Stamp
- Placement API: API References
- Canvas Setup: Canvas
- Admin Library Management: Symbol Management Admin Module
