• KevinBouh
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi,

 

I have a problem with the "forcetk.Client.prototype.ajax" method which not seems to refresh the token on a 401 error. 

It looks like there is a mistake on the following verification :  (!this.refreshToken || retry )

This should be this, isn't it ?:  (!this.refreshToken || !retry )

 

For me the retry parameter mean that the application need to refresh the access token on a 401 error, right ?

 

I use the forcetk.js of the SDK 1.5.4

 

Thanks

 

 

Hi:

I am using smartstore in a native iOS app.  I need to search my soup for results that meet two conditions and I  don't understand how to build the SFSoupQuerySpec.

 

For example, I want to query my "Contacts" soup to return contacts with the Name like "smith" AND a certain OwnerId.

 

Is this possible using SFSoupQuerySpec?

Thanks.