> 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-form-response-lwc.md).

# SharinPix Form Response LWC

## Overview

The **SharinPix Form Response** Lightning Web Component (LWC) is designed to display and process form responses stored in Salesforce. It embeds the SharinPix Form Response viewer inside Salesforce record pages and Communities, enabling users to view submitted forms directly within the platform.

The component also checks whether the form response has been processed and provides contextual toast messages to guide users.

{% hint style="info" %}
**Info**

This feature is only available on **Lightning Experience**.\
It can only be used on the **Form Response record page** , including:

* On Page Builder
* On Desktop
* On Mobile
* On Community Builder.
* In your own Lightning Component development

⚠️ This component cannot be used in Flows.
{% endhint %}

{% hint style="warning" %}
**Prerequisites**

* **Permissions:**\
  Users must have the **SharinPix Forms** **Admin** or **SharinPix Forms User** permission set assigned. For more information on these two permission sets, check [*SharinPix Permission sets*](/documentation/access-and-security/sharinpix-permission-sets.md).
* **Package Version:**\
  Ensure that the latest SharinPix Package Version is installed.
* **Setup Requirements:**\
  A SharinPix Form Template must exist, and responses must be linked to Salesforce records via the `FormResponse__c` object.
  {% endhint %}

## Getting Started

To use the **SharinPix Form Response** component:

1. Open the **Lightning App Builder**.
2. Drag and drop the **SharinPix Form Response** component onto the **Form Response record page**.
3. Configure the component parameters as described below.
4. Save and activate the page.

![](/files/hUaT6fWNdNGGY5NYt4d1)

## Lightning Component Parameters

| Parameter | Description                                   | Default/Notes                       |
| --------- | --------------------------------------------- | ----------------------------------- |
| height    | The height of the component in pixels.        | Default: `500px`                    |
| recordId  | The Salesforce record Id of the form response | For Salesforce Community usage only |

## Demo: Fire Safety Inspection Example

The image below shows the **SharinPix Form Response** component configured on the **Form Response record page** for the **Fire Safety Inspection Form Template** , with the **Height** property set to `500px`.

![](/files/ZzFIDeHJ4e89HP0wM0IZ)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.sharinpix.com/documentation/lightning-web-component/sharinpix-form-response-lwc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
