How to use custom metadata in apex trigger to update account using select a Picklist Value in Apex

preview_player
Показать описание


How to use custom metadata in apex trigger to update account using select a Picklist Value in Apex in Salesforce

#techw3web #w3web #salesforce #salesforcedeveloper #salesforceadmin #salesforcelightning #lwc #lwcdevelopment #blogger #blog #blogging #softwaredeveloper #software #uidesign #programming #programmer #programmerlife #softwareengineer #apexlegends #sfdc #clouds #cloud #metadata

**** To Find Some Important Information ***

***** Lightning Web Component (LWC) in Salesforce *****

***** Lightning Component in Salesforce *****

***** Trigger in Salesforce *****

***** More Information *****

Комментарии
Автор

Hi, great scenario! However, why is there a need for an after insert trigger? It's possible to handle this entirely within the before insert and before update triggers since we're only populating the employee address field (which is on the same object). The before trigger context should suffice for this purpose. I've tried this scenario in a before trigger, and it works well.

simmiagrawal