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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
4
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 ...
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 ...
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="...
4
votes
Accepted
Salesforce Mobile App is not showing fields
If it helps anyone in the future...
Below things helped me...
Setup --> 'Salesforce Mobile App' --> (A Beta feature) 'Dynamic Forms on Mobile (Beta)' needs to be enabled.
Related List: 'Dynamic ...
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 ...
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 ...
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(@...
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:...
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 ...
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
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.
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 ...
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
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.
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 ...
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 ...
3
votes
Why Mobile Debugging does not work on MacOS13/XCode14/iOS16.4? Why no inspectable apps are shown in Safaris Develop-Menu?
I finally figured it out by trial-and-error. The reason was XCode version 14.3.1, which is at the time of writing (2023-06-29) the most recent version.
14.3.1. does not provide any inspectable apps
...
2
votes
Accepted
Reset the notification badge on iOS
To quote the current documentation (ETPush.h)
/** Reset the application's badge number to zero (aka, remove it).
Call updateET to refresh the server with the current badge number.
Note: updateET may ...
2
votes
React Native Mobile SDK
I can understand that this can be a bit confusing as it's not really documented very well. The key concept here is that forcClient is an instance of react.force.net.js
var forceClient = require('./...
2
votes
Why is the Salesforce Snap Ins SDK for Android and iOS so huge?
For the Android app it sounds to me like you are including all of the Sdks when you only want to use chat. If so the below tips may help. I see sizes increases of <2MB when I compile just the chat ...
2
votes
Protect custom settings in managed package but make them available for our mobile app (logical part of the package)
Would making them a public setting but somehow encrypted be an option? Then both your apex and your mobile app could decrypt them as they see fit in runtime. You could also try talking with guys ...
2
votes
Accepted
Can you limit users visibility of salesforce content separately on mobile?
There's a lot you can do with Session-Based Permission Sets. Basically, you can create a login flow that assigns permissions to a specific session. Basically, your basic profile would include only ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mobile × 521salesforce1-app × 128
visualforce × 71
mobilesdk × 60
marketing-cloud × 52
salesforcemobilesdk-ios × 44
lightning-aura-components × 30
lightning-web-components × 26
ios × 26
sfdcmobilesdk-android × 25
lightning × 23
community × 23
mobilepush × 22
android × 22
apex × 20
javascript × 15
mobileconnect × 15
hybrid × 15
chatter × 12
sdk × 12
rest-api × 11
single-sign-on × 11
app × 11
sms × 10
offline × 10