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 operator (?.) to replace explicit, sequential checks for null references. This new operator short-circuits expressions that attempt to operate on a null value and returns null instead of throwing a NullPointerException.

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

How: If the left-hand-side of the chain expression evaluates to null, the right-hand-side is not evaluated. Use the safe navigation operator (?.) in method, variable, and property chaining. The part of the expression that is not evaluated can include variable references, method references, or array expressions.

https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_SafeNavigationOperator.htm?edition=&impact=

Instead of checking System.isFuture() || System.isQueueable(), detect Apex Runtime Context with RequestId and Quiddity

//Get info about the current request
Request reqInfo = Request.getCurrent();

//Universally unique identifier for this request
//Same as requestId in splunk or REQUEST_ID in event monitoring
String currentRequestId = reqInfo.getRequestId();

//enum representing how Apex is running. e.g. BULK_API vs LIGHTNING
//Use this with a switch statement,
//instead of checking System.isFuture() || System.isQueueable() || ...
Quiddity currentType = reqInfo.getQuiddity();

Improve Apex Testing with New SObject Error Methods

If the SObject.addError() method has been called on an SObject instance, the SObject.hasErrors() method returns true. The SObject.getErrors() method returns a list of Database.Error objects that contain the errors. encountered.https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_trackErrors.htm?edition=&impact=

A new REST resource for Composite requests is now generally available

Then composite resources let you batch up multiple calls in a single call. By using this you can simplify your code, reduce network overhead, and improve your app’s performance.

composite graphs ensure that the steps in a given set of operations are either all completed or all terminated. It’s no longer necessary to check for a mix of successful and unsuccessful results. The Composite Graph resource payload increases the subrequest limit to 500 per payload, up from 25 per Standard Composite payload. A single API call can now do much more.

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/using_composite_resources.htm

Transform Data with a Few Clicks (Pilot)

Data in your Salesforce org is stored across different objects. Use Data Processing Engine to bring all the data in one place and transform it based on your requirements. Start by creating an instance of Data Processing Engine. Then select data sources, define the various configurations, and choose whether you want to use the transformed data to create records or update existing records.

https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_data_processing_engine_create.htm?edition=&impact=

1,085 thoughts on “Salesforce Winter ’21 Release Notes (Developer Perspective)”

  1. Thank you for any other excellent article. Where else
    could anyone get that type of information in such a perfect approach of writing?
    I’ve a presentation subsequent week, and I am on the search for such information.

  2. It’s actually a nice and useful piece of info. I am happy that you simply shared this
    useful info with us. Please stay us up to date like this.
    Thanks for sharing.

  3. In the first week you’re going to get properly trained
    on obtaining acquaintance on architecture info and also other complex concepts.from an ABAP
    builders viewpoint. There will be introduction in regard to the development resources and various critical concepts of ABAP progress for SAP HANA.When you
    start coding to SAP HANA all of your anxious issues will be answered and you can find
    a myriad of instruments that are available in SAP
    ABAP that can assess and detect coding relevant to ABAP.
    You will end up Finding out functionality Evaluation equipment
    and optimized parts which include ABAP checklist viewer.In the subsequent
    stage of Understanding you may find out new characteristics and abilities of
    AS ABAP 7.4, which has a center on databases-oriented
    programming. Besides the Open up SQL enhancements, you might find out pertaining to Superior
    see definition capabilities via Main Knowledge expert
    services.

  4. Thx for this article, because I thought it was only me.
    Not only do I have problems getting orders,
    but just getting shifts from Skip. I book next weeks schedule and they take it
    away, so I end up as ” overflow”. So many flaws and over saturation

    Here is my blog – skip the dishes code

  5. You’re so cool! I don’t think I have read a single thing like that before.
    So nice to find somebody with a few original thoughts on this subject matter.
    Really.. thank you for starting this up. This web site is one thing
    that’s needed on the web, someone with a bit of originality!

  6. I enjoy what you guys are usually up too. Such clever work
    and coverage! Keep up the good works guys I’ve included you
    guys to my own blogroll.

  7. Good blog youu have got here.. It’s harfd to find quality writing like yours these days.
    I honestly appreciate people like you! Take
    care!!

    my web-site bateau

  8. Cool blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my blog
    shine. Please let me know where you got your theme.

    Cheers

  9. As the admin of this site is working, no uncertainty very
    rapidly it will be famous, due to its quality contents.

  10. Actually not a bad night, given the promo. Critique: that Smoke’s Poutinerie order should have been declined – that one was crap
    (and that customer, by not tipping, is garbage).
    I love that you film your entire journey and show it to us – you’re unique in that
    respect :)You’ve got great commentary and a great personality.
    I’m subscribed and I hit the bell and look forward to future articles 🙂

    Here is my page; Skip The Dishes Coupon Code

  11. My family all the time say that I am killing my time here at web,
    however I know I am getting experience every day by reading such good articles or
    reviews.

  12. My family members always say that I am wasting my time
    here at web, but I know I am getting familiarity
    daily by reading such fastidious articles or reviews.

  13. I am curious to find out what blog system you are using?
    I’m having some small security problems with my latest site and I’d like to find something more safe.
    Do you have any recommendations?

  14. My partner and I stumbled over here coming from a different
    web page and thought I might check things out. I like what I see so now i’m following you.
    Look forward to looking over your web page yet again.

  15. It shouldn’t take too long (it depends on the ink, humidity, etc.) – but
    you can use the same rack you use for screens to dry your
    prints. We’ve seen shops that simply line up the boxes in any empty space around their shop, too.
    You can also keep your eyes peeled for an art drying rack (trying searching for that term and
    you’ll see plenty of fairly affordable results). As usual,
    give it a shot and let us know how it goes!

Comments are closed.