How to make a custom page created in UI builder to open in a tab in agent workspace using a button in record component.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2022 06:44 PM
I have created a page in Agent workspace with no entity mapped which contains only an iFrame. I need that page to be opened in a tab in service now in agent workspace on click of a button. I have added this button in the record component. This gives me control only to add a client script. I am able to open the page in a new browser window using window.open method. But, not inside service now agent workspace. Any help would be appreciated.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2022 11:55 PM
Have you tried with a URL like this one?: /now/workspace/agent/record/incident/ca1d5f2837905300023d57d543990e07
I mean, replace the /agent/record etc. part with the proper path of your resource. Also you can try adding "_blank" as the second param of your window.open method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 09:12 AM
Yes. I tried this. When I did this, the page is opening in a new service now tab. But, in another new browser tab. When I clicked on other tabs in the new window, they reload again as if they are loading for the first time. My goal is to open it in the current browser tab as a new service now tab.