17 votes
Accepted

Is there an equivalent to $A.get("$Browser.formFactor") in LWC?

As of today, there is a lwc module that you can import to get it: import formFactorPropertyName from '@salesforce/client/formFactor' formFactorPropertyName—A name that refers to the form factor of ...
Alba Rivas's user avatar
  • 2,561
8 votes
Accepted

Is there any way to shorten URL in SMS in Marketing Cloud?

That's a great question. We've tried using the bit.ly shorten API method in conjunction with an AMPscript HTTPGet function (to make a request to the API) to shorten a URL. This works well, but the ...
Eliot Harper's user avatar
  • 16.5k
7 votes
Accepted

Is Salesforce still offering the Mobile Solutions Architecture Designer exam?

No salesforce is not offering this anymore. Last year those who received this certification in the past got an email saying it will be retired soon.
Mohith Shrivastava's user avatar
5 votes

Progressive Web Applications

Just running down the checklist I think at least most of that should be possible in visualforce/lightning. It just depends on the needs of the company and the developers skill level. There are some ...
gNerb's user avatar
  • 9,491
5 votes

Is there an equivalent to $A.get("$Browser.formFactor") in LWC?

Edit Dec. 2020: Now available via @salesforce/client/formFactor import No there is no equivalent of $Browser.formFactor Aura global value provider in LWC. The addition of an equivalent is under ...
pmdartus's user avatar
  • 2,667
5 votes

Cannot redirect to a WEB URL from push notifications

While Zak's answers isn't incorrect, it does require a bit more discovery once you click the links he provided. To be specific to the original question, in the Android SDK you will need to provide an ...
Seth's user avatar
  • 941
4 votes
Accepted

apex:outputlink won't work in lightning experience and visualforce salesforce 1

You need to use force:navigateToSObject(documentation) for lightning Navigates to an sObject record specified by recordId. To display the record view, set the record ID on the recordId ...
Ratan Paul's user avatar
  • 22.7k
4 votes

Mobile Sends - Triggered SMS from Salesforce using Marketing Cloud

I can help you with this as we researched this last week. It turns out Salesforce ran a limited beta with the Marketing Cloud Connector sending SMS out of Salesforce via Mobile Connect. However, the ...
Kevin Moran's user avatar
4 votes
Accepted

How to build a force.com sites that will work for both standard browsers and mobile users?

Visualforce, at its core, is HTML with proprietary markup options. Salesforce lets you modify the apex:page tag so that you can make the page look more like familiar HTML. For example: applyHtmlTag, ...
Curious Blueprints's user avatar
4 votes

Protect custom settings in managed package but make them available for our mobile app (logical part of the package)

When you use a managed custom setting in a managed package, as you should in this case, no UI is provided, allowing you to decide who should access those settings and under which circumstances. It's ...
Robert Sussland's user avatar
4 votes
Accepted

lightning-combobox issue with Salesforce Mobile app in Screen Flow

That is likely an issue related to Salesforce on Android, rather than your development. Is it an issue on iOS? LWC in flows are still new enough that this isn't surprising. Also, you can debug a ...
Coogle's user avatar
  • 445
4 votes
Accepted

lwc not supported on app page (mobile)

In order to support mobile on record page you just have to add <supportedFormFactor type="Small" /> to the related supportedFormFactors section: <targetConfig targets="...
RubenDG's user avatar
  • 8,562
3 votes

How can I display Notes & attachment in salesforce1 mobile

According to Support for notes, documents, files and attachments in Salesforce1, notes and attachments aren't supported in Salesforce1 Salesforce1 supports documents that are uploaded through the ...
Nick C's user avatar
  • 6,585
3 votes
Accepted

In a SMS only display a variable if under a certain lenght

