Opening new Agent Workspace Tab

PavelP
Mega Sage

Hi,

we have created a custom page mimicking Service Catalog, and currently are opening it from UI Action 'Create Request' via the "openUrl(...) + top.window.open(...)" function in a new browser tab.

We would like it to behave on the Agent Workspace same way, as the OOTB one did, so when the user selects 'Create Request' - the page would open on a new Tab on AW, on the same row as the original ticket.

Is there a way to customize the UI action to open a new page as a new Tab in Agent Workspace, rather than in a new window? Thanks.

find_real_file.png

 

 

8 REPLIES 8

Hi @Ujjawal Vishnoi ,

the GlideAgent API looks useful, but it allows only opening records. The documentation for creating catalog reference on the other hand opens it in the standard catalog.

What I'd need is to open in a Agent Workspace tab is a custom page. Is this possible?

Best regards

Pavel

Maik Skoddow
Tera Patron
Tera Patron

Hi @PavelP 

what do mean with "custom page"?

Basically you cannot open anything in a new Workspace tab that is not written in the Now Experience Framework and there is no compatibility with legacy technologies like UI Pages or UI Macros.

Kind regards
Maik

Hi,

I mean the service portal page (sp_page table), that I cloned and edited (originally it was 'sc_category' page).

Originally, the UI action was using the 'g_service_catalog.openCatalogItem' method for opening the default sc_category page, I just need something similar to open the custom one. Is sp_pages part of the Now Experience, or can be adjusted to behave like one?

Best regards

Pavel