is it possible to create hyperlink for the related list items.

viswa5
Tera Expert

Hi Team,

    Is it possible to create hyperlink on related list items.


Example:

                            In list we have 3 users name by clicking any user it should redirect the page to user table in form layout(where the user should be a heperlink)



Thanks in Advance

Regards,

Viswa..

1 ACCEPTED SOLUTION

Your screenshot shows a list field, which is different from a related list.


If you wanted these to be in link form, there needs to be a relationship between knowledge and the table shown above, in which you can then add a related list which would show them as links.


You could create a reference field for your table on the knowledge table, then add a related list to the form of your referencing table. Alternatively, you can add an embedded list, which would also show the links.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

7 REPLIES 7

rgm276
Mega Guru

it's not if you can, its the type of field that allows for the link to the user table you describe


for example, if the field is a "reference field" then the link to user would appear automatically


however, in the case of created by,or updated by, they are simply "text" or a string values


so, I do not know of a way to create a link to the user table based on a name/string in those related list views


even if there is, if the user id\name ever changed the historical text would not change, so the link/user lookup would fail to find the 'name' listed in the user table (i.e. you'd need to 'reference'   the user record by sys_id, which is not available)tableCapture.JPG


Li Fei
Kilo Contributor

But now I faced a problem that it's only int type. But it have a link, while the reference field can't redirect to my form.

geoffcox
Giga Guru

If you click on the little icon at the far left of a related list item, it will open the related list record.



If you want a person or thing in the related list to be clickable also, then it must be a reference field. If your record does not have reference fields (as in the case of "Created By" or "Updated By", you can add them to that table and populate them upon insert with a business rule. Often, however, there is a reference field already available. On the task table, for example, there is a string field called "sys_created_by", and another field called "opened_by". The latter is a reference field to the sys_user table.


Hi Geoff / Robert,



Sorry for the mistake it's not related list, it is list type field.



  Thanks for the update.



Please find the screen shot for better understanding.


ping.png


In the above screen if we click on any of the knowledge article it should act as an hyperlink and redirect to the knowledge article table.



Kindly help on this case, how to create hyperlink for that articles.



Regards,


Viswa