 Hello, friends. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate how you can create a quick action that will be object-specific to update a record in Salesforce lightning experience. Before starting, if you want to watch more Salesforce training videos, you can open my channel and go to Playlist. So here, various videos related to Salesforce and other programming languages are available. So you can watch them. Now, coming onto the topic, so I'm going to open account object in setup and here you can see button links and actions are available. So from here, I can create a new action that will update a record. So I'm clicking on this new action. So here you can see various options are available for action type. So I can choose create a record, send email, overcall, custom vf page, update a record, lightning component and so on. So I'm selecting update a record because I want to update particular values of a record. So here you can see object name is account. So the object on which this action is available. So wherever I'm going to put this action, so from there, I can update the account record, right? Now I'm going to put the label. So label will be update account. And here I need to put the success message. So I'm putting account record is updated successfully. So after successful updation, this message will be displayed as the toast message. So I'm clicking on save. So this action is created. Now we can modify its page layout. So you need to select the fields which you want to display to users so that particular fields can be modified. So if you go to account record, so there is also one action available that is for edit. So if we click on this edit, so it will display all available fields automatically, right? Now why we are creating this new action because we can restrict to modify certain fields by clicking on this button, right? So let's say I'm putting one more that is annual revenue. So you can simply drag and drop a particular field from these available field options on this layout and then you can click on save. So while we will be clicking on this action that is update account, so only those six fields will be visible for updation. And here we can set some predefined field values. So those field values will be updated automatically. So we can click on new and we can set them. So let's say I'm clicking on new and from here I'm selecting description, right? And here the type is long text area. So I need to put the matter in double code. So this record is updated through action. So this message will be stored automatically in description field while I will be updating any account record through this quick action. So I'm clicking on save. So you can see this field is available here as predefined field value. Page layout is created and action is also created. Now to use that action that I created recently, I need to go to page layout. Open a specific page layout where you want to drop that action. So from here you can select mobile and lightning action. Go to this section, search for that action, select and place it wherever you want in this block and click on save. So now you will see that action will be available on the account record page. So I'm refreshing the account page and detection will be available. And whenever I will be clicking on that action or button so a form will be displayed so that I can edit the values. So I clicked on this update account quick action. So it is opening a form. So here you can see only six fields are visible that we placed on that layout. And if you want to change the values, let's say I'm selecting banking here and I'm selecting prospect here. So I updated two values type and industry type is prospect and industries banking. So I'm clicking on save. So after save you will see the field values are updated. So here you can see industries banking and type is prospect. So it is updated. And if we go to description, so here you can see it is already updated. This record is updated to action. So this way you can create your own action to update any record. So remember that this is object specific action. So for that for a particular object on which you created, you can place related page layouts only. And you can do two operations. You can put fields on a particular form as well as you can set a predefined values. For some fields using this action. So I hope you understood how we can create a data record protection in Salesforce lightning. If you want to watch more Salesforce training videos, you can open my channel, go to playlist and search for the related video. Thank you for watching this video.