I have added form button in agent workspace.

niveditakumari
Mega Sage

Hi, 

 

I have added form button in agent workspace. There is form button('Transfer to IT') available in platform view and I have added this button in agent workspace and it is not showing in agent workspace. 

Please find attached screenshot : 

niveditakumari_0-1712502111521.png

 

I have created HR case and button is showing in platform view and when I have opened agent workspace view this button is not showing. 

Can you please help me to achieve that. 

 

Regards, 

Nivedita 

 

 

1 ACCEPTED SOLUTION

olimanalo
Mega Guru
Mega Guru

Hi @niveditakumari ,

 

Did you click the Format for Configurable Workspace checkbox?

View solution in original post

10 REPLIES 10

@niveditakumari 

 

Apologies for the delay of response, I was on holiday

https://www.servicenow.com/community/developer-forum/how-to-call-a-ui-page-by-ui-action-in-workspace...

You can try this community post and replicate on your end.


Thank you

Hi @olimanalo

 

I have attached screenshot that is used to open that ui page in platform view and Transfer to IT button is now available in agent workspace. When I'm clicking on that button it is not opening ui page. 

Can you please help with my code to achieve that. 

 

Regards, 

Nivedita 

 

 

Hi @niveditakumari 

Did you try the community post link I posted?

Hi @olimanalo,

 

Can you please check my above code and confirm what needs to be change to achieve this for agent workspace. 

 

Regards, 

Nivedita 

 

 

Hi @niveditakumari ,


This will not work for Workspace as this needs another logic. You can use the API g_modal. Script syntax works like this

var ui_page_id = '<sys_id_of_your_ui_page>';
    g_modal.showFrame({
        url: '/ui_page.do?sys_id=' + ui_page_id,
        title: 'Attachments',
        size: 'xl',
        height: 500
    });