Configurable Workspace expand error message

Natalia11
Tera Expert

Hello, I am looking for some guidance on how to have the error message expanded automatically when occurs in the Configurable Workspace. 

Screenshot 2023-07-21 at 17.52.40.png

I have been advised that this can be done by manipulating the DOM to load "now-alert-content" as "now-alert-content is-expanded". However, I am not sure where and how to make this update. Please could you kindly guide me a bit on where to start?

5 REPLIES 5

Brad Tilton
ServiceNow Employee
ServiceNow Employee

It looks like that's the error message you get when trying to save a form where not all mandatory fields are completed. If I'm understanding your requirement correctly, you want the Show more link to be automatically clicked so the whole message shows up? 

I don't think that's doable as this is a system message and not something generated from the workspace itself, unless there's a system property for it somewhere.

Hi Brad, thank you for coming back to me. Yes, that's correct. I would like to show the expanded message when it shows up (screenshot below). 

Screenshot 2023-07-24 at 15.33.33.png

Hi Portal has suggested that it's possible to achieve this by manipulating the DOM to load "now-alert-content" as "now-alert-content is-expanded." They did mention that additional assistance for this comes with charges, so I would really appreciate your help on this matter.

Doug23
Tera Contributor

Hi Both,

 

It appears that the format of the mandatory fields message has changed in Vancouver, and now appears at the top of the form details section, rather than the global messages area - unfortunately I've not been able to find any documentation to support this.

 

Many thanks,

josmad
Tera Contributor

@Natalia11 did you get the solution for this?