How to stop Navigating to Record Detail Page after creating new Record through Lightning web component

Below is the code i am using



         type: 'standard__objectPage',

            objectApiName: 'CustListView__c',
            actionName: 'new'


But it is navigating to record detail page after creating a record and i do not want to navigate to record detail page after creating new record

1 Answer 1


There is no such event which you can listen and handle it when you are using standard__objectPage navigation.

As a workaround, You can use Lightning data service to create a record form and control the behaviour.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .