When we had issue with one of the users complaining about his access, we can find easily whether user has access or not with below SOQL SELECT RecordId,HasReadAccess,HasEditAccess FROM UserRecordAccess WHERE UserId=’00541000005yQ1V’ AND RecordId IN (‘5001L00001J9OC4QAN’) Salesforce NOOVERRIDE=1Use /e?nooverride=1 for classicUse /edit?nooverride=1 for lightning edit Use /view?nooverride=1 for lightning record view
Understanding Salesforce External Credentials In today’s fast-paced digital world, secure integrations are not just optional—they’re essential. That’s where Salesforce external credentials come in. This powerful feature simplifies how Salesforce connects with external systems while safeguarding sensitive authentication data. Whether you’re building REST APIs, using Apex callouts, or integrating with AWS or Google Cloud, external credentials […]
Removing null values in REST API response / Beautify Response / Suppresses null values / JSON Serialize There is an out of box method available to remove all the null values from the JSON response it suppresses null values when serializing Apex objects into JSON content. Syntax:public static String serialize(Object objectToSerialize, Boolean suppressApexObjectNulls) Parameters objectToSerializeType: ObjectThe Apex object to serialize.suppressApexObjectNullsType: BooleanIf true, remove null values before […]