Questions tagged [mobile]

Salesforce Platform Mobile Services allow you to develop and deploy mobile enterprise apps on the most trusted cloud platform.

Filter by
Sorted by
Tagged with
52
votes
5answers
25k views

What is Salesforce1 and why/when would I use it?

I've seen a lot of mentions of Salesforce1 coming out of Dreamforce this year. As a developer, what is it and why(or when) would I want to use it? I get the impression it is a refinement of the ...
31
votes
4answers
12k views

Use Salesforce1 mobile app to access camera

I have this requirement : scan QR code and search for the related contact in salesforce and show it in a mobile app. I was wondering if I could do this using salesforce1 mobile app for iPhone/...
21
votes
2answers
3k views

Offline storage for Visualforce pages in Salesforce1

Can Visualforce pages exposed in the Salesforce1 mobile application be opened offline, and if so is there any offline storage available, such as HTML 5 local storage?
18
votes
1answer
951 views

How does Salesforce classify an app as 'Salesforce1 ready'?

As part of the Salesforce1 announcement, Salesforce showcased a list of apps on AppExchange that are 'Salesforce1 ready'. This includes several popular apps such as Box, Concur etc. I want to know how ...
17
votes
5answers
5k views

Javascript remoting and apex date design pattern

I'd like a clever way to handle this in all my code from now on. I have some existing methods that do date calculations in apex...some use the businessHours object and some don't. Many surface ...
11
votes
2answers
2k views

Where can I expose Visualforce Pages in Salesforce Chatter?

How can I expose a Visualforce Page in the Salesforce Chatter mobile app? I'm aware that Salesforce Touch allows Visualforce Pages to exposed as Touch-enabled Tabs: And I can get "Create Record ...
11
votes
1answer
1k views

Salesforce Mobile and Visualforce Page on Android

I'm facing a problem with a Salesforce Mobile application (I use the Salesforce Classic app with mobile licence). In the application I have created a custom formula field on the Contact in order to ...
10
votes
3answers
3k views

Sites login method using javascript remoting

I'm looking for a way to access the site.login() method using javascript remoting for a mobile/html5 site. The method returns a pageReference in theory, but I'm only getting back a null object. ...
10
votes
2answers
589 views

Salesforce1-Desktop Visualforce Pattern

Background I'm facing the challenge to adapt many VF pages already built to S1. After a long research I realised that there are many options to transforme a VF Page to be S1 compatible. I ...
9
votes
4answers
4k views

How to redirect links in email template to salesforce1 app

With the new salesforce1 app which looks cool, i am currently not able to click a record link and open the record in salesforce1. I am using Ipad and set all the salesforce1 setting from the ...
9
votes
1answer
272 views

PIN Security for a Force.com Mobile SDK App

There's a feature for PIN protection which works with Mobile SDK applications which provides an extra level of security for users. The PIN configuration is done as part of a connected app as shown ...
8
votes
2answers
820 views

Do Chatter Desktop & Chatter Mobile Apps Use the Chatter Connect API?

I may be firing in the dark but I want to know some insights into how the Chatter Desktop and Chatter mobile apps (such as iOS & Android) work. Do these tools use Chatter Connect API? I ask this ...
8
votes
1answer
2k views

Federated Authentication for mobile CRM products

We have implemented Federated Authentication for SSO in an organization. But now we want to use SSO for the Salesforce mobile CRM app. According to this article, Federated Authentication does not ...
7
votes
2answers
496 views

Can I listen out for the S1 'back arrow'?

I'm working on an S1 app, I'm using the S1 back arrow to nav back from one page to another. I'm noticing however, that the pages I am navigating back to are not refreshing, this is a problem because I ...
7
votes
1answer
1k views

Using a cloudforce.com login page for OAuth with a hybrid mobile app

Is it possible to use a cloudforce.com login page, e.g. https://example.cloudforce.com, to authenticate users with the PhoneGap OAuth plugin? The plugin is called from javascript using: PhoneGap....
7
votes
3answers
2k views

Find out if a given string is Salesforce Id in Java

Is there a way(regex or something) to find out if a given string is a Salesforce Id or not? I'm looking for some helper class in Java.
7
votes
1answer
976 views

