Dynamic URL on project form?

Sarah Godinho
Tera Contributor

Hello all,

I am trying to add a dynamic link to a project form that can be visible from list view. The client would like the link in list view to take the user to that project's PA dashboard.

We currently have a UI action which added the button to the project form, but the list links do not work. The client would like to see one link per record in list view.

I was wondering if anyone had any experience with creating dynamic URLs using the URL type field. How do those work? Is it possible to call on the UI action we already have in place? 

Thank you in advance!

3 REPLIES 3

shivaramumapath
Giga Contributor

Hi Sarah, the 'View Map' UI action on the Application Services table is an excellent example for you to refer. You can build your URL dynamically within the UI action.

https://<your-instance>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=5c38c522533321001c1379e5a11c088b

Thanks, Shiva

Ah - thank you for this! Exactly. I am looking to re-create the "View Map" link:

find_real_file.png

And I believe I might actually be interested in the dictionary entry for View Map field on the cmdb_ci_service_discovered (Application Services) table:

find_real_file.png

However, I do not see "UI Action List" as a type option when creating a new field:

find_real_file.png

How is this achieved?

This might help: There is comment about creating a field and then updating the field type using a script. Try it.

https://community.servicenow.com/community?id=community_question&sys_id=d9f307e5dbd8dbc01dcaf3231f96...