How to write a Javascript code in the Dictionary Override of Attribute field

Isac Newton Gab
Tera Contributor

I am trying to write a Javascript code to override 'Attribute' entry in a dictionary for a field. Can someone help me with this please?

 

Based on the user who is accessing a list in a table, the attribute of the field should be changed is my use case.

IsacNewtonGab_0-1715172763329.pngIsacNewtonGab_1-1715172796119.png

 

1 ACCEPTED SOLUTION

GouthamAnumolu
ServiceNow Employee
ServiceNow Employee

 

 

hi @Isac Newton Gab  ,

 

 

Please change the code like this -



javascript:'no_truncate='+new global.DictinonaryOverride().checkUser()

 

 

 

Thanks,

Goutham

View solution in original post

1 REPLY 1

GouthamAnumolu
ServiceNow Employee
ServiceNow Employee

 

 

hi @Isac Newton Gab  ,

 

 

Please change the code like this -



javascript:'no_truncate='+new global.DictinonaryOverride().checkUser()

 

 

 

Thanks,

Goutham