-
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
AI-Powered Salesforce Integrations: Reevaluating Traditional Tools
In the ever-evolving world of technology, I recently discovered the power of AI bots for generating Apex and middleware code for Salesforce integrations. The results?…
What Makes the Salesforce Ecosystem a Game-Changer for Businesses?
Introduction: Why the Salesforce Ecosystem Matters Imagine having a single platform that connects your sales, marketing, customer support, and analytics teams seamlessly while adapting to…
5 Essential Aspects of a Successful Salesforce Data Security Policy
Data security should never be an afterthought when growing a business. Whether it’s customer data or client lists, or proprietary business information, the importance and…
Popular Salesforce Videos
What is Field Dependency in Salesforce and When to use it?
This video gives a complete knowledge of what Field Dependency is in Salesforce. It's divided this topic into 4 major points that are: 1. What…
PayPal + Salesforce | Democratizing Financial Services
Hear PayPal leaders share how Customer 360 has helped the company accommodate an increase in digital payments with a frictionless process that supports small and…
Transform the Consumer Experience - Salesforce Customer 360 Guide
The Transform the Consumer Experience Customer 360 Guide helps you: Unlock & unify data Personalize digital journeys Go direct to consumers Scale service across channels…