Using the Mobile Launcher Visualforce Component

What is it used for?

The Mobile Launcher helps you to automatically generate a Deeplink URL which can then be used to launch the SharinPix Mobile App.

For more information about Deeplink and its syntax, refer to the following article:

SharinPix mobile App : Deeplink syntax

How to use it:

Since it is a Visualforce Component, it can be easily inserted into a Visualforce Page. The code snippet below shows a sample implementation of the component within a Visualforce Page on the Account object.

<apex:page standardController="Account">
	<sharinpix:MobileLauncher albumId="{! Account.Id }"></sharinpix:MobileLauncher>
Click to copy

How does it look ?

The screenshot below shows how the component looks when it is inserted into a page layout in the SalesforceApp, inside a Visualforce Page within the Salesforce App.

When you click on the Take Pictures button, the component will automatically launch the SharinPix mobile App. 

However, if the latter is not already installed, the component will display the corresponding links to the SharinPix mobile App on the Google Play as well as on the App Store.

On an Android device:

On an IOS device:

What parameters does the Mobile Launcher take ?

The Mobile Launcher can take several parameters. Each parameter applied affects the behavior inside the SharinPix mobile App when launched. 


The albumId attribute takes the ID of a record to which the photos taken by the SharinPix Mobile app will be uploaded.

<sharinpix:MobileLauncher albumId="<<id of record>>"></sharinpix:MobileLauncher>
Click to copy


The urlParameters attribute takes a set of parameters that will affect how the SharinPix Mobile App will behave when its launched.

<sharinpix:MobileLauncher albumId="{! Account.Id }" urlParameters="confirmation=true&mode=camera"></sharinpix:MobileLauncher>
Click to copy

In the code snippet above, the urlParameters applied are:

  • confirmation=true
  • mode=camera

The confimation and mode parameters are used in the Deeplink URL. In this case, they will cause the SharinPix mobile App to open directly on camera mode and will preview each photo captured before uploading them.

The image depicts how the photo captured is previewed before being uploaded:

Let's use two more urlParameters example to get you acquainted:

1. Using the parameter tags:

Click to copy

The results obtained when launching the SharinPix mobile App is as follows:

2. Using the checklist parameter.

Click to copy

The results obtained when launching the SharinPix mobile App is as follows:

You can find more information about the confirmation, mode, tags and checklist parameters and many more in the following article:

SharinPix mobile App : Deeplink syntax


The label parameter takes the value of the text that will appear on the component button.

<sharinpix:MobileLauncher albumId="{! Account.Id }" urlParameters="confirmation&mode=camera" label="Shoot Pictures"></sharinpix:MobileLauncher>
Click to copy

How to use the Mobile Launcher in the Salesforce mobile App:

  • Create a Visualforce Page containing the Mobile Launcher component.
  • Add the VF Page created on a page layout in the Salesforce App.

You can also add the SharinPix Mobile Launcher component on a Lightning page. To do so, refer to the following article:

Using on Lightning with "SharinPix Mobile Launcher" Lightning Component (Admin Friendly)


Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.