Save a section record and detail and return back to list view

Hello community,

 

I came across the following to return the user back to section list page after saving section record

save: function(config) {
	if (!config) config = {};
	config.isSilent = true;
	this.callParent([config]);
}

 

Unfortunately, this if isSilent =true, the detail records are not saved in New Mode

I would like to save both detail record and the section record and return the user back to list page.

 

Is there a way to programmatically call Close button after saving a record?

Like 0

Like

1 comments

Hi,

The first thing that comes to mind is to call a sandbox message in your detail save. In the main object schema, you need to subscribe to this message and call the save and close button methods.

Show all comments