You need to sign in to do that
Don't have an account?
Refreshing Sub Tab also refreshes Custom console component in sidebar.
Hello Everyone,
When we refresh Sub tab by refreshSubtabById(), it also refreshes custom console component in sidebar which is not desired in my case. Even refreshSubtabById() documentation in "Service Cloud Console Integration Toolkit Developer's Guide" states as below given:
"Note that this method doesn't refresh sidebars or custom console components. For more information, see Custom Console
Components Overview in the Salesforce online help."
Any help to prevent custom console component reload on refreshing subtab will be much appreciated.
Thanks.
Thanks for your reply! I got it solved a while ago by ignoring the event which is posted to the custom component, using the code below in my javascript.
All Answers
Hi Vikash,
Please check the article, might help,
https://org62.my.salesforce.com/articles/Documentation/console2-components-overview-htm?popup=true
Regards,
Ashish
Did you manage to not rerender you component, can we mark the component to not to be rerendered? I now have the same issue when I edit an existing case, create a new case. After hitting save, the page refreshes and the content of the component refreshes also...
Thanks, Jan-Dirk
Component within the Subtab gets refreshed each time the subtab is refreshed. Considering the fact that Object detail page loads before the component we can have a workaround. We can conditionally render the component section from being loaded based on record field values. We will be able to get record field values because the record detail page loads before component and its values will be vavailabe to us in custom component..
Hope this makes sense. If any other findings please share.
Thanks
Thanks for your reply! I got it solved a while ago by ignoring the event which is posted to the custom component, using the code below in my javascript.