You need to sign in to do that
Don't have an account?
Marco Zeuli
Service Cloud Console - Highlight panel not refreshing
Hi guys,
today i'm facing a problem with the highlight panel in the Service Cloud Console.
Basically the problem is this:
Thanks guys ;)
today i'm facing a problem with the highlight panel in the Service Cloud Console.
Basically the problem is this:
- I open a Case as a sub tab of an Account record
- Highlight panel opens with some Accounts fields
- Click Edit button on Case detail view
- Edit button send the sub tab to a custom VF page to edit Case fields
- Click Save button on VF page to store Case data
- Before the VF page unload, i call from javascript the function to refresh the primary tab. That's because when i save a Case the controller action executed modify also some fields on the Account record
- If i click on the Deatil subtab of the Account record i can see the fields correctly updated.
- but the same field on the highlight panel shows the old value!
sforce.console.refreshPrimaryTabByIdsupposed to refresh also the data in the highlight panel? Is that possible that the user has to refresh the entire console to see that fields correctly updated ?!
Thanks guys ;)
Basically when user press the Save button, an onBeforeUnload event handler is set. This way when controller method customSave return the new page reference (in my case standard case view page) the whole primary tab, including all his subtab, will be refreshd and you will see an updated Highlight panel.
All Answers
http://amitsalesforce.blogspot.in/2015/07/how-to-refresh-record-in-console.html
Include JS in VF page
Then use below link to open new record Write below Java Script code in VF page Please let us know if this will help you
Yeasterday i figured out how to reproduce the standard experience i'll post the code here ;)
Basically when user press the Save button, an onBeforeUnload event handler is set. This way when controller method customSave return the new page reference (in my case standard case view page) the whole primary tab, including all his subtab, will be refreshd and you will see an updated Highlight panel.
Does anybody know a better workaround or a workaround which I can implement in my scenario?
Marco Zeuli thank you very much for posting the solution.