338 ViewsAs of now, you can GET custom metadata records in flows but you cannot create or update them. Using this invocable class you can create/update custom metadata records in Flows. You can access the repository here: https://github.com/mhamzas/Flow-Create-Update-Custom-Metadata The code is self
Read More
42 ViewsAfter Spring 20, you can now create reusable Apex actions that use the generic sObject and List<sObject> data types. Build one action that works for multiple objects, rather than one for each individual object. Developers can build a filter or sort
Read More
37 ViewsThere could be many cases where you need to insert records in multiple objects in a single method but you might end up with TOO MANY DMLs Error. Here we’ll discuss how you can insert records in multiple objects in a
Read More
52 ViewsIn general, following is the method to check the validity and Checksum of Canadian SIN. Given an example Number: 123 456 782 Remove the check digit (the last digit): 123456782 Extract the even digits (2,4,6,8th digit): 12345678 Double them: 2 4 6
Read More
779 ViewsSalesforce Files had been introduced with replacement of Attachment/Document object and with some great features like version controlling, sharing, preview and what not. We used to use Attachment/Document object for file hosting like images and pdf (specially on Classic). And if
Read More
64 ViewsHave you ever run into this error? “Upsert with a field specification requires a concrete SObject type” Basically it is saying that you cannot declare a list of type sObject and then try to use the upsert command against that list.
Read More