Have a Subpanel QuickCreate refresh after the record is saved.

sugarcrmdevelopers —  December 10, 2012 — 5 Comments

Here’s a forums question I saw recently…

Could anyone help me how to refresh/reload detail view page when create record by quick create in sub panel?

I had no idea there was a simple OOTB solution to this, but Jason Eggers at SugarOutfitters did. As it turns out adding…

'refresh_page' => 1

to the subpaneldefs.php definition for the panel enables this. Thanks Jason for the tip!

5 responses to Have a Subpanel QuickCreate refresh after the record is saved.

  1. 

    Ahh, unfortunately this only works for adding records via the ‘select’ button on a subpanel. Enabling refresh for a save involves modifying both the template and the javascript fn ‘inLineSave’. I have a fix for it which I’ll post as soon as I can, but I’d consider this to be a bug.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s