I'm trying to determine the current app in Lightning mode from Apex.

In Salesforce Classic, I was able to use the isSelected() of DescribeTabSetResult to determine the title of the current app. Upon switching to Lightning however, the current app (or the app that isSelected) remains the last app selected while in Salesforce Classic view.

Is there a function in Apex that will determine the current app while in Lightning?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.