You need to sign in to do that
Don't have an account?
PDV
How to refresh only the detail frame in the console
Hello,
I am looking for the code on how to refresh the detail iframe of the console. I am currently using the following function:
function goBack(Id)
{
// This brings me back to the correct record if an Object Id is given.
var r = "{!Scontrol.URL}".split(/salesforce.com/);
var whichId = "";
if (Id != null) whichId = Id;
var returnUrl = r[0] + "salesforce.com/"+whichId;
window.parent.location.href = returnUrl;
}
// This brings me back to the correct record if an Object Id is given.
var r = "{!Scontrol.URL}".split(/salesforce.com/);
var whichId = "";
if (Id != null) whichId = Id;
var returnUrl = r[0] + "salesforce.com/"+whichId;
window.parent.location.href = returnUrl;
}
This works perfect but when it refreshes the iframe it includes the banners of salesforce in the detail frame! probably i should add a parameter to the returnUrl. Normally I use "&isdtp=mn" which I add to a link but if I do it in my script I get a message that the url no longer exists.
All help is greatly appreciated!
i am also facing the same problem. I just wanted to refresh the detail page. The functionalities are great but the only problem is that it includes the salesforce banner in the detail frame.
thanks for any reply in advance.
richan