# SharinPix Plan Share Link

{% hint style="info" %}
The **SharinPix Plan Share Link** component permits the user to generate and share a SharinPix Plan URL.
{% endhint %}

<figure><img src="/files/vKLcKTYy5GcmgxnY4Q8s" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:**

The SharinPix Plan Share Link component is dependent on the [SharinPix Plan component](https://docs.sharinpix.com/m/documentation/l/1352879-sharinpix-plan).
{% endhint %}

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

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

* On Page Builder
* On Desktop
* On Mobile
  {% endhint %}

## Getting Started

To use the SharinPix Plan Share Link component, simply need to drag and drop the component from the Lightning App Builder onto your page layout.

<figure><img src="/files/xt8FOs4MuV8ICPt0ey2u" alt=""><figcaption></figcaption></figure>

## Lightning Component Parameters

<figure><img src="/files/Jf9FQharwHg6T6b8aXyp" alt=""><figcaption></figcaption></figure>

* **Generate Plan Share Link Button Label:** Used to specify the button's label. The default value is **Plan Share Link to target field.**
* **Target Field API Name:** API Name of the field where the URL will be stored.
* **Plan Data Source Record Id:** Id of Record containing the field specified by Plan Data filed API Name from which the plan data is to be retrieved.
* **Plan Data Field API Name:** API name of the field containing plan-related information.
* **SharinPix Plan Setting Name:** SharinPix Plan Setting Name configured for the related plan component.
* **Component Id:** Component ID to be matched by the SharinPix component on the page.

## Demo

The picture below depicts a SharinPix Plan component:

<figure><img src="/files/l4lFvH4on2t3InW7uHAK" alt=""><figcaption></figcaption></figure>

To store the URL on the target field, click on the button **Plan Share Link to target field**.

The picture below shows the result in the target field after using the SharinPix Plan Share Link component.

{% hint style="warning" %}
**Note:**

Reload the page after clicking on the button **Plan Share Link to target field** to see the URL on the target field.
{% endhint %}

<figure><img src="/files/NTVyW4tKi0mu96zaxqNW" alt=""><figcaption></figcaption></figure>

The picture below shows the SharinPix Plan accessed outside Salesforce using the URL.

<figure><img src="/files/QcHev9QuOWNn5xKaooS7" alt=""><figcaption></figcaption></figure>


---

# 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.sharinpix.com/documentation/lightning-web-component/sharinpix-plan-share-link.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.
