function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ArleneArlene 

Has anyone created a Mobile SDK 5.1 App for Community Users with Customer Portal licenses?

Has anyone been successful with updating data in a sandbox (not developer org) using a community for an OAuth login host in a hybrid local app on iOS? Our Community users have Customer Portal licenses.  We can authorize and query data, but cannot seem to do updates or inserts to any objects whatever. We receive back a rather generic error 400, and can't seem to drill down into any more information. It doesn't appear to be security as the same user can update exactly the same records and fields in the Community through the UI. Identical updates through Workbench (to test the REST API) work as well, although that login is not authenticating through the community. We are using the newest version of the SDK (5.1), and version 1.0 of the ForceJS Rest Toolkit. (Version 2.0 of ForceJS has browser compatibility issues that we're not ready to address, and it didn't solve this update problem.) Currently, we're still testing on iPhone simulators on MacOS, until we can get the updates to work.