If you have an intranet, wiki or other website where your users can get help and support, then you can quite easily create your own button (Application template) in the toolbar that opens a link to the page in a new tab. See the image below:
The code below is without bells and whistles so there are opportunities for improvements and additional functionality. It's offered as-is, so use at your own discretion.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Add styling -->
</head>
<body>
<!-- TODO: Change the text to suit you -->
<p>If a new tab wasn't opened automatically, change your web browser settings to allow popups from this site or click the button below.</p>
<button onclick="openTab();">Go to help wiki!</button>
<script>
function openTab()
{
// TODO: Replace with the link to your website
var newWindow = window.open("https://pim-wiki.intranet.example-company.com", "_blank");
if(!newWindow || newWindow.closed || typeof newWindow.closed == 'undefined')
{
// POPUP BLOCKED
}
else
{
// Go back to the last visited page
history.back();
}
}
openTab();
</script>
</body>
</html>
-
What a neat tip, Roy Eriksson! 😄
1 -
Cool use-case. But not only interesting to use for a link to a wiki, but can also create a link to the Digital Asset Manager!
0 -
Thanks Emilia Nilsson!
Absolutely Jan Courtheyn, any website will do.
1 -
Great tip!
0
Please sign in to leave a comment.
Comments
4 comments