I am incorporating Canary Axiom charts into Perspective views. Running via HTTPS is the only option, and we are using SSO for Axiom. I'm launching a new browser tab for Axiom via a Page Startup script in Session Events. This launches the Axiom tab and establishes the SSO authentication and then allows the Axiom charts to be viewed in the Perspective window. The only irritation is that the focus goes to the new Axiom tab. Via WebDev I have tried using JavaScript via html, but the best result still pops up another tab window. Anyone able to do something like this successfully via Perspective?
Here is the html:
<!DOCTYPE html>
<html>
<head>
<title>Open and Close Tab Example</title>
</head>
<body>
<h1>Open and Close Tab Example</h1>
<script>
// JavaScript code to open and close a new tab
var newTab = window.open("https://<AXIOM address>", "_blank");
// Wait for 5 seconds
setTimeout(function() {
// Close the new tab
newTab.close();
}, 5000);
</script>
</body>
</html>