• Sheida Saedifaez 7
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
I have developed a lightning component that runs on the Salesforce1 and most of the users have iPad. It involves filling out a rather complex form. I would like to disable the pull to refresh functionality. I used the example below from other post, but what it did it stopped all touch actions, like scroll down
...addEventListener("touchmove", function(e){
e.stopPropagation();
},false)

help please? thanks!
What i have done so far: a lightning component that accesses data (accounts, custom objects) through an apex controller. The component in the end creates a custom object record and makes an insert. The lightning component is accessed as an action button on the account or from a tab in the navigation of the salesforce1 app.

So what i want to accomplish now is the following - be able to do all this when the user who is using the Salesforce1 app when he is OFFLINE. I understand that accounts e.g are when cashed (as recently viewed) available to read and be able to be created and later synced when going online.

I need a clear YES/ NO from you salesforce experts - when working OFFLINE - is the lightning component able to access the apex controller (or an alternative like GWT does) which gets the data from the cached accounts ? If not - are their any workarounds other than using other apps on the market. Thanks.
 
We created Connected App in SANDBOX-1, implented REST , Oauth User Authentication flow by using grant_type = user, valid user credentials of sandbox1. IT WORKS (Know scenario)

Later when we tried to just Modify the user credentials with valid user credentials of SANDBOX-2 also worked and was able to access SANDBOX-2.

Is this the normal Behaviour, or this is documented anywhere for me to relate this scenario.