how to use windows.open in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2023 11:22 PM
how to use windows.open in servicenow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 01:20 PM
If you are referring to:
window.open(URL, name, specs, replace);
from Javascript, you must be in a Client Script to use it.
Do you mind sharing your requirements so I can assist you further?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 09:41 PM
I'm currently grappling with a challenge related to automating the retrieval of OAuth tokens within a web environment. The situation involves needing an `oauth_token` via a UI action that triggers the opening of a specific link in the browser. This link looks something like:
The catch here is that the process relies on the `windows.open()` function, which can only execute on the client side. Our goal is to acquire the OAuth token for an access token, especially when the current token has expired.
I'm seeking guidance on how to achieve this automation and the underlying logic required. Any insights, strategies, or tools that could assist in handling this scenario would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 02:26 AM