Profile cover photo
Profile photo
Matt Lacey
335 followers -
Developer, Coder, Hacker, Engineer.
Developer, Coder, Hacker, Engineer.

335 followers
About
Posts

Am I missing something or does using force.apexrest() send everything to Salesforce as query parameters?

I need to send large amounts of data via the request body, and while this previously worked well it seems now to be pumping everything into query params and subsequently failing.

Post has attachment

Post has attachment
Are there any known issues with 5.0.1 and iOS 9.3?

I've removed our app from my iPad, built with Xcode and run it and it's falling over somewhere very early on. I'm just getting disassembly so don't have anything useful.

Last output is this:

"authenticationCompletion: Authentication flow succeeded. Initiating post-auth configuration.
2017/03/29 00:59:56.761 EgoSalesApp[366:550f] DEBUG com.salesforce <SFSmartStore>: initWithName:user:isGlobal: defaultStore, user: 00D90000000Hqg5EAC-00590000004t6rU-(null), isGlobal: 0"

And I've attached the call stack. Any ideas?

Photo

I'm trying to update a local hybrid app to 5.0.1 from 4.3.

I bit the bullet and created a new app using forceios create (there really should be a better way to do this!), and am now updating relevant parts of the codebase. Prior to this we were using forcetk to handle certain things, for example making REST requests to ApexREST webservices.

I've got a request working fine using force.apexrest(), but I do need the userId for a few other things.

force has a method called getUserId(), though that seems to be dependant on a local (to the module) oauth.id value which isn't set. The oauth object just has the session Id, refresh and access token inside of it. How else can I get the user Id? Using login via cordova used to return a bunch of information such as instance url, user ID etc. Would be good if the login method of force.js passed this to the success handler.

Post has attachment
Kris Moyse explained what we do at Proximty Insight during Dreamforce 2016.

Post has attachment

Post has attachment
Quick blog post on how to do split profile images with CSS.

Post has attachment
Girls Do Code.

Post has attachment
A new blog post, on why I think people should use GOTO.

Post has attachment
The #RetroComputing StackExchange proposal has hit the commit stage! Please commit and help us get this site live so we can have an amazing cross-community retro computing resource for Q&A :)

http://area51.stackexchange.com/proposals/94441/retrocomputing?referrer=jua8Sp9gEDXnou2V41ekZw2
Wait while more posts are being loaded