-
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
Your Complete Guide to Salesforce Pardot
Pardot is a marketing automation platform similar to Marketing Cloud except it’s designed specifically for B2B contexts. It’s built with ease of use in mind,…
Salesforce vs. Hubspot - Which CRM Is the Best for You
At the heart of every sales and marketing team is customer relationship management (CRM) software that makes everything that they do work seamlessly. If you…
Tips to Prepare Your Salesforce Data for a Perfect AI Integration
Salesforce is the finest Customer Relationship Management (CRM) software available today. It lets you keep a proper track of customer interactions and sales data. However, leveraging this…
Popular Salesforce Videos
UiPath automation for Salesforce | REST API commands | OAuth2 | Download files | Without activity
How to send a raw REST API command from UiPath to Salesforce without using custom activities. 0:00 Intro 1:35 OAuth2 4:10 Download files from a case, opportunity, account,…
How to Create Bulk Custom Fields in Salesforce using BOFC App | Salesforce | BOFC | AppExchange
Want to perform multiple operations? This quick video walks you through how to create mass custom fields of any type (Master Detail, Lookup, Formula, Primitive…
Enhance Multi-Select Picklist Functionality With Flows to Increase Reportability | Salesforce
Multi-select picklists are AMAZING but have some MAJOR downsides. Do you like the functionality of muti-selects but hate reporting on them? Does the easy user…