# Interacting with RenderDraw using Lightning Messaging Service (LMS)

RenderDraw revolutionizes the way enterprises visualize and interact with 2D and 3D models directly within Salesforce, leveraging the power of Lightning Messaging Service (LMS) to create a seamless, interactive experience. LMS enables RenderDraw to communicate efficiently across components, applications, and the Salesforce ecosystem, ensuring real-time responsiveness and enhanced user engagement.

With RenderDraw, users can effortlessly navigate through complex layouts, configure products in 3D, visualize digital twins, and access step-by-step field service guides. The integration with LMS facilitates a dynamic interaction model where users can:

* **Hover over elements** within the canvas to receive instant feedback or detailed information, enhancing the understanding and interaction with 2D floorplans or 3D models.
* **Select elements** within the canvas, triggering actions such as configuration options, additional product information, or detailed part data, bridging the gap between visualization and action.
* **Initialize the canvas** with specific settings and contexts, preparing the environment for tailored user experiences right from the start.
* **Engage in diverse interactions** within the canvas, from simple clicks to complex gestures, allowing for a wide range of activities that cater to various use cases, including product customization and exploration.
* **Select records** associated with canvas elements, enabling a seamless integration between visual elements and Salesforce records, which is critical for applications like digital twins and service guides.

RenderDraw's use of LMS underscores a commitment to providing a robust, scalable solution for complex visualizations and interactions within Salesforce. By leveraging LMS, RenderDraw ensures a high level of interoperability and user experience, making complex data and configurations accessible and actionable for users across the enterprise.

This documentation aims to guide developers and administrators through the intricacies of interacting with RenderDraw using LMS, encompassing the setup, usage, and best practices to fully exploit the potential of RenderDraw in enhancing enterprise visualizations and user interactions.

## Channel Reference

| Channel                                                                                                                                            | Purpose                                  | Publishers                      | Subscribers                           |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------- | ------------------------------------- |
| [Canvas Interaction](/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms/canvas-interaction.md)           | Invoke a named interaction on the canvas | canvas3D, standalone\_DataTable | canvas3D (bidirectional), canvas2D    |
| [Canvas Initialized](/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms/canvas-initialized.md)           | Signal the canvas is ready               | canvas3D, canvas2D              | standalone\_DataTable                 |
| [Canvas Element Selected](/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms/canvas-element-selected.md) | User selected an element                 | canvas3D, canvas2D              | standalone\_DataTable, groupSelection |
| [Canvas Element Hovered](/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms/canvas-element-hovered.md)   | User hovered over an element             | canvas3D, canvas2D              | standalone\_DataTable                 |
| [Record Selected](/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms/record-selected.md)                 | A record was selected in the data table  | standalone\_DataTable           | canvas3D, canvas2D                    |

\\


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.renderdraw.us/usage-scenarios/use-cases/interacting-with-renderdraw-using-lightning-messaging-service-lms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
