Open dynamic URL using Action Item in Mobile Agent application

Hazel Soh
Tera Contributor

Hi all, we have a requirement to build an Action Items in record page to allow user access to external webpage. The URL of the webpage is expected to be dynamic and generated using script include.


To verify the feasibility, we have built the action items in and calling script include to get the URL. Currently, the URL in script include is set to www.google.com for testing purpose.

mobile_action_item.PNG

 

 mobile_script_include.PNG

I've tried using gs.setRedirect(url) but seems not supported in mobile application. Is there any other workaround to cater this requirement?

 

Thanks.

1 REPLY 1

Aayush5
Tera Contributor

Hello @Hazel Soh 

If you want to redirect user on something else then create a function with type URL and add your dynamic link over there.

 

Example Link URL:

/risk_assessment_take3.do?sysparm_task_sysid={{sysapproval}}&sysparm_assessable_type=2e3ab7f1d7033200532c24837e61034b&sysparm_reader_view=true
Aayush5_0-1703065214778.png

 

 
Here i have created a new UI page to display a popup but you can redirect user by modifying the above URL.
 
Note:  The Link Url field takes preloaded sys_id value only. so whatever you have to configured check if you can pass it through the reference field value or sys_id or that record.
 
Please mark helpful if i'm able to solve your query.