Ask Search:
Luke OsmundsonLuke Osmundson 

Lightning Experience switching on by itself in Sandbox

One of our Sandboxes has recently switched to Lightning Experience as a default. When testing things to be deployed in a SalesForce classic experience, it is regularly switch back to lightning. Not only that, but whenever it does it returns to the home page, losing any work I was trying to accomplish. Is there any way to disable this behavior?
Best Answer chosen by Luke Osmundson
Bahubali VijayakeerthiBahubali Vijayakeerthi
If anyone is still looking for an answer - this is new feature added by salesforce in Summer 18 to encourage the users for Lightning. You can disable it by going to > Lightning Experience Migration Assistant > Setup users >  'Encourage Users to Stay in Lightning Experience'
 

All Answers

Rajesh Varma MudunuriRajesh Varma Mudunuri
Luke,
I want to connect you to the other thread.
https://success.salesforce.com/answers?id=9063A000000eGUoQAM
Thanks.
Artur NovikovasArtur Novikovas
I was at the Salesforce World Tour 2018 in London and overheard that the summer 18 release in live orgs will always default us to Lightning ( cant clarify this but sounds like Salesforce are pushing us in one direction ) Luke is your Sandbox a preview or not ? Sounds like you have a preview sandbox.
Regards 
Artur
Luke OsmundsonLuke Osmundson
Yes, it is a preview sandbox. So there is no way to change the default? Between that and sign-ins expiring every few hours even when actively working, I'm constantly losing my location.
Artur NovikovasArtur Novikovas
Hello Luke, i am also on the preview and have done some testing. If i login into our sanbox using google chrome and work in the classic view and log out the next time i log back in it leaves in in classic. I have tried the same in lightning and the behavour was identical so i will be in the view i was last in before loggin out. What browser are you using ? i have a feeling its either something to do with your " Session settings " under the Caching settings in Salesforce or its the browser that is not saving your session cookies.
Regards
Artur
Luke OsmundsonLuke Osmundson
I am using Chrome as well. All cookies are enabled, but I have tried wiping them all out to see if there was an issue caused by the switch to the preview. I’ll post an update later if that stopped the switching.
Artur NovikovasArtur Novikovas
Good plan, try the " incognito " mode in chrome too.
Regards
Artur
Bahubali VijayakeerthiBahubali Vijayakeerthi
If anyone is still looking for an answer - this is new feature added by salesforce in Summer 18 to encourage the users for Lightning. You can disable it by going to > Lightning Experience Migration Assistant > Setup users >  'Encourage Users to Stay in Lightning Experience'
 
This was selected as the best answer
Jaspreet SinghJaspreet Singh
As per SF knowledge article, there are three ways to turn this off:
1. Disbale Automatic switching by going to > Lightning Experience Migration Assistant > Setup users >  'Encourage Users to Stay in Lightning Experience' > Disable
2. Turn off Lightning Experience in the org
3. Revoke Lightning experience permission of the user.

Reference: https://help.salesforce.com/articleView?id=lex_enable_users_autoswitch.htm&type=5