AnsweredAssumed Answered

What is the alternate of   window.location.reload(true) in Sugar 7?

Question asked by Usman Saeed on Oct 30, 2014
Latest reply on Jul 7, 2015 by Brian Fields
Hi Everybody,

I want to reload the page like sugar does when record is saved on edit view.
e.g if you assign a record in the leads to other user (we have role that lead can be edited by owner only), the edit button is removed from the record view.

What is the function that renders the DOM again and update it.
I have made some custom changes on clicking of a button in action drop down. On click I made a backend custom query to update the DB. But to show that change I have to reload page again.
I believe it's not a good practice.

Can any body from sugar or any community member has done this? Please advice!

Thank you,

Usman

Outcomes