function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sf.dev.ax1103sf.dev.ax1103 

Console refresh issue.

Hi All,

 

          I am using list button of opportunity from console view.This list button does mass update on selected opportunities.On click of list button from console opens vf page and does some operation and save of vf page has to refresh my console.I am using javascript to refresh.It works fine from list view but not from console view.

 

parent.window.opener.location.href = url

 

Any help.

 

Thanks

bob_buzzardbob_buzzard

Yeah, that technique doesn't work in the service cloud console.  Its okay in a standard page view as the browser allows you to access the parent window.  However, when in the service cloud console the opener is embedded inside other iframes etc so isn't the parent window.  In this situation the browser checks the domains of your page and the iframe you are trying to refresh and disallows this.

 

I haven't found a solution to this yet I'm afraid.

Jeric Ariz PunsalanJeric Ariz Punsalan
Hi All,

Has anybody found a solution for this? Thanks