# SharinPix To Album

The **SharinPix To Album** component permits to load images from a specific SharinPix Album to another album.

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

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

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

* Community Builder
* Page Builder
* Desktop
* Mobile
* In Flows (but not in Field Service Mobile Flow)
* In your own Lightning Component development
  {% endhint %}

## Getting Started

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

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

## Lightning Component Parameters

<figure><img src="/files/1wZEa9aiDYSUDgHL4eZO" alt=""><figcaption></figcaption></figure>

* **Button label:** Used to specify the button's label. The default value is **Load Predefined Images**.
* **Source Album ID:** Used to specify the record ID or album ID from which images will be fetched. Please note that the value entered will be overwritten if the field **Source Album ID Field** is filled.
* **Source Album ID Field:** Used to specify the API name of the field from which the source album ID can be retrieved.
* **Tags Filter (JSON):** Used to specify the tag names to filter the images. The value entered should be in a JSON array format, for example, \["Paris","London"]. Please note that the value entered will be overwritten if the field **Tags Filter Field** is filled.
* **Tags Filter Field:** Used to specify the API name of the field from which the tag filters can be retrieved. The value entered inside the related field should be in a JSON array format.
* **Tag Operator:** Used to specify the operator to be used when multiple tags are being used. The values available are **OR** and **AND**. When using **OR** , the returned the images will have any of the tags specified whereas using **AND** will return images having all of the tags specified
* **Post-upload Action:** Choose which action to perform after uploading image(s) to the target album. There are 4 actions available - **Do nothing** , **Open first image** , **Start annotating first image**, **Start annotating first image with sticker**.
* **Action Value:** Enter an Action Value for the post-upload action. If the **Start annotating first image with sticker** action is selected, enter the tag name to filter the stickers by.
* **Action Value Field:** Used to specify the API name of the field from which the Action Value can be retrieved.
* **Auto Tags:** Enter comma-separated list of tag names to automatically apply on images after upload.
* **Auto Tags Field:** Used to specify the API name of the field from which the Auto Tags can be retrieved.
* **Target Component ID:** Used to specify the component ID which can be any common text between the **SharinPix To Album** component and the targeted **SharinPix Album** component. This ID allows communication between the matching components. *Please note that this field should be filled in order to use the SharinPix To Album component.*

## Demo

The picture below shows the **source album** on a Contact record:

![](/files/ivK9TvnAeuRGb7AJr21s)

The picture below shows the target album on an Account record **before** using the SharinPix To Album component:

![](/files/wX5sPK4l6OGEBi2HHz8i)

To load the images from the source album to the target album, click on the button **Load Predefined Images**.

The picture below shows the result in the target album **after** using the SharinPix To Album component:

![](/files/Z46HhiPeXEa8vMX7bxQX)


---

# 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-to-album.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.
