# Record Selected

**Overview:**\
This channel is focused on the selection of records within the application. It's used to handle and respond to changes in the selection of records by the user.

**Usage:**\
Primarily used to update the UI or trigger actions based on the selection of a record, ensuring that the application remains responsive to user selections.

**Parameters:**

* **record**: Data representing the record that was selected or changed.

**Note:**\
The source XML contains a commented-out `sender` field. It is not emitted on the channel payload — do not rely on it.

**Channel Name (for import):**

```javascript
import RECORD_SELECTED_CHANNEL from "@salesforce/messageChannel/RDraw__Record_Selected__c";
```

**Publisher Components:**

* standalone\_DataTable

**Subscriber Components:**

* 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/record-selected.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.
