Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to remove link for reference field on list view, but still be able to list-edit it

MG Casey
Mega Sage

Somewhat interesting use case:

Users want the ability to list-edit a certain table when on list-view. The columns that need quick editing are reference fields.

Since they update many records at a time by holding CTRL or SHIFT, they don't want the risk of clicking on the link in the reference field on the list-view. They'd rather have that not be linked, but would still need to be able to edit that field once double-clicked like any normal reference field.

Any ideas?

1 ACCEPTED SOLUTION

Abhinay Erra
Giga Sage

You can remove link in the list view by going into the list control. Right click on the list header go to Configure -> List Control and check the Omit Links checkbox as shown in the below snapshots


1.PNG


find_real_file.png


View solution in original post

6 REPLIES 6

Abhinay Erra
Giga Sage

You can remove link in the list view by going into the list control. Right click on the list header go to Configure -> List Control and check the Omit Links checkbox as shown in the below snapshots


1.PNG


find_real_file.png


This definitely helps - I tried that out, then instead used the "Omit links condition" field to remove links only on a certain view of the list:



var omitlinks = false;


if (RP.getParameterValue("sysparm_view") == 'dcl_verification') {


  omitlinks = true;


}



answer = omitlinks;



I'll still look for a solution for omitting only certain links from a list-view, but this is a good start.


MG Casey, Did you ever find a way to omit only certain links?   I am looking for the same code


can anybody find this solution particular columns refence icon to remove..if you guys find it this ..please share the inform