-
How do you detect if a user is coming from Salesforce1 (SF1) in a lightning component?
Hi All,
I'm developing a lightning app that users will be accessing via desktop and through Salesforce1. I've been using the $Browser variable to detect if the user is coming from mobile but that only works if they are accessing the page via a web browser on their phone and not the SF1 mobile app. It seems the $User.getTheme and $UserInfo.getUiTheme() functionality only works in visualforce pages.
Log In to reply.
Popular Salesforce Blogs
Top Mistakes to Look Out for While Hiring Salesforce Professionals
With Salesforce becoming the top CRM product globally, the need for Salesforce implementation and administration in organizations is increasing every day. This has resulted in…
Building a Custom Community Leaderboard for an Antivirus Software Company – A Salesforce Success Story
Gamification has become critical for running successful online communities. By implementing gamification techniques, online communities can become more active, and garner more user engagement. Regardless…
Salesforce Marketing Cloud Segmentation Strategy in 2024
Delivering personalized marketing and campaign messaging is at the heart of engaging customers effectively in today’s digital age. The Salesforce Marketing Cloud is a world-class…
Popular Salesforce Videos
Why are Salesforce Releases Named After Seasons?
If you are wondering “Why are Salesforce releases named after Northern Hemisphere Seasons?” then get an expert answer by Megan Peterson and Salesforce Co-Founder Parker…
How Customers Embrace Salesforce - Literally!
Get ready to giggle ???? Couldn’t get enough of the famous Key and Peele’s video doing the rounds on social media? Check out our version…
Salesforce Tutorial For Beginners | Introduction To Salesforce | Salesforce Training
This video on Salesforce training will help you understand the easy and best tool for CRM and Branding. You will learn how to customize the…