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. If you want to improve your knowledge just keep visiting
    this web page and be updated with the newest news posted here.

  2. Excellent weblog right here! Also your web site lots up very fast!

    What host are you the use of? Can I am getting your associate hyperlink to your host?
    I want my site loaded up as quickly as yours lol

  3. I think that is one of the so much important info for me.
    And i’m satisfied reading your article. However want
    to commentary on some basic things, The site style is ideal,
    the articles is in reality great : D. Excellent task, cheers

  4. You could certainly see your expertise in the article you write.
    The world hopes for more passionate writers such as you who aren’t afraid to mention how they
    believe. All the time follow your heart.

  5. Saya akan segera ambil rss Anda karena saya tidak
    bisa
    Ini waktu terbaik untuk membuat beberapa rencana untuk masa depan dan sekarang waktu untuk berbahagia.

    Saya telah membaca posting ini dan jika saya bisa, saya ingin menyarankan Anda beberapa hal menarik atau saran .
    Mungkin Anda bisa menulis artikel berikutnya yang mengacu pada artikel ini.
    Saya ingin membaca lebih hal tentang itu!

    My page Situs qq judi slot online

  6. Helpful info. Fortunate me I discovered your site by chance, and I am surprised why this twist
    of fate didn’t took place earlier! I bookmarked it.

  7. When I initially left a comment I seem to have clicked the -Notify me when new comments
    are added- checkbox and from now on each time a comment is
    added I recieve four emails with the same comment. Perhaps there is an easy method you are able to remove me from
    that service? Thanks!

  8. Hi there, its fastidious post regarding media print, we all be familiar with media is
    a wonderful source of data.

  9. Excellent blog here! Also your website loads up fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my web site loaded up as quickly as yours lol

  10. Please let me know if you’re looking for a article author for your site.
    You have some really great articles and I think I would be a good asset.
    If you ever want to take some of the load off, I’d love to write
    some articles for your blog in exchange for a
    link back to mine. Please blast me an e-mail if interested.
    Thank you!

  11. Greetings! This is my first visit to your blog!
    We are a collection of volunteers and starting a new project
    in a community in the same niche. Your blog provided us beneficial
    information to work on. You have done a outstanding job!

  12. เว็บพนันบอล เดิมพันอย่างต่ำ 10 บาท มีอยู่จริงๆที่UFA700 เว็บนี้เว็บเดียว เพราะเว็บของเราเห็นใจคนที่มีทุนน้อย และอยากเล่นพนันบอลกับทางเรา พวกเราจึงปรับให้การแทงอย่างต่ำเริ่มที่ 10 บาทแค่นั้น เว็บของพวกเราก็เลยเหมาะสมอย่างมาก สำหรับลูกค้าที่มีทุนน้อย
    แต่สำหรับลูกค้าที่มีทุนเยอะแยะก็เล่นได้ไม่มีอะไรขัดข้อง
    เนื่องจากว่าสามารถแทงได้สูงสุด 1000000 บาท ต่อ
    1 บิล UFA700.COM

  13. We’re a group of volunteers and opening a new scheme in our community.
    Your site provided us with useful info to work on. You’ve done an impressive task and our whole neighborhood will probably be
    thankful to you.

  14. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts.

    In any case I will be subscribing to your
    feed and I hope you write again soon!

  15. บาคาร่า คืออะไร
    บาคาร่าออนไลน์ ก็คือเกมส์ไพ่ชนิดหนึ่งที่นิยมเล่นกันล้นหลามตามคาสิโนต่างๆทั่วทั้งยังทวีปเอเชีย ด้วยแบบเกมส์ที่เล่นง่าย ชักชวนให้ผู้พนันรู้สึกเบิกบานท้าได้ตลอดทั้งเกมส์
    และยังเป็นอีกหนึ่งเกมส์ที่ทำเงินดีขึ้นอีกด้วย รวมทั้งช่วงนี้เกมส์ไพ่ บาคาร่าออนไลน์ ยังได้เปิดให้บริการผ่านระบบออนไลน์ ที่ทำให้เล่นสามารถร่วมพนันได้ง่ายและก็สบายมากเพิ่มขึ้นโดยการถ่ายทอดภาพสดส่งตรงจากคาสิโน
    ซึ่งผู้เล่นสามารถร่วมพนันได้ตลอด ทุกที่ที่ต้องการ ไม่ว่าจะอยู่ที่แหน่งใด เวลาใด ก็ร่วมพนันกับ บาคาร่าออนไลน์ ได้ตลอด 1 วัน การ เล่นบาคาร่าออนไลน์ ผ่านระบบออนไลน์ยังรองรับการใช้แรงงานผ่านทั้งยังคอมพิวเตอร์ รวมถึง ก็โทรศัพท์มือถือทุกระบบอีกด้วย

    Feel free to visit my website – บาคาร่าขั้นต่ำ10บาท

Comments are closed.