function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chetana MalakannavarChetana Malakannavar 

Lightning Readiness Report

Hi All,
I am working on Lightning Readiness report ,There is one scenario, i have to get the count of sharing button present in page layout of objects in the Org, using soql. can anyone help with the soql (in how many objects page layout  sharing button is present )
Bhargavi TunuguntlaBhargavi Tunuguntla
Hi Chetana,

Once you generate the report using the below steps :
https://help.salesforce.com/articleView?id=lex_readiness_check_kick_off.htm&type=5 (https://help.salesforce.com/articleView?id=lex_readiness_check_kick_off.htm&type=5)
After generation you can see the list of buttons , CTRL+F (Sharing) and check the buttons added to which page layouts.I dont think this is possible using soql.

Let me know if this was helpful.
Thanks.
 
Chetana MalakannavarChetana Malakannavar
Thank You Bhargavi,
But How can we implement the same thing?
 
Bhargavi TunuguntlaBhargavi Tunuguntla
This cannot be written in an apex class/soql.
Lightning Readiness:
Go to setup (click Get Started at Lightning Experience) - Discover Phase (Go To Steps) -Evaluate Lightning Experience Benefits and Readiness then click 'Check Readiness' ,this will mail you an PDF in few mins stating all the org related details which even includes 'Buttons' .
Search for 'Sharing' in the PDF and you can find how many number of buttons are in the pagelayouts.

Please let me know if this is helpful.
Thanks