-
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
System.VisualforceException: Getting content from within triggers is currently not supported
System.VisualforceException: Getting content from within triggers is currently not supported (Salesforce Visualforce Error Notification) ---------------------------- Hi All, Recently I was working on a task in…
Profile Attributes in Salesforce Marketing Cloud
Steps to create a Profile Attributes in Salesforce Marketing cloud: Login to Marketing cloud Click on Email -----> Subscribers -----> Click on "Profile Management" Click…
Salesforce Connectivity Instructions for SpringCM
The Salesforce tool known as DocuSign CLM Files connects your Salesforce and DocuSign CLM businesses. Depending on the security access defined by administrators, authorized users…
Popular Salesforce Videos
How To Create Permission Set Group | Salesforce Development Tutorial
How to create permission set groups. This video will cover the following points - 1. Introduction Get a brief introduction about Permission Set Groups. 2.…
What are Permission Sets (Object Level Security) in Salesforce?
In this video, Shrey is not only teaching but also demonstrating Permission Sets used in Salesforce Object Level Security. You will be learning: What are…
Dynamic Forms in Salesforce
Hello Everyone, in this video, we will talk about what the dynamic form is and how to work with the dynamic form in Salesforce. Watch…