You need to sign in to do that
Don't have an account?
Sidharth Panda 5
open external url in separate tab in salesforce console
I am using the srcUp() function on a custom button to open an external page. However, when the subtub opens, nothing loads( see Image below). The domain is whitelisted in the app. Any suggestions is greatly appreciated.
Code Snippet:
<script type="text/javascript">
var Bonurl;
function openTab(BOnURL) {
Bonurl = BOnURL;
if(!sforce.console.isInConsole()){
window.open(Bonurl,'_blank','height=400,width=400');}
else {
srcUp(Bonurl);
}
}
</script>
BOnURL = http://62.21.128.199:8280
Code Snippet:
<script type="text/javascript">
var Bonurl;
function openTab(BOnURL) {
Bonurl = BOnURL;
if(!sforce.console.isInConsole()){
window.open(Bonurl,'_blank','height=400,width=400');}
else {
srcUp(Bonurl);
}
}
</script>
BOnURL = http://62.21.128.199:8280
Amit Chaudhary 8
"http://62.21.128.199:8280" is external system or web page that is why salesforce is not allow it to open with in console
Sidharth Panda 5
But the external domain (62.21.128.199:8280) is whitelisted in the Salesforce console app.