Mobile SDK - refresh access tokens

I am developing an hybrid local app. When the access token expires I must handle the re-login process (actually, I would like to refresh the token just before it expires). in the auth.js I've seen a ...
7
votes
0answers
183 views

linker error in xcode on sample hybrid project build

I've tried building 2 of the sample projects into xcode generated via 'forceios create samples'. They both have 5 errors when I try to build the project. Here's an example of one: Apple Mach-O ...
7
votes
0answers
109 views

Salesforce Hybrid Android App

I have created hybrid android app with salesforce mobile sdk. However the lookup functionality of salesforce is not working. In the app if i click the Accounts lookup a new page is opened where i can ...
6
votes
1answer
254 views

Join Queries in a Hybrid App (Salesforce SDK / Smartstore)

I'm trying to retrieve some data from the local database using SmartStore and join queries. Let's say I have the following query: SELECT * FROM {PricebookEntry}, {Product}, {Pricebook} WHERE {...
6
votes
1answer
2k views

Use GPS on a device to determine geolocation inside salesforce.com custom object

I've been looking for a way to capture the geolocation from a devices (iphone, ipad, etc) GPS and set the location value on a custom object. Looking to add an interactive google map or something to ...
6
votes
1answer
491 views

Mobile SDK 3.x - Cordova Bug - Dialer Returns error for hybrid apps

I've come across a fairly serious issue which relates to Mobile SDK 3.x - While it was good to move to Cordova 3.7, it introduces a rather unwanted bug which is also mentioned on other Stackoverflow ...
6
votes
2answers
443 views

Salesforce Mobile SDK - refresh token validity period

Is there any document or reference about the validity period of refreshtoken of Mobile SDK? I have a hybrid local app and if I let the app to be idle for a while and use back, it's failing with the ...
6
votes
1answer
4k views

Salesforce1: Compact Layout vs Page Layout

I'm reading the official doc of salesforce1 but I'm not able to find this Can I set salesforce1 to use a compact-layout when a record is open in mobile or user a page-layout when it is open in a ...
6
votes
5answers
1k views

complex visualforce pages for mobile sales users

I have a visualforce page that my users get to from a custom button. Got asked, "Can you make this mobile?" So far, we have not mobile-customized any of the "internal" sales pages because touch ...
6
votes
0answers
58 views

Can you control which devices a push notification is sent to?

Background I've created and packaged (in a managed package) a Connected App that's configured to use Apple's push notification service (APNS). When installed into a client sandbox, and when I've ...
5
votes
4answers
5k views

Is there a way to get rid of Salesforce oAuth login page?

I am developing a salesforce mobile app. I want to create a customized login page to ask user to input username and password. I will use this username and password to call an external oauth service in ...
5
votes
4answers
2k views

HTML5 Date pickers today stopped working in Salesforce1 on Android

I have a Salesforce1 app that uses native HTML5 date(time) pickers. This wonderfully worked on all supported mobile platforms, on the desktop and in the one/one.app test page. This morning (August ...
5
votes
1answer
315 views

Group Edition - API is not enabled/ ForcePad App

I have a Group Edition account. I downloaded the ForcePad app from App Store (it has been pulled down now but was available till some time back earlier) and it works perfectly on my org. However, if I ...
5
votes
2answers
101 views

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

We are developing our application as managed package. And there are few custom setting which should not be visible to the client when the package is installed, e.g. Amazon bucket credentials etc. To ...
5
votes
1answer
2k views

URL Button for Salesforce1

I have a URL button 'New Opportunity' which creates the new opportunity and takes the user to the edit page passing through some values through the button which is on Opp Related List in a custom ...
5
votes
1answer
306 views

Mobile App for Portal Users

Has any one developed mobile app for Partners using Salesforce Mobile SDK? If yes, can you please share how you got them access? Thanks!
5
votes
1answer
1k views

Salesforce 1 Visualforce Page offline storage?

I know salesforce 1 app provides some navigation/actions javascript library for custom visualforce page inside salesforce 1 app but what about the option for using offline storage? is there anything ...
5
votes
2answers
1k views

Submit button in Salesforce1 visualforce page

Looking for a very basic example of how to get the submit button at the top But seem only able to do this <apex:page docType="html-5.0" standardController="User_Story__c" showHeader="false" ...
5
votes
2answers
548 views

How to deal with JiffyStubs.js, the html5 application cache, and network latency?

We have a mobile app that runs within the Phonegap container, and is initialized from a VisualForce page. We use the html5 application cache so the application can be started offline. We are working ...
5
votes
1answer
340 views

Getting More Than 2000 Records in Salesforce Native Android App Using RestRequest.getRequestForQuery()

I'm in a tricky situation where my org has more than 2,000 records for objects which I'm trying to fetch in my Android native app RestRequest restRequest = RestRequest.getRequestForQuery( getString(R....
5
votes
1answer
351 views

Salesforce Platform Mobile Services

I've been doing force.com mobile development for several years now but I'm very confused about the nomenclature with some of the recent changes. 1) Is Salesforce Platform Mobile Services (recently ...
5
votes
2answers
2k views

The Requested Scope is not Allowed

Building a Cordova hybrid app with the Salesforce 1.5 sdk (iOS) I've just cloned the SalesforceMobileSDK (ios) repo, ran the ./install.sh script and opened x-code and selected a new salesforce ...
5
votes
1answer
475 views

End Of Life for Salesforce1, Salesforce Classic, and others

Is there a centralized location Salesforce show planned timelines for interfaces and products to be deprecated? In particular, we're discussing whether to start working toward "Salesforce1" mobile ...
5
votes
1answer
1k views

Access lightning component's standard save/cancel buttons for salesforce1

I have a lightning component loaded in to a visual force page; VF page is called via an action. Once I try to load this action from a mobile device/simulator I could see a standard save and cancel ...
5
votes
0answers
466 views

Display Publisher Actions (Upload file to feed) on Visualforce page in Salesforce1

I have a feed-enabled CustomObject__c which I want to expose via Salesforce1. For some reasons I have an override for the View page that is a used for desktop and mobile devices. On of the use cases ...
5
votes
1answer
645 views

Touch.salesforce.com + SSO + Mobile App setup for SSO

I have done SSO using the federated way using ADFS and this is working fine on the desktop browser, my client has the requirement that if this is done then users should be able to login in to the ...
4
votes
3answers
3k views

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

We want to perform different logic in our LWC component js controller if the user is viewing our app in mobile. With aura components, we could do: if ($A.get("$Browser.formFactor") != 'DESKTOP') { ...
4
votes
2answers
303 views

How to distribute an app independent of salesforce org

When developing an app for Android or iOS, it seems mandatory to set up a connected app in your own org and use the key from it in the bootconfig.json file. This is all easily done when developing and ...
4
votes
3answers
722 views

Smart store destroy cache on logout

I am new to SalesforceMobileSDK 2.0, I have developed a hybrid application via sencha touch 2.1 using smart store. The problem is that when I logout from salesforce, all data stored in soups destroys. ...
4
votes
1answer
372 views

Mobile SDK Hybrid Apps - Local and Remote

When developing a hybrid app with the Mobile SDK, you need to specify whether it is a 'local' or 'remote'. Local apps use resources on the device, remote apps use resources on a remote server e.g. ...
4
votes
2answers
2k views

Adaptive visualforce for desktop and mobile

What is the best option to implement visualforce page with view for desktop and mobile at the same place. Can this be handled automatically with modern javascript frameworks like backbone.js, angular....
4
votes
3answers
529 views

how to distribute hybrid app outside appstore

I'm sure lots of users here have built apps using the Mobile SDK. How are you distributing them? I've built a hybrid-remote app to go with our managed package. I don't want the app to be available in ...
4
votes
1answer
1k views

Salesforce.com mobile simulators

I am planning to check out Salesforce.com mobile for the different mobile platforms. I would like to know if I can make use of the simulators for the respective platforms. Please let me know if you ...
4
votes
2answers
1k views

New Visualforce Tab- Available in Touch?

I'm trying to show a Visualforce Tab on the Salesforce Touch app for the iPad but havent been able to. I've enabled all the settings in the Salesforce Touch options in the setup menu plus made sure ...

1
2 3 4 5
10