QuestionQ46

VerifiedIntegrating with Salesforce: Security

An integration architect has created a mobile application that lets Salesforce users retrieve data while traveling through a custom user interface (UI). The application is protected by OAuth and is currently working well.

A new requirement is for the mobile application to obtain GPS coordinates and save them in a custom geolocation field. The geolocation field is protected by field-level security, allowing users to view the value but not modify it.

What should be done to satisfy the requirement?

Explanation

An inbound Apex REST service lets the mobile client submit the GPS value to server-side Apex logic, which can perform the controlled field update despite the calling user having read-only access to that field. Standard REST and SOAP API updates are constrained by the OAuth user’s field-level permissions, and an Apex callout is an outbound request from Salesforce.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!