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
Taresh PandeyTaresh Pandey 

How to write apex class in lightning for switching user mode(from salesforce classic to Lightning App UI and vice-versa).

Hello All,
         I don't even know how to perform this task. Could any one help me for this task. If any one can give me a little clue for the task that would be really helpful for me.

Thank you all in advance.
Regards'
Taresh 
Best Answer chosen by Taresh Pandey
Taresh PandeyTaresh Pandey
Thanks for the reply Prosenjit, But that issue has been resolved. 

All Answers

Prosenjit Sarkar 7Prosenjit Sarkar 7
Why do you need to write it by apex, whearas salesforce provides a tool to do it ?

Thanks
​Prosenjit
Taresh PandeyTaresh Pandey
Thanks for the reply Prosenjit, But that issue has been resolved. 
This was selected as the best answer