0

I have a Lightning Aura Component NewRecord and it's just a modal with some basic form fields.

I have an object called MyObject__c with a Tab. From the Tab I want to call the lightning aura component NewRecord? Is that possible? It appears I can only create a Custom Button List and then hard code the URL, but it doesn't give the "modal" experience.

enter image description here

The button will just call a lightning aura component where it's a dialog modal like below.

enter image description here

When I tried to override the Edit and New buttons with the aura component, what is happening is the modal opens up, but the background disappears.

enter image description here

3
  • Didn't understand From the Tab I want to call the lightning component? Apr 21, 2022 at 2:24
  • @NagendraSingh I added some screenshot. Basically, I want a custom button in my Tab that calls a lightning component. My main problem is that I tried to override the Edit and New with this aura component, but when clicking the New or Edit button, the Modal shows up but the "background" totally disappears.
    – jojopogi
    Apr 21, 2022 at 3:48
  • I tried this and it will work for me lightning/o/{objectApiName}/new?navigationLocation=LIST_VIEW&backgroundContext=/lightning/o/{objectApiName}/list?filterName=Recent Oct 19, 2022 at 13:46

0

You must log in to answer this question.

Browse other questions tagged .