Blogs
-
Utilizing lightning-Record-Form In Lightning Web Components LWC
Let’s explore the usage of the lightning-record-form tag to interact with a single record and execute DML operations. This tag is slightly more advanced compared to the other two tags, namely lightning-record-edit-form and lightning-record-view-form. Unlike the aforementioned two tags, where we must specify the fields we intend to work with, here is a snippet providing…
-
How To Get The ObjectInfo In LWC
Obtaining information about an object using getObjectInfo in LWC. While engaging with Lightning Web Components, we may encounter a business requirement that necessitates obtaining information about the object. When I mention “info,” I’m referring to metadata that encompasses details about the object’s fields, child relationships, record type, and theme. Rather than attempting to invoke an…
-
How To Register For A Platform Event Using A Trigger
Let’s explore the process of subscribing to Platform Events through Triggers. We have the capability to trigger a Platform Event from Process Builder, Flow, Apex, and API. Similarly, we can subscribe to the Platform Event using Process Builder, Flows, Apex Triggers, Lightning Components, and CometD. In this blog post, I will guide you on subscribing…