AnsweredAssumed Answered

How do I Go to full create from Subpanel and stay there

Question asked by community-support on Jan 13, 2014
Latest reply on Jan 13, 2014 by community-support
On the Accounts module I have an Opportunities Sub-Panel.
The Subpanel Create was replaced with a redirect to the Full Create (see code below) but once the record is saved it returns to the Account Detail View.
I want to go to the Opportunity Detail View instead. Is there a clean way to do that?

In custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php
                         'top_buttons' => array(
                                 array('widget_class' => 'SubPanelTopCreateButton'),

similarly creating a Quote from sub panel takes me back to the Accounts record, again I want to stay on the Quote...

I think the solution is in manipulating the return_module, return_action, return_id.... but how?


(from Francescas)