I would recommend you to use AttributeValue AmpScript function to check FirstName field value. %%[ SET @Firstname = AttributeValue("FirstName") IF Not Empty(@Firstname) Then IF Length(@...
Palash Rai's user avatar
  • 1,824
3 votes
Accepted

Integrate third party app with Salesforce ensuring a seamless experience

The following assumptions made by you are correct and are also validated by the link you quoted. In an SSO scenario I'm supposing that the Salesforce will be the IdP for all client's systems. The ...
Gaurav Kheterpal's user avatar
3 votes
Accepted

Navigating to create record page Salesforce1 sforce.one.nativgateToURL

Try createRecord(​entityName​[, recordTypeId]) (pulled from Navigation with the sforce.one Object). createRecord(​entityName​[, recordTypeId]) Opens the page to create a new record for the specified ...
Adrian Larson's user avatar
  • 150k
3 votes
Accepted

Viewport/Client Width in a Lightning App

I was able to reproduce the clientWidth issue using chrome simulator as described in the question. So I tried adding the meta tag to the Lightning app directly and logged the clientWidth and it is ...
Praveen's user avatar
  • 10.1k
3 votes
Accepted

mySalesforce app functionality

1) This trailhead is probably the best link to answer your first question, and here's the best quote from it "Well, it’s identical to the Salesforce mobile app, but it’s better... because it’s ...
Todd Halfpenny's user avatar
3 votes
Accepted

Wrap components in lightning

If you use the lightning:layout and lightning:layoutItem components, you can specify a grid based on small, medium, and large devices: <lightning:layout multipleRows="true"> <lightning:...
sfdcfox's user avatar
  • 491k
3 votes

How can I edit Service Appointments via Field Service Lightning Mobile App?

Go to Setup Enter and go to "Field Service Mobile settings" Find the "Enable Full Edit on Records" checkbox and check it and click save. ----In the Mobile App----- Go to "Settings" Tap "Clear Purged ...
Armando Segura's user avatar
3 votes
Accepted

Product: You can't view this item in Lightning Experience (Salesforce1 / Mobile)

It turns out that it is not possible to view a Product record via mobile or Salesforce1 There is a Salesforce Idea: Allow Products / Pricebooks to be displayed in Salesforce1 app
Robs's user avatar
  • 9,336
3 votes
Accepted

How can I send analytic event about "push open" in SF Android SDK

You can use redirectForAnalytics when creating the PendingIntent for your notification.
Seth's user avatar
  • 941
3 votes

Device from which the email was first opened

You can get device information but user-wise device information can't be obtained. So, which subscriber opened the email on which device can't be obtained as far as I know but how many subscribers ...
Krati Garg's user avatar
3 votes
Accepted

What happened to the "New Event" button in the mobile app Events screen?

New Event button can be added or removed from Setup > Object Manager > Activity > Search Layout > List View
Tiny's user avatar
  • 159
3 votes
Accepted

How to switch to lightning in mobile browser chrome

As you are accessing it from mobile to see in the desktop mode you can ask chrome to force desktop version of website. There is a checkbox which can do all the magic.
itzmukeshy7's user avatar
  • 3,170
3 votes

visualforce with lightning styling looks different on mobile compared to desktop

Note that as per VF guide API version 47: Apex tags such as <apex:pageblock> and <apex:inputField> are not yet supported for use with SLDS. But considering other recommendation from ...
Shamina's user avatar
  • 4,245
3 votes
Accepted

How to scroll to div/top/bottom in LWC that works in mobile app?

I have tried scrollIntoView() and it works just fine for me in desktop, mobile browser(chrome android) and salesforce mobile publisher(app). I do not have a physical iOS device to test but it works in ...
pk1772's user avatar
  • 133
3 votes

How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)

As it stands, all you need to debug and inspect Aura Components for iPhone is somehow in the documentation. I will wrap up how I was able to get a CSS inspector. My steps are from the perspective of a ...
Uwe Heim's user avatar
  • 28.4k
2 votes

ByPass Login in Salesforce SDK

It is not possible to completely bypass login using the Salesforce Mobile SDK. There are however a few things you can do. 1) If you're using Communities, you can use a custom auth screen as described ...
Gaurav Kheterpal's user avatar
2 votes

ReadyAimFire and the application class

Take a look at this learning app. In particular, pay attention to the dependencies in the app/build.gradle file and the <application> tag in the AndroidManifest.xml file. Without any data ...
Bill Mote's user avatar
  • 5,276

Only top scored, non community-wiki answers of a minimum length are eligible