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
SpunkySpunky 

Hyperlink not rendering results in Firefox but works in IE

Hi

 

I have an scontrol that runs an external query (Noetix report), attaches the Account number from salesforce and renders results.

 

It works perfectly in IE but when if you click the link in Firefox (our preferred browser), it seems to execute but the results page is blank.

 

Can someone please help me figure this one out?

 

We have a lot of similar links and we're having to multiple browsers just to view these links.

 

This link is a Custom Account Link which calls the following scontrol

 

<html>
<head>
<script>

var accnum = "{!Account.AccountNumber}".substring(0,6);

if (accnum.length != 6) {

alert("The account number "+"{!Account.AccountNumber}"+" is incorrect.");

this.close();

} else {

var url = "http://devnoetix-dc-aus:80/NoetixGateway/ExecLinkedReportSimpleParamValues.aspx?name=afb42b63-712b-4015-923b-19fa97c773e9&type=user&prompt=no&nwq_vdir=nwq&uid=39329099288D3CCD600361E48195793F&pwd=2B6568EA8135D055CF3A8157FA4DE3E0&applicationlogindata=&secure=bound&version=3&paramvalues="+accnum;

parent.location.href = url; //pass full URL to page (refresh)
}
</script>
</head>
</html>

 

Thanks a lot

 

 

 

Shoby Abdi.ax910Shoby Abdi.ax910

You may want to try window.parent.location.href or document.parent.location.href. Firefox isn't recognizing parent.location.href on its DOM, it will tell you Access Denied if you can use a browser debugging tool.