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.
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.
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.
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.
Hi, I think your site might be having browser compatibility issues.
When I look at your website in Chrome, it looks fine
but when opening in Internet Explorer, it has some overlapping.
I just wanted to give you a quick heads up! Other then that, fantastic blog!
Hmm is anyone else having problems with the pictures on this blog loading?
I’m trying to figure out if its a problem on my end or if it’s
the blog. Any feedback would be greatly appreciated.
I think everything wrote made a great deal of sense. However, what about this?
suppose you typed a catchier post title? I mean, I don’t
wish to tell you how to run your blog, however what if you added a post title that makes people desire more?
I mean Salesforce Winter ’21 Release Notes (Developer Perspective)
– SFDCians is a little vanilla. You could glance at Yahoo’s home page and see how
they create article headlines to get viewers interested. You might
try adding a video or a related picture or two to
get readers interested about everything’ve got to say.
Just my opinion, it could make your posts a little bit more interesting.
Awesome article.
I really like your blog.. very nice colors & theme.
Did you design this website yourself or did you hire someone to do it for you?
Plz respond as I’m looking to create my own blog and would like to find out where u got this from.
kudos
Hmm is anyone else encountering problems with the pictures on this blog
loading? I’m trying to find out if its a problem on my end or
if it’s the blog. Any feedback would be greatly appreciated.
What you said made a ton of sense. But, what about this?
what if you added a little content? I mean, I don’t wish to tell you
how to run your blog, but suppose you added something to possibly grab folk’s attention? I mean Salesforce Winter
’21 Release Notes (Developer Perspective) – SFDCians is a little
plain. You could look at Yahoo’s home page and watch how they create news headlines to get people to click.
You might add a video or a related picture or two to get people excited about what you’ve written. In my opinion, it
could bring your posts a little livelier.
My web-site; download game mega88
Hi to every one, the contents present at this web site are genuinely amazing for people knowledge, well,
keep up the nice work fellows.
Thanks for the auspicious writeup. It in fact was a enjoyment account it.
Look advanced to more delivered agreeable from you! However, how could we communicate?
You ought to be a part of a contest for one of
the most useful blogs on the web. I am going to highly recommend this site!
It is not my first time to visit this web page, i am browsing this web page
dailly and take nice information from here all the time.
Good day! I know this is kind of off topic but I was wondering which blog platform are you using for
this site? I’m getting fed up of WordPress because
I’ve had problems with hackers and I’m looking at alternatives for another platform.
I would be fantastic if you could point me in the direction of a good platform.
It’s an awesome paragraph for all the online viewers; they will obtain advantage from
it I am sure.
Amazing! This blog looks exactly like my old one!
It’s on a completely different topic but it has pretty much the same page layout and
design. Superb choice of colors!
Very descriptive post, I liked that bit. Will there be a
part 2?
Hello, this weekend is nice designed for me, because this point in time
i am reading this impressive educational piece of writing here at my house.
Hi, of course this article is genuinely good and I have learned lot of
things from it regarding blogging. thanks.
I drop a leave a response whenever I especially enjoy
a post on a site or I have something to contribute to the conversation.
Usually it’s caused by the passion displayed in the article I read.
And on this article Salesforce Winter ’21 Release Notes (Developer Perspective) – SFDCians.
I was actually excited enough to drop a thought 🙂 I do have a few questions for
you if you usually do not mind. Is it just me or does
it give the impression like a few of these comments come
across like written by brain dead individuals? 😛 And, if you are posting on additional sites, I would like to keep up with everything new you have to post.
Would you list every one of all your shared sites like your Facebook page,
twitter feed, or linkedin profile?
Stop by my web-site … turbomaxturbos.com
You really make it seem so easy with your presentation but I find this matter to be really something which I think I would never understand.
It seems too complex and extremely broad for me. I am looking forward for
your next post, I will try to get the hang of it!
Undeniably consider that that you said. Your favourite reason seemed to be on the web the easiest thing to understand of.
I say to you, I definitely get irked even as other people consider concerns that they just
don’t recognise about. You controlled to
hit the nail upon the top and defined out the whole thing with no need side-effects , other people can take a signal.
Will likely be again to get more. Thanks