> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.omni.co/feedback

```json
{
  "path": "/embed/events/visualizations",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Sending embed events from Omni visualizations

> Trigger actions in your application by emitting events from embedded Omni table and Markdown visualizations.

Omni's Markdown and table visualizations can be configured to emit events. These events can be observed by listeners in the parent frame to trigger certain actions, such as popping open custom drill modals or passing through certain data from Omni to the parent frame.

## Table visualizations

Events can be triggered on click in table visualizations.

<img src="https://mintcdn.com/omni-e7402367/pGnmRvM0SVfXp3bi/embed/images/table_post_message-5d7ceabf3375f7965fb108552b0193c1.png?fit=max&auto=format&n=pGnmRvM0SVfXp3bi&q=85&s=f712f2356108ea72b55c6ddfc5811dcd" alt="" width="2170" height="1092" data-path="embed/images/table_post_message-5d7ceabf3375f7965fb108552b0193c1.png" />

1. Open the configuration options for a table visualization.
2. Next to a field, click the <Icon icon="caret-down" iconType="solid" /> to open its configuration options.
3. Click the **Display** tab.
4. Set **Display as** to **Link**.
5. Set **URL** to **Embed event**.
6. Enter a name for the event.

## Markdown visualizations

You can also send events from Markdown visualizations. When clicked, a post message is sent from the iframe to the parent iframe.

Use a tag like the following, setting the event name and data, to accomplish this:

```html wrap theme={null}
<omni-message event-name="product-image-click" event-data="{{products.name.raw}},{{products.retail_price.raw}},{{products.sku.raw}}">
```
