# Working with Images with Salesforce Field Service

## Upload Images from Field Service mobile App

Salesforce Field Service has its own mobile app with very few capabilities to integrate with 3rd Party Apps.

SharinPix uses all the available possibilities at this time and will keep on integrating the new capacities as soon as they will be delivered by Salesforce.

To work with Salesforce Field Service mobile App, users will have to install the SharinPix mobile App on their mobile device and either use:

* an integration that includes the usage of an App Extension (this will appear as a menu item in the central bolt menu)
* or an integration including a clickable item in a flow (which appear as a clickable text in the flow screens)

![](https://1575680348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrFH9adA1hWSw6Dv1DcZD%2Fuploads%2Fgit-blob-4746829d6a247b7c388041ca8063d65cd171f7f7%2Fscreenshot-docs.google.com-2022.08.23-17_27_13.png?alt=media)

In both cases, it will open the SharinPix mobile App and offer direct access to the camera to take pictures and have them uploaded in the background.

The SharinPix mobile App can fully work offline and give access to all the SharinPix features including annotation, tagging and addition of Title & Description on images.

This integration uses a deeplink URL which can be personalized with different parameters as described here: [SharinPix mobile App - Deeplink syntax](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/mobile-app/sharinpix-mobile-app-deeplink-syntax).

**The Best Practice is to personalize the deeplink URL to prohibit access to the roll, to force tags to be automatically added to images or even to add a checklist to show areas or actions to fill with images.**

## Merge images in generated Service Report PDF

<figure><img src="https://1575680348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrFH9adA1hWSw6Dv1DcZD%2Fuploads%2Fe01umWvQJPPK70Mgrv90%2FWorking%20with%20Images%20with%20Salesforce%20Field%20Service%202.jpg?alt=media&#x26;token=f21c689d-011e-401d-8e99-8f95400916f4" alt=""><figcaption></figcaption></figure>

If [SharinPix Image Sync is setup](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/image-sync/setup-sharinpix-image-sync), each picture uploaded to SharinPix will have a corresponding [SharinPix image record](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/image-sync/the-sharinpix-image-object) created accordingly.

A webhook is required by the Field Service implementation in order to make SharinPix Image Sync work for images uploaded from the SharinPix mobile App. This could be done by following the steps described in this article: [Image Sync for pictures uploaded via SharinPix Mobile App](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/image-sync/image-sync-for-pictures-uploaded-via-sharinpix-mobile-app).

Once done, [those images could be used as a list in the Service Report template](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/integrations/salesforce-field-service/display-images-in-service-report-salesforce-field-service-fsl). These images will then be available in the generated PDF.

![](https://1575680348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrFH9adA1hWSw6Dv1DcZD%2Fuploads%2FYn7LX6vWv6PVXsfgZjts%2Fimage%20\(1\).png?alt=media\&token=62ce272f-11e6-4cc9-a4ca-17413c21fa55)

You can also read the following articles to setup usage of SharinPix for Salesforce Field Service :

* [Using on Salesforce Field Service App (Field Service Lightning)](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/features/main-integration/using-on-salesforce-field-service-app-field-service-lightning)
* [Integration of SharinPix App with SFS (FSL) App using App Extension](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/integrations/salesforce-field-service/integration-of-sharinpix-app-with-sfs-fsl-app-using-app-extension)
* [Integration of SharinPix App with SFS (FSL) App using Flows](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/integrations/salesforce-field-service/integration-of-sharinpix-app-with-sfs-fsl-app-using-flows)
* [Display Images in Service Report (Salesforce Field Service / FSL)](https://app.gitbook.com/s/5EvYRrLbUyvRh8o1jmMG/integrations/salesforce-field-service/display-images-in-service-report-salesforce-field-service-fsl)

Please note that if you are using SharinPix in a flow on a newly created record, you may have to use a specific configuration as the token value (which is an important security configuration required to make SharinPix work on Field Service mobile App) is only available on existing records.

In that case you should follow those steps :

[Add Photos on a Newly-Created Record Using Field Service Mobile Flow and SFS (FSL) Mobile (Developer-Oriented)](https://docs.sharinpix.com/best-practices/broken-reference)
