-
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
Introduction to The Salesforce Clouds
Salesforce is the world’s number one CRM company. Initially, Salesforce began as a Customer Relationship Management (CRM) software as a service provider (SaaS). Now, it…
Salesforce Trends to Look Out for in 2021
Salesforce is one of the top Customer Relationship Management (CRM) platforms. It helps businesses to connect with customers and potential clients by using cloud technology.…
Maximize Efficiency and Revenue with Professional Salesforce Development Services
In today's competitive business environment, maximizing efficiency and revenue is paramount for any organization looking to thrive. One key strategy to achieve this is through…
Popular Salesforce Videos
Wildcards in SOSL | Clauses in SOSL | Learn Salesforce Development
In this video, Shrey covered Wildcards in SOSL in Salesforce. And also you will learn: What are the different Wildcards in SOSL? What are Clauses…
Tips for Importing Data in Salesforce
Data can be easily imported into Salesforce through various tools provided by Salesforce. Supported data sources include any program that can save data in the…
Salesforce Talent Alliance Demo
Salesforce Talent Alliance connects employers to Salesforce candidates and brings new talent into the ecosystem, emphasizing building a diverse workforce that reflects society around the…