Posts

Showing posts with the label BasicsOfSalesforceCloud
LWC create Record RecordEditForm Use the lightning-record-edit-form component to create a form that's used to add a Salesforce record or update fields in an existing record. The component displays fields with their labels and the current values, and enables you to edit their values. http://simpluslabs.com/how-to-create-update-delete-and-fetch-records-in-lightning-web-component/ <template> createAccountRecord<lightning-card title="Create Account" icon-name="custom:custom57"></lightning-card> <div class="slds-grid slds-wrap slds-p-around_small"> <!-- Create a record with Lightning Data Service --> <div class="slds-col"> <lightning-record-form object-api-name={accountObject} fields={myFields} onsuccess={handleSuccess} onsubmit={handleSubmit}> mode="edit"> </lightning-record-form> </div> </div> </template>   createAc...

LearnSalesforce

Image
Triggers in Salesforce: Chapter 1. Never Ever Give Up Basics of trigger Did you google(d) this sentence.....! Okay, hurry here is the answer. Let me start with very basic & practical example -Here  Adam & Harry are having the same discussion Adam says: In Salesforce, we use the trigger to implement custom business logic with help of code to execute some simple & complex logic.  Harry says:  GotchU!!! But man Why the only trigger ? can't you do this with Workflow or process builder or Salesforce in-built functionality? Adam says: Buddy, You are correct, Going good but let me recall what you can do with workflow & what extra we need in these- You can not create a new record with help of Workflow. Deletion of record is not possible. Update from parent to child is not possible.Only child to parent record can be updated. Multiple rules need to write for multiple functionalities.  Adam says: Still, you are confused why I nee...