Questions tagged [salesforce1-app]

The Salesforce app is the mobile app from Salesforce offering access to functionality like access to: records (standard & custom), views, chatter, visual force pages and more! It combines all the good features from the previous Touch and Chatter apps.

Filter by
Sorted by
Tagged with
17
votes
3answers
7k views

Lightning - How to use force:inputField?

I've seen that since Spring'15, there are new standard components available in Lightning. I've been looking for a component that would be a sort of apex:inputField, but in Lightning. The force:...
30
votes
5answers
15k views

Detect if Visualforce Page is in Salesforce1

I have a Visualforce page that is used in both Salesforce1 and the desktop. On that page is a button. That button should only display if the user is loading the page on the desktop. It should be ...
6
votes
0answers
337 views

Unable to add custom scroll due to “component/namespace encapsulation” when Locker Service is active

I'm unable to add custom scroll due to the component/namespace encapsulation when locker service is activated in Salesforce1 app. Since the Scrollable is still not compatible with Salesforce1 app, and ...
8
votes
1answer
16k views

How do I configure AD FS 3.0 to support Salesforce SSO, especially with Salesforce1?

We are trying to configure AD FS to properly support SSO, particularly with Salesforce1, so our users only need to remember one login. There doesn't seem to be any documentation on how to correctly ...
31
votes
4answers
11k 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/...
57
votes
3answers
19k views

What is the difference between Aura and Lightning frameworks?

Apart from Wave, the biggest announcement from a developer perspective at Dreamforce 2014 is "Lightning" and it will be announced in the big keynote by Marc Benioff today. I've started to play around ...
51
votes
5answers
24k 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 ...
19
votes
5answers
10k views

salesforce1 look & feel in Visualforce

How to make a vf page with the same look & feel as salesforce1, any ideas?
5
votes
3answers
4k views

Scroll issue in Salesforce1 | Lightning ui:scrollerWrapper issue

I'm using ui:scrollerWrapper to implement scrolling functionality in Salesforce1 application as the default SLDS-SCROLL is still not compatible in Salesforce1 app. Recently, I'm facing scrolling ...
20
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?
4
votes
3answers
2k views

Pagescroll not working in Pages which are navigated to a lightning component in Salesforce1 app

I am facing an issue with the normal pagescroll in the lightning component in Summer'16. The scroll is not working in pages which are navigated to a lightning component in the Salesforce 1 app. ...
9
votes
5answers
8k views

VisualForce page will not scroll on Salesforce1 app

I have created a dashboard like visual force page with several components that retrieve account information, revenue data, stock information, twitter feeds, chatter, and show some attached images. I'...
5
votes
3answers
5k views

Lookup fields using Salesforce1 and Visualforce

I'm trying to create a VF page that will be used in Salesforce1 via a publisher action. One of the things I need to do is have the user choose an Account. However, there seems to be two problems ...
3
votes
3answers
2k views

Can I use sforce.one.createRecord() and programmatically set one of the fields on the create page?

I have a custom visualforce page that displays some account info. The page has a "New Contact" button that does this: sforce.one.createRecord('Contact'); This works great. However, I would like ...
2
votes
3answers
4k views

Dynamically add and remove rows in lightning

I have to dynamically add and delete records in my lightning page. I have done with adding the rows but I am not getting how i will remove the records. Rather I am not understanding how I will get ...
1
vote
2answers
2k views

How to add a lightning component to salesforce1 navigation menu?

I have created a lightning component and I need to add it to salesforce1 app. I'm trying to add the lightning component through Lightning Component Tab. But the lightning component that I have created ...
30
votes
2answers
6k views

How are Salesforce1 and Aura related?

I have been playing around with Salesforce1 for a while now. I have also read several (unofficial) links which suggest that it's built using Aura. I downloaded the Aura repo from github and have been ...
8
votes
3answers
29k views

How to refresh the specific Lightning component not the lightning page

I have two lightning component placed on one page lightning app. First Component have refresh icon and I set onclick action to refresh Component $A.get('e.force:refreshView').fire(); but this event ...
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 ...
7
votes
2answers
2k views

How can I access to the Android camera directly from Salesforce 1

I want to open the camera in an Android device from Saleforce1. I've seen many blogs that say that it is possible in android but always the screenshots are with an IOS device. Salesforce1 can open ...
7
votes
2answers
5k views

Salesforce1 Publisher Action Submit Button overwrite

I created a object-specific publisher action, my objective is to submit the custom object on the redirected visualforce page. It works fine to pass the object parameters to the visualforce page, but ...
18
votes
1answer
944 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 ...
8
votes
1answer
1k views

Adding Publisher Action to visual force page

I've override object view page in order to customize look and feel on sf1. Is it possible to add "Publisher Action button(+)"? The (+) icon shows up when using default layout but it disppears when ...
8
votes
1answer
1k views

<input type=“range” /> not working on iOS

I've created a very basic lightning component: <aura:component implements="flexipage:availableForAllPageTypes"> <input type="range" min="0" max="100" value="50" /> </aura:component&...
7
votes
4answers
4k views

Salesforce1 - How to Enable the Standard Lookup Field Search on a Mobile VF Page

We have created a couple of VF pages that are Mobile Enabled. These VF Pages have 2 Lookup fields each. The problem I"m having is that on Android, I cannot open a search to find the records and on ...
5
votes
1answer
1k 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
1k views

Lightning: How to detect Salesforce1 context?

Are there any way to detect that user opens lightning component within Salesforce1 or within separate app?
4
votes
0answers
427 views

