You need to sign in to do that
Don't have an account?
Refresh service console list
Hello,
I have added a custom button in the case detail view that sets certain fields (like status to closed). I can close this tab also automatically. However, the main service console list doesn't refresh (the case is still on the old status). If I manually refresh the list (hit the refresh button), the updated data displays. How can I automatically refresh the main service console list ? I'm not using a VF page, only a custom button on the case detail view.
Thanks.
Marco.
I have added a custom button in the case detail view that sets certain fields (like status to closed). I can close this tab also automatically. However, the main service console list doesn't refresh (the case is still on the old status). If I manually refresh the list (hit the refresh button), the updated data displays. How can I automatically refresh the main service console list ? I'm not using a VF page, only a custom button on the case detail view.
Thanks.
Marco.
All Answers
Link to the toolkit:
https://resources.docs.salesforce.com/206/latest/en-us/sfdc/pdf/api_console.pdf
I have tried using that however it refreshes the tab I'm in, not the console list view. I figured that the primary tab is the one with the case number in it. Unfortunately, that's not the one I'm trying to refresh. Maybe I missed something ?
Thanks.
Marco.
I hard-coded the id (something like ext-comp-1004) but it didn't refresh the tab. Any other ideas ?
Thanks.
Marco.
I tried what you said. It actually worked ! I used parent.location.reload() to get the full page to reload. The funny thing is that after the reload I have the code to close the tab I'm working in. I would of thought that it wouldn't close since it's doing the refresh. However the code execute so fast that it has the time to close the tab before the reload takes place. Not sure if it will close 100% of the time but it looks good !
Thanks for the tips !