This is exactly the same question from here: Programmatic way to switch apps?
However this solution is outdated and not working anymore. Is there any way to switch from the current selected app to another one using Lightning or APEX?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
Hi you can redirect to the url "/lightning/app/06m2E000000qgp1QAA". The last part is the id of the desired app.
Check the lightning/navigation that can be used both in aura/lwc