-
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
No Code Salesforce and HubSpot Integration
Leverage inbound marketing's potential and integrate sales channels to align the internal teams responsible for both operations. Huge opportunities are created by connecting HubSpot and…
Our 10 Favorite Salesforce Pardot Summer ’20 Features In The Release
The sun is shining, and you know what means, new notes for the Salesforce summer release! Let’s take some time to acknowledge these fantastic new…
How to Freeze and Deactivate User Accounts in Salesforce
Introduction Here we are going to learn about how to freeze the user and deactivate the user. If your employee left your company then you…
Popular Salesforce Videos
Introduction to Salesforce Shield Platform Encryption | Salesforce Tutorial
Introduction to Salesforce Shield Platform Encryption 0:00 Introduction 1:00 Shield Platform Encryption 2:35 Need for Shield Platform Encryption 3:18 Classic Encryption Vs Shield Platform Encryption…
How can Salesforce Field Service Help in Providing a Better Customer Experience?
Salesforce Field Service Management automates and optimizes the work of field service workers (agents, dispatchers, mobile technicians). It is part of the Service Cloud and…
Automate Your App With and Without Code | Salesforce Developer Tutorial
In this video, you will learn how you can automate your business process with and without code. This video teaches you how to use a…