logo

NJP

49. Display Progress Indicators on a List View

Import ยท May 28, 2024 ยท article

We can display ๐—ฝ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฒ๐˜€๐˜€ ๐—ถ๐—ป๐—ฑ๐—ถ๐—ฐ๐—ฎ๐˜๐—ผ๐—ฟ๐˜€ with customized colors on the list view of any table by creating a field of type โ€œ๐—ฃ๐—ฒ๐—ฟ๐—ฐ๐—ฒ๐—ป๐˜ ๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒโ€

On the form view, this field type accepts ๐—ฑ๐—ฒ๐—ฐ๐—ถ๐—บ๐—ฎ๐—น ๐—ถ๐—ป๐—ฝ๐˜‚๐˜; on the list view, it appears as a progress indicator bar.

We can specify the threshold and respective colors, the attribute named ๐˜๐—ฎ๐—ฟ๐—ด๐—ฒ๐˜_๐˜๐—ต๐—ฟ๐—ฒ๐˜€๐—ต๐—ผ๐—น๐—ฑ_๐—ฐ๐—ผ๐—น๐—ผ๐—ฟ๐˜€ is used to define these parameters

example:

๐˜๐—ฎ๐—ฟ๐—ด๐—ฒ๐˜_๐˜๐—ต๐—ฟ๐—ฒ๐˜€๐—ต๐—ผ๐—น๐—ฑ_๐—ฐ๐—ผ๐—น๐—ผ๐—ฟ๐˜€:๐Ÿฌ:๐—ฟ๐—ฒ๐—ฑ;๐Ÿฏ๐Ÿฌ:๐—ผ๐—ฟ๐—ฎ๐—ป๐—ด๐—ฒ;๐Ÿณ๐Ÿฌ:๐˜†๐—ฒ๐—น๐—น๐—ผ๐˜„;๐Ÿต๐Ÿฌ:๐—ด๐—ฟ๐—ฒ๐—ฒ๐—ป

Based on this condition, if the value lies between 0โ€“29 the progress bar color would be ๐—ฟ๐—ฒ๐—ฑ if the value is between 30โ€“69 โ€” the color would be ๐˜†๐—ฒ๐—น๐—น๐—ผ๐˜„, and so on.

Check out the docs for more info:- https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/field-administration...

View original source

https://medium.com/@LearnITbyPrashant/50-display-progress-indicators-on-a-list-view-4e862e889016?source=rss-d005fc598f0a------2