This blog contains some of the Salesforce facts which I have found quite interesting. Happy learning.
Salesforce Fact #796 | Lead already converted
Get link
Facebook
X
Pinterest
Email
Other Apps
If we try to convert an already converted lead by mistake, we encounter the error 'CANNOT_UPDATE_CONVERTED_LEAD'. It shows the date as well on which the lead was converted.
We can also pass custom apex-defined variable from flow to LWC. In this case, we have to define the property type as apex://namespace.Classname and expose the same variable as @api. Attached are the screenshots.
Suppose we have a scenario where we have a single select datatable in LWC. There is a field which is editable but it should be editable only for the selected row, for rest of the rows it would be read-only. We can implement the same with a bit of logic of JS. Attached are the screenshots.
Generally apex batch jobs are scheduled to run at particular time intervals. But suppose we have a use case where we need to run the batch job on adhoc basis. We can call the batch apex from a screen flow in that case and the screen flow can be invoked from a button. So, the batch job can be executed on demand. Attached are the screenshots.
Comments
Post a Comment