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.

UI Macro not displaying on String fields bigger than 1 line

LCZ
Tera Contributor

Hello All! 

I designed a UI Macro that is supposed to be displayed next to string fields when referenced. 

The UI Macro itself works for fields of type String with a max length of 255. 

However, if the field is bigger than 255 the UI Macro is not beeing displayed. See following Screenshot: 

find_real_file.png

Both fields have the same UI Macro referenced but only the one with a max length of 255 is displaying it. 

Has anyone encountered an issue like this? 

 

Thanks in Advance

1 REPLY 1

Sai Kumar B
Mega Sage

@LCZ 

UI macros don't work for muli-line text fields, You'll have to try with client scripts to add macros

You can refer to this - Adding a UI Macro to a Non-reference Field