Blogs

  • Maximum SOQL offset allowed is 2000 for Pagination

    Salesforce Help Article There is a help article suggested by Salesforce: https://help.salesforce.com/articleView?id=000339353&type=1&mode=1. However, there are some good ways to use this. PK Chunking – the one we used to use Bulk API For example, let’s say you enable PK chunking for the following query on an Account table with 10,000,000 records. SELECT Name FROM Account…

    Read more…

  • “This session is not valid for use with the REST API” while making query

    DESCRIPTION This error you must be getting while making query developer console OR query using api. It’s because of fact that you don’t have permission to access org using API. SOLUTION If Issue is taking place in developer console Quick way to fix it to give permission “Use any API client” using profile or permission…

    Read more…

  • Salesforce Winter ’21 Release Notes (Developer Perspective)

    Update Resources with the PATCH HTTP Method in Apex Callouts To make partial or full updates to a resource in an HTTP web service, specify the PATCH method in the HttpRequest class. Previously, only the PUT method was supported for full updates. https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_callouts_patch.htm?edition=&impact= Use the Safe Navigation Operator to Avoid Null Pointer Exceptions Use the safe navigation…

    Read more…