UPDATE 6/15/18:
This App is being retired as there’s a better solution in Salesforce.
The free Lightning Usage App was added to Lightning with Summer ‘18. Key benefits:
Please use that app instead moving forward.
https://releasenotes.docs.salesforce.com/en-us/summer18/release-notes/rn_lightning_usage.htm
Lightning Adoption Tracker Dashboard App Install Guide
jkucera@salesforce.com
Installation: Step 1 - Configure My Domains
Installation: Step 2 - Install the App & activate it
Installation: Step 3a - Edit Field Mappings for Reporting Snapshot
What is this used for?
The dashboard has a trend report tracking who is using Lightning each day. This Reporting Snapshot is needed to capture those changes over time and power that trend chart.
1
2
3
4
Installation: Step 3b - Schedule the Reporting Snapshot
What is this used for?
The dashboard has a trend report tracking who is using Lightning each day. This Reporting Snapshot is needed to capture those changes over time and power that trend chart.
1
2
Installation: Step 4 - Find the Dashboard & Refresh
After a few minutes, your dashboard should be ready to be refreshed!
How does the app work?
How does the app work? (cont)
Troubleshooting - “The app isn’t updating / showing the right results”
Please try the below first, and then email jkucera@salesforce.com
Common Apex Job Errors & How to Address Them
Error Message | What does the error mean | What to Try Next |
First error: Update failed. First exception on row 0 with id <user id>; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: | Usually it means a non-admin somehow activated the app. The app is failing as that non-admin can’t make updates to other users. | Go to the App’s setup page, switch the app off, and switch it back on. |
caused by: System.DmlException: Update failed. First exception on row 0 with id 00570000003Kn5vAAC; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION [Validation Rule Error Message] | There’s a validation rule on User which is failing updates to at least one user |
|
caused by: System.AsyncException: Future method cannot be called from a future or batch method: [ApexClassName].[ApexMethodName] | You have other apps / code that conflict with this app. | Determine the owner of the code from the method or class name in the error. Then have them change their @future or batch apex code to NOT execute if system.isFuture() == true |
caused by: System.DmlException: Update failed. First exception on row 17 with id 005U0000004TSGBIA4; first error: DEPENDENCY_EXISTS, Cannot complete this operation. This user is being used by email alerts. : Email Alert : [] | Other code is doing something with a user. | This should resolve on it’s own with the next run. |
Failed to process batch for class '<unknown>' for job id '7074100004BBRdF' | Salesforce had an error | This should resolve on it’s own. If not resolved in a day or two, file a case. |
FAQ
Lightning Adoption Tracker Dashboard
Installation: Step 2 if My Domains is not Enabled
*If you are still in classic, you can click the [+] to find this setup tab as well.
Installation: Step 2.1 After My Domains is Enabled