I have embeded lightning component on Case detail view page and I would like to tirgger refresh of case record page (opened in lightning service console). I tried using
$A.get('e.force:refreshView').fire(), but it doesn't work. I also tried with workspaceAPI, but that also doesn't seem to do the trick (it won't open new tab with same record id and it doesn't have function to just do the refresh).
I would prefer to use
$A.get('e.force:refreshView').fire() so I would appreciate any ideas why it doesn't work.
I think posting code seems not necessary in this case as I am just trying to trigger the refresh event (
$A.get('e.force:refreshView').fire()) from just button click so nothing advanced involved and I am sure that code executes I just do not see the effect of this function like it would be blocked in some way.