SharinPix DocumentationMain DocumentationGetting Started with SharinPixBasic Setup - Step 3b for Lightning Users - Setup SharinPix for Lightning Experience

Basic Setup - Step 3b for Lightning Users - Setup SharinPix for Lightning Experience

What you have done for Classic will be available in Lightning and the mobile app on the detail tab.

BUT the way it works is not perfect; on any click on the Album, a new window will open.

To get the best implementation for Lightning, it's better to use our Lightning Component. Let's look at how to do that! 

1. Get My Domain

Note:

To make any custom Lightning component, including SharinPix's components, visible to the user, you have to create a domain for your org. Use this link to get step-by-step video instructions on how to set up My Domain.

When setting up the My Domain, please note the following:

  1. Choose the name of your domain wisely. It's forever!
  2. Don't add hard-coded URLS across your Salesforce system.

2. Add a SharinPix component to a Lightning Page

To add a SharinPix component on your record page, proceed as follows:

  • Go to a record page in Lightning.
  • Edit the page as shown below.

Some SharinPix Lightning components can display an error like: "You do not have access to the Apex class named 'SharinPixLightningController'."

This is due to the following Salesforce critical update: Restrict Access to @AuraEnabled Apex Methods for Authenticated Users Based on User Profile

To solve this, simply assign the permission set, SharinPix Lightning Component, to the user encountering this problem. The SharinPix Lightning Component permission set gives access to SharinPix's Apex classes.

  • Next, scroll down to the managed components.
  • Choose the SharinPix Album component.
  • Drag and drop the component onto your page layout.

Note:

You can't put the component into the detail page because the detail page is itself a component.

  • Save the page and activate it (if needed).

Tip:

On the Activation page, you can set this as the organization-wide default, meaning the component shows up on all the pages for this object.

Go to "Learn more..." to explore the other options.

  • Once saved and activated, go to the record page.
  • Test the SharinPix Album component by uploading an image.

Tip:

The above image depicts a photo in the Thumbnail View

For more information about the Thumbnail View and the options it provides, refer to the following article: Thumbnail View

0 Comments

Add your comment

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