Oct 11, 2024
58 Views
Comments Off on The ‘Sharing’ button is not available in the Salesforce Lightning Experience UI: Here’s a solution for this!
0 0

The ‘Sharing’ button is not available in the Salesforce Lightning Experience UI: Here’s a solution for this!

Written by

In Salesforce Classic – Admins are able to add a standard “sharing” button to most record page layouts – allowing admins to view all of the users who have access to a particular record. But as of now “sharing button” is still not available in Lightning Experience. Users will need to temporarily switch to Classic to view the information.

Salesforce Labs provides an AppExchange Component: Lightning Sharing that lets you add a Sharing action to any record detail page. Clicking the button takes you to an intuitive place to view, create or modify sharing. And this page allows the user (only admins and record owners) to share their record, or modify who it’s currently shared with.

Setup

Step 1:
We’re using custom components, so My Domain must be enabled and deployed.

Step 2:
Set sharing settings on whatever object you want manual sharing on (from public read/write to READ or PRIVATE)

Step 3:
Create a custom action on the object that you want to share.

  • Name it Sharing
  • Set it to Lightning Component
  • Select LightningSharingAction for the component
  • Optionally, set the height to 0px.

Step 4:
Add that action to the Lightning/S1 actions section on the page layout you want it to appear on. You may need to override the standard actions.

Happy Salesforce !

Article Categories:
Blog
Avatar
https://thestarbiznews.com/

Ananya Panday is not your average tech blogger. Sure, she's got the brains to understand the latest AI algorithms and the jargon to explain them in plain English. But she's also got a sparkle in her eye and a way of weaving technology into the fabric of everyday life that makes it nothing short of fascinating. Born and raised in Noida, India, Ananya has always been drawn to the magic of making things work. Whether it was tinkering with her dad's old Walkman as a child or coding her first website in high school, she's always found joy in the problem-solving power of technology. After graduating with a degree in computer science, Ananya took her tech savvy to the bustling world of startups. There, she saw firsthand the transformative power of technology, not just for businesses, but for people. She witnessed how apps could connect doctors to patients in remote villages, how educational platforms could empower underprivileged children, and how social media could give voice to the voiceless. This ignited a passion in Ananya to make technology more accessible, more human, and more fun. And so, she started blogging. At TheStarBizNews, Ananya's writing is a breath of fresh air in the often-dry world of tech journalism. She takes complex topics and breaks them down into bite-sized pieces, using humor, real-life examples, and even the occasional pop culture reference to make them relatable to everyone. But Ananya is more than just a tech explainer. She's a trendsetter. She's always on the lookout for the next big thing, the gadget that will change the way we live, the app that will solve a problem we didn't even know we had. And she's not afraid to experiment, to try new things, and to share her experiences with her readers. Whether she's reviewing the latest smartphone, exploring the potential of virtual reality, or delving into the ethical implications of artificial intelligence, Ananya does it with a contagious enthusiasm that makes you want to learn more, do more, and be a part of the exciting world of tech. So, if you're looking for a tech blog that's informative, inspiring, and just plain fun, follow Ananya Panday. She'll take you on a journey through the ever-evolving landscape of technology, and you might just find yourself a little bit more tech-savvy (and a lot more excited) along the way.