> 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/salesforce-field-service/view-a-sharinpix-album-from-the-sfs-fsl-app.md).

# View a SharinPix album from the SFS (FSL) app

This article demonstrates how to make use of the SharinPix app's online mode to view a SharinPix album from the SFS app.

To do so, you will need to:

* [Generate a SharinPix token to access the SharinPix album](#generation-of-the-sharinpix-token-developer-oriented)
* [Construct the SharinPix deeplink that will launch the SharinPix mobile app to view the album](#construction-of-the-sharinpix-deeplink)
* [Create an App Extension that will make use of the URL](#creation-of-the-app-extension)

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

* This feature works only when online
* Ensure that the latest version of the SharinPix mobile app has been downloaded on your device before implementing this feature
  {% endhint %}

## Generation of the SharinPix token (Developer-Oriented)

The SharinPix token will allow users to view a SharinPix album associated with a Salesforce record in the SharinPix mobile app.

To generate such tokens automatically and store them in Salesforce fields, a Salesforce Trigger can be implemented. For more information on how to implement a trigger that will automatically generate a token on Salesforce records, refer to the following SharinPix article:

[SharinPix automatic token generation (Developer-oriented)](/documentation/access-and-security/sharinpix-automatic-token-generation-developer-oriented.md)

## Construction of the SharinPix deeplink

Once your token has been generated and stored in a Salesforce field, go ahead and construct the SharinPix  deeplink as follows:

<mark style="color:$danger;">`sharinpix://online?token={!`</mark>*<mark style="color:$danger;">**`<FieldApiName>`**</mark>*<mark style="color:$danger;">`}&host=app.sharinpix.com`</mark>

**Note:** The section *<mark style="color:$danger;">**`<FieldApiName>`**</mark>*&#x73;hould be replaced by the field API Name of the field storing the SharinPix token. For example:

**sharinpix://native\_app/online?token={!SharinPix\_Token\_\_c}\&host=app.sharinpix.com**

{% hint style="success" %}
**Tip:**

* The above deeplink uses the SharinPix mobile app's **online mode** feature. This feature provides access to online features such as SharinPix images, albums, and search within the SharinPix mobile app. For more information about the **online mode,** refer to the following article:\
  [SharinPix Mobile App: Online mode](https://docs.sharinpix.com/m/documentation/l/1530458-sharinpix-mobile-app-online-mode)
* The above configuration is also compatible with SharinPix universal links. The SharinPix online mode format for universal links is as follows:\
  <https://app.sharinpix.com/native\\_app/online?token={!_**\\><FieldApiName>\*\*\_}\&host=app.sharinpix.com
  {% endhint %}

## Creation of the App Extension

Once your SharinPix deeplink is ready, create a new App Extension. To do so, follow the steps below:

* Go to Setup, then type *Field Service Mobile Settings* in the Quick Find box. Click on **Field Service Mobile Settings**.
* Click on the **Show Details** button next to the **Field Service Mobile Settings** item

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

* Scroll down to the App Extensions Section
* Click on **New** to create a new App Extension
* Next, fill in the App Extension details as follows:
  * For the **Type**, select **Android** if you intend to use the App Extension on Android platforms or select **iOS** if you intend to use it on iOS platforms
  * For the **Launch Value**, enter the SharinPix deeplink constructed in the previous section, that is, **sharinpix://online?token={!SharinPix\_Token\_\_c}\&host=app.sharinpix.com** in our case&#x20;
  * To complete, fill in the other required fields

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

To test the implementation:

* Log onto the SFS app
* Access the object on which the App Extension has been made available
* From the **Actions** menu, select the newly created App Extension. This action will launch the SharinPix mobile app to display the album


---

# 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/integrations/salesforce-field-service/view-a-sharinpix-album-from-the-sfs-fsl-app.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.
