How to Write Dynamic URL from Service Portal to Open in Platform.

kshaw
Giga Guru

Trying to wrap up coding on a customized widget which is producing a requested item list in the Service Portal.

Need to use a URL to link to selected RITM upon click.

URL I have so far is "record.url = '/sc_req_item.do?sys_id='+gr.getValue('sys_id');".

This is working so far as opening a new tab BUT it is opening within the Service Portal. Need the URL to go to the root level instance and then go to the selected requested item by the indicated sys_id.

Appreciate help in resolving this final step in the coding.

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

try changing it to

"record.url = 'nav_to.do?uri=sc_req_item.do?sys_id='+gr.getValue('sys_id');"

 

View solution in original post

1 REPLY 1

Mike Patel
Tera Sage

try changing it to

"record.url = 'nav_to.do?uri=sc_req_item.do?sys_id='+gr.getValue('sys_id');"