Canvas

Used within 2D interactions to easily pass data back and forth to the Salesforce system

Canvas has the following properties that can be utilized within a Lightning flow or to pre-populate the 2D Component with Data

id

string

the unique id for this element

name

string

The name of the item defined during template creation

backgroundImageURL

string

the background image (if applied)

placedClickableShapes

List<RDraw.BaseCanvasItem>

A list of clickable shapes, and their locations if added to the canvas

placedDroppableAreas

List<RDraw.DroppableArea>

A list of droppable areas in order from left to right top to bottom that also includes elements that were placed in the area by the order in which they were placed

placedDraggableItems

List<RDraw.BaseCanvasItem>

A list of all of the Draggable items placed on the Canvas that are not related to a given Droppable Area

placedLayoutAreas

List<RDraw.BaseCanvasItem>

A list of layout areas and their related records

placedLayoutWalls

List<RDraw.LayoutWall>

A list of walls with their points added to the

Last updated