> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/documentation/integrations/other-apps/sharinpix-search-display-component-integration-with-avonni-dynamic-components.md). Agents can also search and read this documentation through its [MCP server](https://docs.sharinpix.com/~gitbook/mcp).

# SharinPix Search Display component integration with Avonni Dynamic Components

## Overview

In this documentation, we will show you how to integrate the SharinPix Search Display component with Avonni Data LWC Container. At the end of this integration, you will be able to filter your query and based on the result, it will perform a SharinPix Search and display the result in the component.

{% hint style="info" %}
**Prerequisites:**

Install the Avonni Dynamic Component package from the AppExchange. Direct link here:\
<https://appexchange.salesforce.com/appxListingDetail?listingId=e855ec28-bf2c-47fa-aa38-30b43948ab4f&tab=d>
{% endhint %}

## Setup

{% hint style="success" %}
Avonni primary documentation can be found here:\
<https://docs.avonnicomponents.com/dynamic-components>

Avonni Data LWC Container documentation is here:\
<https://docs.avonnicomponents.com/dynamic-components/components/data-lwc-container>
{% endhint %}

Drag and drop the Data LWC Container component onto the page layout. Afterwards, configure your query to fetch the corresponding records.

In the LWC Name, add **sharinpix/searchDisplay** and set the value of Record Key Fields Attribute Name to **recordIds**. You can customise this component to display a filter and a search based on a field.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FV0E6tE05072HvnxYTbaX%2Fimage.png?alt=media&amp;token=dfc1c6fb-caca-45eb-8bf2-0b115f94b215" alt=""><figcaption></figcaption></figure>

## Usage

To use this component dashboard, edit your page layout and drag and drop Avonni Dynamic Component onto your page. Change the Component Name in the builder and choose your component.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fa7sHZtvx8MDSz19toRSS%2Fimage.png?alt=media&amp;token=d1fc9911-fbca-4fd0-b0e1-47573a801f46" alt=""><figcaption></figcaption></figure>

## Demo

Open your page and play with the filters and search.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FOi4EU2UdhZQZFCKZIdJf%2Fimage.png?alt=media&amp;token=2eff4d1d-3f25-44a4-ad78-c071f05b96cf" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sharinpix.com/documentation/integrations/other-apps/sharinpix-search-display-component-integration-with-avonni-dynamic-components.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
