After Summer 24 Salesforce Release i.e. from API version 61 onwards, you can now update a record using the value of its external ID with the new updateOnly parameter in REST API. Previously, you could only upsert a record using its external ID.
In this video, I am explaining this new feature with a sample code snippet.
#apex #rest-api #externalid #salesforce #update #upsert #httppatch
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:01 - Introduction
0:44 - Setting up the environment and postman
2:43 - Execute the HTTP Patch Call to Update Existing Record
5:00 - Execute the HTTP Patch Call to Create New Record
5:48 - Introduce the new parameter to only update the existing record
7:39 - Final Thoughts
📌 Blog - [ Ссылка ]
📌 How To Use Salesforce APIs Collection With The Postman 🚀 🔥 - [ Ссылка ]
📌 Automate User to Permission Set, Group, Queue Assignment in Salesforce | User Access Policies - [ Ссылка ]
📌 Improved Salesforce Flow Address Component | How to use Google Map in Flow - [ Ссылка ]
📌 Use Flow Repeater Component To Collect Information And Create Records - [ Ссылка ]
📌 Salesforce Summer 24 Release Playlist - [ Ссылка ]
📌 Salesforce Spring 24 Release Playlist - [ Ссылка ]
📌 Salesforce Winter 24 Release Playlist - [ Ссылка ]
📌 Salesforce Summer 23 Release Playlist - [ Ссылка ]
📌 How To Add Named Credentials To Permission Set Using Principals - [ Ссылка ]
📌 Salesforce Flow Playlist - [ Ссылка ]
📌 HTTP Post Call From Salesforce Flow - [ Ссылка ]
📌 External Services in Flow - HTTP Callout - [ Ссылка ]
📌 Salesforce Release Playlist - [ Ссылка ]
✨ Blog: [ Ссылка ]
✨ Subscribe for new videos on technology every week: [ Ссылка ]
✨Connect with me
📌 Twitter: [ Ссылка ]
📌 Website: [ Ссылка ]
📌 LinkedIn: [ Ссылка ]
📌 Facebook: [ Ссылка ]
Credit: Music I Use under the Mixkit License
Disclaimer: All opinions are my own and this video content is not endorsed by Salesforce, Google or any other company in any way.
Ещё видео!