this developer name is invalid .provide the developer name for the report that contains the chart in salesforce1

I have a report which is showing fine in Salesforce classic but in salesforce1 it's giving this error 'this developer name is invalid .provide the developer name for the report that contains the ...
4
votes
1answer
2k views

PDF file download in Lightning

How can we download or view the PDF file using Lightning Component from documents in salesforce1 app, is it possible to do or not, if yes please suggest how can i achieve this.
4
votes
1answer
5k views

How to get Look up field onto a lightning component in Salesforce1?

I am trying to create a lightning component for mobile in which i need to pull Account Name field on the lead object. I referred Salesforce documnetation but they havent given how to call ...
3
votes
1answer
8k views

Conditional Rendering inside Visualforce pages

I have an overwritten edit page for my custom object, which have different record types with different fields. The simplified desktop version of this VF page looks like this: <apex:page ...
6
votes
0answers
652 views

lightning:textarea | Scroll not working when the content exceeds the container height in Salesforce1 | Winter '17

I'm facing an issue where scroll is not working in one of the newly released Lightning Base Component in the Winter '17 namely lightning:textarea. The cursor even moves out of the textarea when tried ...
5
votes
1answer
1k views

Standard object page “not supported on mobile device” in Salesforce1

In a bit of a bind here. I have just created a new, totally standard custom object in my Spring'14 DE, and added three fields to it with no problem (lookup to contact, number, text). I assigned it a ...
5
votes
1answer
2k views

cancel URL for sforce.one.createRecord

I noticed that when you use sforce.one.createRecord, and you then hit the "Cancel" button, you get a blank page in Salesforce1. Is there any way to specify the return url with this method? Current ...
4
votes
1answer
561 views

Hide or Remove back button in Salesforce1

How can i remove or hide back button in the salesforce one UI. it take back me to the previous page but i don't want to give this functionality. So how can i hide or remove back button from custom VF ...
3
votes
1answer
8k views

Passing parameter from lightning JS controller to apex class

I am unable to pass parameter from the lightning controller to the apex class. Whenever I use debug the passed value seems null. JavaScript Controller add : function(cmp,event,helper) { event....
2
votes
2answers
6k views

Salesforce1 navigation - how to go to a Visualforce page?

I've done a bit of tinkering with the Salesforce1 warehouse example (tutorial 6 here). I've successfully adapted the code to work with my own custom object, and I've got records showing up as pins on ...
2
votes
5answers
10k views

How to Query all opportunities ids from account

I write a sample query to fetch account Ids from cases of a particular record type.Then i wrote another sample query parent to child relationship to fetch opportunity ids from accounts. My sample ...
1
vote
1answer
319 views

Ways to fetched the credentials of the logged in user in Salesforce SDK iOS

Is there a way to get the details/credentials (email, password, name, etc.) of the logged in user using salesforce SDK or even third party libraries?. After allot of googling and searching, i found ...
1
vote
3answers
2k views

Salesforce1 on focus scroll to the top

I've this issue using Salesforce1 on mobiles (Android and IOS) with a long lightning component form: Tapping on an input text element at the bottom part of the form, scrolls the screen to the top. ...
1
vote
1answer
472 views

When will Lightning components be available for Android phones?

Lightning components works well with iOs whereas does not work with Android. When will this feature be available for Android?
19
votes
4answers
791 views

Lightning - FLS

I'm reviewing the lightning documents, I don't find any relevant topics for FLS access control, in VF it works based on profile and throw error based on permissions. It seems like lot of code needs to ...
6
votes
1answer
4k views

Redirect to standard view from VF page with nooverride parameter in SF1

The view of my custom object is overwritten by a Visualforce page for my desktop users. This VF page should not be visible for my mobile users. Before I render my VF page, I check the device to ...
11
votes
3answers
2k views

Connecting Native ios app to Salesforce1?

I would like to connect my native ios app (objective C/ Bluetooth Low Energy) in Salesforce1 platform (not as custom app). How do I do that ( publisher action or global actions or canvas apps) ?. Can ...
11
votes
3answers
2k views

disable “pull to …” on lightning component in sf1

Built a lightning component; put it as a component tab in sf1. Is there a way to disable the "pull to refresh" and "pull to Show More" at the top/bottom of the page if that makes no sense for this ...
9
votes
3answers
2k views

Does anyone know how to make input work properly on iOS devices in Salesforce1

So iOS has some major bugs with input objects in iFrames, the upshot of which is that if you use input fields in a Visualforce page in the Salesforce1 mobile app, you get to deal with those bugs. If ...
5
votes
1answer
671 views

Which is corresponding event in Lightning Component? vs load or DOMContentLoaded within document

In init and afterRender of component, I attached handler to DOMContentLoaded and load like below, but seems never executed. document.addEventListener('DOMContentLoaded', function () { console.log(...
5
votes
1answer
3k views

How to attach file using Lightning for Salesforce1?

I wanted to attach a file to an objects's notes & attachments list. Since Aura's inputFile ui tag is in Prototype stage, Is there any other way to implement this? How to pass the Blob value ...
2
votes
2answers
530 views

Salesforce1: How to reference the Parent Id on “new” action?

I have a mobile app with two Objects which are linked via Master-Detail. I have overwritten the new page for creating an child record with an custom visualforce page. This page should create an ...
2
votes
1answer
5k views

400 Bad Request in Response

I have been using working on an Applicaion in angularjs, and While getting response of 2nd request for the token, I am getting following an error. Illegal Request You have sent us an Illegal URL or ...