To display error count over an icon and on hover display error message

The requirement is i need to display error message count over an image/icon and if the user mouse hover the count it should display error messages.


Keep up to date on this post and subscribe to comments

October 15, 2019 - 8:02am


Don't you have something like that in UI Gallery as an example?

October 15, 2019 - 8:19am
Response to MarcLasserre_GCS

I have attached an image, similar to my requirement

October 15, 2019 - 8:28am

Hi ,

I believe you can use tools.getPrimaryPage().getMessagesMap(); and add an iterator to get the count .

You can show the section HarnessErrorList on hover of the count which contains the error messages.