Open record in workspace tab from a script include or a UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2024 11:05 PM - edited ‎02-15-2024 11:18 PM
Hi All,
I have a requirement to have a dialog window with Assignment Group and Assigned To field (dependent on Assignment Group) on the Service Operations Workspace. I have used g_modal.showFrame and a UI page for this requirement. On submitting these fields on the dialog window, a record needs to be created (record creation is performed via a script include called from the UI page). An info message "Incident INCXXXX created successfully" is to be displayed with the new record number on the workspace and on clicking the number "INCXXXX" in the message, the record should be displayed on a new workspace tab.
I am unable to display the info message on the workspace, instead the message is displayed within the dialog window. And on clicking on the INCXXXX number, I am unable to have it opened within the same workspace window in a new tab. Could anyone please help?
@Maddalena Mores @Ankur Bawiskar @Thomas Walker2 @Ashutosh Munot1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2024 02:16 AM
Hi @Daisy3 ,
This thread should help you :https://www.servicenow.com/community/developer-forum/how-to-open-a-quot-new-quot-record-tab-in-works...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2024 02:25 AM
Hi Sandeep,
Thanks but my requirement is different. the new record is already created using a script include called from a UI page within the workspace, and on clicking the href number, the record should open within a new workspace tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2024 09:49 AM
have you tried simply giving the href the correct configurable workspace URL?