How to have a button created in Web Screen Painter link to an external URL.

Document ID : KB000013076
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Is it possible to have a button created in Web Screen Painter link to an external URL?

Answer:

In order to have a button created in Web Screen Painter link to an external URL, the Function property of the button must contain a specific JavaScript that is invoked when the user of the form clicks the button.

 

To modify the Function, right click on the button and select Properties.

Use the "window.open()" call to invoke a URL.

In the example below "window.open('http://ca.com/','_blank');" has been entered into the Function Field.

By using '_blank' the URL will be loaded into a new tab.

button properties1.png

Now save this form and publish the changes. When the button is selected in Service Desk the user will be directed to the specified URL.