I've implemented a dashboard into a component with an option to update the components configuration parameters. What I want to do is return to the dashboard on Save of the options. I notice that there is a "path" and "return" element to the URL in the link element of the menu option I've created but I can't seem to get the return back to the dashboard.
<menuitem
title="COM_MYCOMPONENT_CONFIGURATION"
type="component"
element="com_config"
link="index.php?option=com_config&view=component&component=com_mycomponent&path=&return="
/>
Does anyone know how to do this? All pointers appreciated.