Results 1 to 3 of 3

Thread: How to reload detailview by logic hooks (after_relationship_add)

  1. #1
    deepakvishwakarma is offline Sugar Community Member
    Join Date
    Mar 2010
    Posts
    17

    Default How to reload detailview by logic hooks (after_relationship_add)

    Hi All,

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




    Deepak Kumar Vishwakarma

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,650

    Default Re: How to reload detailview by logic hooks (after_relationship_add)

    Adding 'refresh_page' => 1 to the layoutdefs for that subpanel will refresh the page after a save.
    SugarOutfitters - 40+ modules, themes, and integrations for SugarCRM guaranteed to work

    Get Consulting: Your Personal Developer
    Using CE? You need SecuritySuite

  3. #3
    avheerwaarde Guest

    Default Re: How to reload detailview by logic hooks (after_relationship_add)

    Hi,

    Can you provide me with an example? I am new to SugarCrm and tried adding

    $subpanel_layout = array(
    'refresh_page' => 1,
    );

    to the php located in custom\modules\<module>\metadata\subpanels, but no refresh is happening. I have made a mistake (wrong code or wrong location), but don't know what's I have done wrong.
    I am running this on Sugarcrm 6.5.6.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can i reload detailView from subPanel?
    By vistar86 in forum Developer Help
    Replies: 5
    Last Post: 2013-01-21, 07:37 AM
  2. Replies: 2
    Last Post: 2012-10-23, 12:44 PM
  3. Replies: 3
    Last Post: 2012-06-28, 08:28 AM
  4. Replies: 1
    Last Post: 2011-10-13, 04:40 PM
  5. logic hooks logic for opportunity
    By shajiuddin in forum Developer Help
    Replies: 8
    Last Post: 2011-04-24, 11:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •