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. of course like your website hoowever you have
    to cgeck the spelling on quite a few of your posts. A number
    of them are rife with spelling problems and I find it very bothersome to tdll the reality on the
    other hand I’ll certainly come again again.
    web page

  2. Normally I don’t read article on blogs, but I wish to say that this
    write-up very forced me to check out and do so! Your writing style has been amazed me.
    Thanks, very nice article.

  3. Great blog! Do you have any hints for aspiring writers?
    I’m planning too start my own site soon but I’m a little lost on everything.
    Would you recommend starting wth a free platform like WordPress
    or go for a paid option? There are so many opttions out there that I’m completely overwhelmed
    .. Any ideas? Thanks a lot!
    web site

  4. It is perfect time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I desire to suggest
    you some interesting things or suggestions. Maybe you could write next articles
    referring to this article. I wish to read more things about it!

  5. My developer is trying too persuade mee to move to .net from PHP.

    I have always disliked the idea because oof the expenses.
    Buut he’s tryiong none thee less. I’ve been using WordPress on several websites
    for about a yea and amm worried about switching to another platform.
    I have heard fantastic things about blogengine.net. Is there a way I can transer all my wordpress content into it?
    Any help would be greatly appreciated!
    web site

  6. I was wondering if you ever thought of changing the layout of
    your blog? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content
    so people could connect with it better. Youve got an awful lot
    of text for only having one or 2 images. Maybe you could space it out better?

  7. This is the perfect site for anybody who would like to understand this topic.

    You realize so much its almost hard to argue with you (not that I
    actually will need to…HaHa). You definitely put a
    brand new spin on a subject which has been written about for years.
    Excellent stuff, just excellent!

  8. It’s a shame you don’t have a donate button! I’d most certainly donate to this fantastic blog!

    I suppose for now i’ll settle for bookmarking and adding your RSS
    feed to my Google account. I look forward to fresh updates and will talk about
    this blog with my Facebook group. Chat soon!

  9. Wow, marvelous blog layout! How long have you been blogging for?
    you make blogging look easy. The overall
    look of your site is magnificent, as well as the
    content!

  10. When someone writes an article he/she maintains the image of a user in his/her mind that how a user can know
    it. Therefore that’s why this post is outstdanding.
    Thanks!

  11. บาคาร่าออนไลน์ เล่นอย่างไร
    คนอีกหลายๆคนคงรู้จัก บาคาร่า เป็นชื่อเรียกไพ่ชนิดหนึ่งซึ่งมีต้นกำเนิดมาจากเมืองนอก นิยมกันมากมายในหมู่ชนชั้นสูงของยุโรป
    มีการเผยแพร่และเป็นที่บอกอย่างยิ่งในฝรั่งเศส โดยมีลักษณะเด่นของกติกาสำหรับการเล่นที่เข้าใจง่าย และก็มีความถูกต้องของกติกา มีการสร้างสรรค์โดยนักเสี่ยงดวงท่านนึงโดยจะแต่งตั้งให้มีคนกลางทำหน้าที่แจกไพ่โดยเฉพาะอย่างยิ่งเพื่อขจัดปัญหาการโกงหรือการซ่อนไพ่ การเล่นไพ่ประเภทนี้ก็เลยไม่อาจจะทุจริตได้
    และก็จะใช้ไพ่หลายสำรับมารวมกันแล้วก็แจกกระจัดกระจายไพ่ออกให้แต่ละฝั่ง การแจกไพ่จะแบ่งได้ 2 ฝั่งคือ ฝั่งผู้เล่น
    (player) แล้วก็เจ้ามือ (banker) ท่านจะมีหน้าที่เลือกลงพนัน
    โดยสามารถเลือกลงฝั่งไหนก็ได้ โดยวางเดิมพันฝั่งนั้นแล้วคอยเปิดไพ่เพื่อจะได้ดูว่าได้แต้มเท่าใด และก็คนไหนกันมีแต้มมากยิ่งกว่ากัน ซึ่งกติกาการเล่นจะมีลักษณะคล้ายกับไพ่ป๊อกกระเด้งบ้านพวกเราที่ตัดสินโดยใช้แนวทางนับแต้มสูง ฝั่งไหนมีแต้งสูงสุดฝั่งนั้นชนะ เว็บพนันของเรา มีpartnerรวมไว้ให้แด่คุณเลือกเล่นได้ตามอัธยาศัย สามารถเลือกโต๊ะได้แบบไม่มีข้อจำกัดโดยแต่ละโต๊ะก็จะมีต้นแบบการเดินเกมแตกต่างกันไป ด้วยความที่ไพ่บาคาร่ามีข้อตกลงที่ไม่สลับซับซ้อนเราทำความเข้าใจได้ง่าย ไม่ว่าท่านจะไม่เคยเล่นมาก่อนไหมมีพื้นฐานการเล่นไพ่เลยก็สามารถเล่นได้ บาคาร่านั้นมีแบบอย่างให้พวกเราเลือกลงเดิมพันที่หลากหลาย จึงทำให้นักพนันทั้งหลายแหล่ไม่รู้จักสึกระอา ไม่จำเจ ลุ้นได้หลายแบบ และก็ท่านจะได้เล่นผ่านบริษัทแม่โดยตรงด้วยเหตุดังกล่าวท่านสามารถให้ความเชื่อใจกับเว็บของพวกเราได้เลยนะครับ รับประกันได้ว่าไม่มีปัญหาตามมาอย่างไม่ต้องสงสัย เพียงสมัครเป็นสมาชิกกับพวกเราก็จะได้รับ user แล้วก็
    password มีเพียงแค่ยูสเดียวก็สามารถเล่นได้ทั้งยังคาสิโนโดยไม่ต้องสมัครใหม่เพื่อจะเล่นได้หลายๆเกมให้ยุ่งยาก เล่นได้ครบจบที่ยูสเดียว ในปัจจุบัน บาคาร่าออนไลน์เป็นที่นิยมกันมากมาย ทุกคนทุกเพศทุกวัยต่างก็เอ่ยถึงและต้องการทดลองเล่นในเวลานี้พูดได้ว่าไม่มีผู้ใดไม่ทราบบาคาร่า คนจำนวนไม่น้อยต่างก็สนใจเกี่ยวกับการเล่นบาคาร่ามากกว่าการเดิมพันชนิดอื่นๆเนื่องจากว่าไม่สลับซับซ้อน เล่นง่ายได้เงินเร็ว ไม่ซ้ำซาก หลายท่านเข้ามาเล่นแล้วทำเงินได้ในระยะยาว บางคนเข้ามาเล่นเพียงแค่ชั่วครั้งชั่วคราวแล้วได้ผลทดแทน มีกำไรแล้วหยุดเล่นก็ถือว่าคุ้มในระดับนึง การเล่นไพ่จำพวกนี้นั้นผลตอบแทนเป็นกำไรจะได้มากหรือได้น้อยก็ขึ้นอยู่กับจังหวะการออกไพ่ในแต่ละรอบ ดวง ความชำนาญรวมทั้งแนวทางที่ดี ประสบการณ์สำหรับการเล่น การมองเกมออก ก็สามารถทำกำไรจากที่ตรงนี้ได้ไม่ยากแล้ว การเล่นไพ่ประเภทนี้ก็เลยตอบปัญหานักเสี่ยงโชคคนไม่ใช่น้อย และตกเป็นที่ชื่นชอบอยู่ในใจของใครหลายๆคน การเดิมพันจะมีรายละเอียด
    ศัพท์ ข้อตกลงต่างๆชี้แจงให้เข้าใจง่ายๆได้ดังต่อไปนี้ ศัพท์โดยประมาณที่ใช่ในเกมที่ท่านควรจะรู้เป็นเบสิกสำหรับในการเล่น คือ Player
    หรือผู้เล่น , Banker หรือ เจ้ามือ
    , TIE หรือ เสมอ , Bonus หรือที่พวกเราเรียกกันว่าโบนัสนั่นเอง
    , player pair หรือ banker pair เป็นการลงเดิมพันแบบไพ่ออกแต้มมาคู่กัน นอกนั้นยังมีกติกาการเรียกไพ่ใบที่ 3 หากท่านเลือกลงพนันฝั่งผู้เล่น (player) แล้วได้ไพ่สองใบแรกออกแต้มมาเป็น
    0-5 แต้ม ท่านจะต้องเรียกไพ่ใบที่ 3 โดยอัตโนมัติ แม้ไพ่ออกมาได้ 5-6 แต้ม ท่านจำต้องรอฝั่งตรงข้ามเป็นฝั่งเจ้ามือ (banker) ว่าได้แต้มเท่าใด แม้ฝั่งเจ้ามือได้ 8-9 แต้มก็จะจบเกมทันที เพราะว่าเป็นแต้มที่สูงที่สุดของไพ่แล้ว แล้วก็อีกอย่างที่ท่านจำเป็นต้องรู้เกี่ยวกับกติกาก็คือกรรมวิธีนับคะแนน หรือการออกแต้มของไพ่ ซึ่งหากไพ่ออกมาเป็น A = 1แต้ม
    , ถ้าได้ไพ่ J Q K 10 = 0 แต้ม , หากออกไพ่มา 2-9 = 2-9 แต้ม หากได้ไพ่มาก็สามารถนับแต้มได้ตามไพ่ได้เลยแนวทางการเลือกเดิมพัน พวกเราสามารถเลือกลงพนันได้หลายแบบ
    ดังนี้-ฝั่งผู้เล่น ถ้าหากพวกเราเลือกลงทุนฝั่งเจ้ามือ (player) แล้วแต้มออกมาสูงกว่าอีกฝั่งท่านจะชนะ โดยมีอัตราผลตอบแทนคือ 1 :
    1 ถ้าหากเราเลือกลงทุนฝั่งเจ้ามือ (banker) แล้วไพ่ออกมาแต้มสูงหรือมากยิ่งกว่าอีกฝั่งจะมีอัตราผลตอบแทนเป็น 1 : 0.95 -การเลือกลงทุนแบบเสมอหรือTIEนั้น แม้ไพ่ส่งผลออกมาเสมอกันระหว่างผู้เล่น(player) กับเจ้ามือ(banker) ดังเช่นว่า
    4-4 5-5 8-8 2-2 เพียงไพ่ออกแต้มมาเสมอกัน ท่านก็จะได้ผลทดแทนมากกว่าการลงเดิมพันแบบปกติถึง 8 เท่า -การลงพนันอีกรูปแบบนึงคือ การเลือกพนันแบบโบนัส(Bonus) เป็นการลงพนันโดยจำเป็นต้องลุ้นให้ไพ่ที่ออกมานั้นห่างกันมากยิ่งกว่า 4 แต้ม เช่น ถ้าท่านเลือกลงพนันฝั่งเจ้ามือ(banker) ไพ่ฝั่งผู้เล่นออกแต้มมา 2 แต้ม ไพ่ฝั่งเจ้ามือจำต้องออกแต้มมากกว่าหรือเท่ากับ 6 แต้มแค่นั้น จึงจะชนะแล้วก็ได้รับโบนัสในทันที และก็หากว่าท่านเลือกลงพนันฝั่งใดฝั่งนึงแล้วได้ไพ่มากกว่าอีกฝั่ง 8
    แต้มขึ้นไปท่านจะได้ผลทดแทนไปเลย 30 เท่า -และก็การลงพนันแบบในที่สุด
    เป็นการลงพนันแบบไพ่คู่ หากท่านเลือกลงไพ่คู่ฝั่งเจ้ามือ
    (banker pair) ไพ่2ใบแรกจะต้องออกมาเป็นเลขที่แบบเดียวกันอีกทั้ง2ใบ อย่างเช่น 1-1 2-2 อย่างเดียวกันหากท่านเลือกลงพนันไพ่คู่ฝั่งผู้เล่น (player pair) แม้ไพ่ 2 ใบแรกออกมาแต้มเช่นเดียวกันท่านก็จะได้รับผลตอบแทนมากกว่าปกติไปเลย 11 เท่าสำหรับแบบเกมก็จะมีลักษณะแบบที่กล่าวไปแล้วตามข้างต้นวนๆไปแบบนี้ตลอดทั้งเกม รวมทั้งผลตอบแทนจะไม่เหมือนกันออกไปในแต่ละโต๊ะ ท่านสามารถเลือกลงพนันตามความสามารถได้ตามต้องการ และสามารถเปลี่ยนกรรมวิธีการลงพนันตามแผนการของแต่คนเพื่อเพิ่มช่องทางสำหรับการทำกำไรได้เลย

  12. I am extremely impressed along with your writing talents as
    neatly as with the structure to your blog. Is that this a paid topic or
    did you modify it yourself? Anyway stay up the nice quality writing, it’s uncommon to peer a great weblog like this one today..

  13. Heya this is kind of of off topic but I was wondering if blogs
    use WYSIWYG editors or if you have to manually code with HTML.

    I’m starting a blog soon but have no coding skills so I wanted to get advice from someone with
    experience. Any help would be enormously appreciated!

  14. Greetings from Los angeles! I’m bored to death
    at work so I decided to check out your blog on my iphone during lunch break.
    I really like the info you present here and can’t wait to take a look when I get home.

    I’m surprised at how fast your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyhow, amazing site!

Comments are closed.