Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Disable clickable link on 'Data table from instance definition' widget

Ben42
Tera Contributor

Hello Devs,

 

I am using 'Data table from instance definition' widget on service portal to show list of incident, And Is there a way I can disable the clickable links? as now the 'Workday App' in the below screenshot is clickable hyperlink.. we want to disable that hyperlink but display just as normal text. 

Ben42_0-1713884101918.png

 

On the UI16 view, we can go list view of incidents and under configure -> list control we have 'omit links' checkbox. but not how we can do that on portal.

 

How can I achieve that?

 

Thanks,

Ben.

 

1 REPLY 1

stprsbk
Giga Guru

Ben,

 

I'm using the Data Table - Instance Definition Wrapper widget to display data from a table.  To disable the clickable links on the table I simply commented out the following line of code:

Client controller (section)

  • changed the following line from
    $scope.$on('data_table.click', callDataClick);
  • to
    // $scope.$on('data_table.click', callDataClick);