-
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
Achieving Quick Wins with Successful Salesforce Implementation | Greytrix
Are you planning a Salesforce implementation for your company? Well, you came across this post at the right time! Whereas Salesforce implementation is a revolutionary decision for your organization,…
How to Automate Sales Quotes And Win More Customers For Your Business | Salesforce
Automating sales quotes is usually put on the back burner by sales reps. But will a change of this perspective influence the sales flow effectively?…
Preventing Duplicate Records in Your Salesforce Org for Improved Customer Relationships
Clean and accurate data is the backbone of every business. This means data quality is an important attribute of success for any organization. And, duplicate…
Popular Salesforce Videos
How to Set Up Salesforce Customer Community
Step by Step Salesforce tutorial for quickly setting up a Customer Community with Customer Service (Napili) Template.
How Cyntexa Helped An Educational Firm | Salesforce Training
Here is a testimony of how Cyntexa helped an educational firm build a single place to keep all data. Swipe to know what the challenges…
Salesforce Career Personality Quiz
Which Salesforce career path is right for you? Take this 23 question quiz to learn which Salesforce career is the best match for your personality…