Window open for Oauth initiator.do when a button clicks on HR Agent workspace

Ramanath Naraha
Tera Contributor

Hi All,

I would like to ask help on the button to open a window for Oauth initiator on Agent Workspace.

This functionality is working fine for the form button(on case record default view) but in Workspace it is not working.

Here is the script I am working on 

find_real_file.png

The expectation is once the button on the workspace clicked a window should open with the URL on line: 10 and closes automatically.

The script for the form button(client side) on default view is

find_real_file.png

Thanks,

Ram

 

 

1 ACCEPTED SOLUTION

Harneet Sital
Mega Sage
Mega Sage

Hi @Ramanath Narahari 

On the workspace is your requirement to open the URL in a new window or as a popup?

If it's just to open a new URL in another tab this could help you - https://community.servicenow.com/community?id=community_video&sys_id=fdd0d4cf1be1d950ed6c9979b04bcb7...

Let me know if this does not help, we can try something else to fix this. 

-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here

View solution in original post

2 REPLIES 2

Harneet Sital
Mega Sage
Mega Sage

Hi @Ramanath Narahari 

On the workspace is your requirement to open the URL in a new window or as a popup?

If it's just to open a new URL in another tab this could help you - https://community.servicenow.com/community?id=community_video&sys_id=fdd0d4cf1be1d950ed6c9979b04bcb7...

Let me know if this does not help, we can try something else to fix this. 

-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here

Ramanath Naraha
Tera Contributor

Thank you Harneet.

This is working, thanks for you help.

Regards,

Ram