You need to sign in to do that
Don't have an account?
sai teja 69
How to redirect back to case list view page after opening a 'New' record creation popup. LWC
I have a requirement to override 'New' button for record type selection CASE object, on recordtype selection for one of the record type(1 out of 4) i need to open custom lwc component. for 3 remaining record types i need to open sandard lightning popups.
I created lwc component for opening record type selection. from that popup i am opening new standard record creation popup. There while clicking on the cancel it is just closing the popup and staying on the record type selection lwc. But i need to redirect to case list view.
Custom LWC for record type selectoin Case object
I am opening this standard record creation popup by using below code with returl but while clicking on the cancel button, it is not going back to case list view.
Is there any way to override the cancel button action.
I created lwc component for opening record type selection. from that popup i am opening new standard record creation popup. There while clicking on the cancel it is just closing the popup and staying on the record type selection lwc. But i need to redirect to case list view.
Custom LWC for record type selectoin Case object
I am opening this standard record creation popup by using below code with returl but while clicking on the cancel button, it is not going back to case list view.
this[NavigationMixin.Navigate]({ "type": "standard__webPage", "attributes": { "url": str.concat(this.recordTypeId, '&retURL=%2F500%2Fo') } });
Is there any way to override the cancel button action.