Site icon Salesforce Diaries

Lightning Components: how to invoke “New Note” panel from custom components?

You can create your own custom New Note panel which looks better than standard panel provided by Salesforce. Our custom one will come as a popup when you click on custom new note button. The custom Note panel will create the record of datatype ContentNote Object. The advantage of using Advanced note is:-

Here is the code:- Lightning Components: how to invoke “New Note” panel from custom components?

Now You can create a quick action having source Lightning component which we have created above and placed the quick action in mobile and lightning experience section on the layout. Let’s have a look at what we have done.

Exit mobile version