Basic Setup - Step 3b for Lightning Users - Setup SharinPix for Lightning Experience
What you have done for Classic will be available in Lightning and in 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
In order to make any custom Lightning component--including SharinPix's component--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.
There are just a couple of "gotchas":
- Choose the name of your domain wisely. It's forever!
- Don't add hard-coded URLS across your Salesforce system.
2. Adding a component to a Lightning Page
Go to a record page in Lightning...
This is RCRD, an org that helps disabled kids
Edit the page
Some SharinPix Lightning component 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.
3. Scroll down to the managed components
Choose the SharinPix Album component
The SharinPix Album component was previously named SharinPix.
4. Drag the component into the sidebar.
You can't put the component into the detail page because the detail page is itself a component.
No need to add other settings.
5. After Save, Activate
6. Activation Page
You can set this as the organization-wide default, meaning the component shows up on all the pages for this object.
Or, play with the other options. Or go to "Learn more..."
7. Photo added to an organization
The image above shows 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