> 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/lightning-web-component/sharinpix-chatter.md).

# SharinPix Chatter

The **SharinPix Chatter** component enables users to add Chatter posts for a specific image from an album or a specific image annotation.

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-9b6b04d0be9b9338de211a75373105aa8a4b88df%2Fscreenshot-spx-fsl-summer20-dev-ed.lightning.force.com-2020.08.12-16_51_20%20\(1\)%20\(1\).png?alt=media)

{% hint style="info" %}
**Information:**<br>

This feature is only available on Lightning. It can be used on:

* Community Builder
* Page Builder
* Desktop
* Mobile
* In your own Lightning Component development
  {% endhint %}

## Getting Started

To use the SharinPix Chatter component, you simply need to drag and drop the component from the Lightning App Builder onto the page layout.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-868a6bba02c26cf55e65c9e8e2ff1844b2fce9ad%2Fimage%20(9)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

## Lightning Component Parameters

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-8273ff474231386d06b3e9d78b44a0fa76a56f81%2Fimage%20(10)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

* **Record ID or External ID:** Used to specify the Salesforce record ID or the external ID corresponding to the Salesforce record.
* **Record ID of parent object:** Used to specify the Salesforce record ID of the parent record.
* **Height:** Used to specify the component's height. The default height is **700 (px)**.
* **Component ID:** Used to specify the Component ID which can be any common text between the **SharinPix Chatter** component and the corresponding **SharinPix Album** component. The ID allows communication between matching components. **Please note that this field should be filled in order to use the SharinPix Chatter component.**
* **Chatter feeds for viewed images:** Used to enable/disable the option to show chatter publisher and feed for the viewed image.
* **Chatter feeds for selected annotations:** Used to enable/disable the option to show chatter publisher and feed for the selected annotation.

## Demo

The example below shows a Chatter post corresponding to the image selected from the album:

![](https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-d7be3ad646f68139bc3a48dd2a08535e400f2f56%2Fscreenshot-spx-fsl-summer20-dev-ed.lightning.force.com-2020.08.12-17_30_05_\(1\)%20\(1\)%20\(1\).png?alt=media)

{% hint style="success" %}
**Tip:**<br>

Below are some useful links relating to the SharinPix Chatter component that you may refer to:

* [Using the Chatter](/documentation/chatter-feed/use-the-pre-build-sharinpix-album-with-chatter-feed.md#using-the-chatter)
* [Use SharinPix with Chatter component on specific images or annotations](/documentation/chatter-feed/sharinpix-chatter-feed-for-image-and-annotation-how-it-works-what-to-expect.md)
  {% endhint %}


---

# 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/lightning-web-component/sharinpix-chatter.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.
