You need to sign in to do that
Don't have an account?
Shankar Kumar 9
Check in APEX if Lightning is enabled for current Org?
Hi
I want to check in apex whether Lightning is enabled for current Org?
I want to check in apex whether Lightning is enabled for current Org?
1. If your apex code is called from a visual force page , and you just want to know that currently lighting experience is used or not , you can check in URL .
ApexPages.currentPage().getURL().contains('Lighting')
2. I tried organisation.getSetting() method . but can not find whether lighting experience is enabled or not .
I am tring searching and I will let you know .
Thanks ,
Many Thanks For your reply.
I want to know whehter Lightning enabled or not. when lightning is installed, user can toggle enable/disable and my requiremnet is same i.e. when lightning is installed whehter Lightning enabled or not.
I have posted an idea
https://success.salesforce.com/ideaView?id=0873A000000LlGMQA0
please up vote it.
If you found any workarround . please post it here
Thanks
Dhruv