Announcement widget on service portal, Summary of announcement is not shown until expanded.

Servicenow Stud
Mega Contributor

Hi All,

I have created a new Announcement and entered summary into it. But the complete announcement is not shown until it is expanded. How to make the complete announcement visible on load itself.

find_real_file.png

find_real_file.png

Thanks

1 ACCEPTED SOLUTION

Yes you can , you have to dig into the widget client script.

 

 

Clone the "Announcements" widget and set a.expanded = true;  in client controller script. 

 

find_real_file.png 

 

If my answer helped you, kindly mark it as correct and helpful.

View solution in original post

9 REPLIES 9

Harsh Vardhan
Giga Patron

Its expected behavior, if you want to make it always expanded then you have to make changes in widget html script. By the way on this widget that generally used to track that list of announcement showing over the portal, but the main thing you will on portal header. if still you want to customize it then clone the widget and make the changes in html part of "Announcement" widget. 

Hi @Harshvardhan ,

Thank you. I have configured the announcement to show only in widget but not on banner. Could you please help on the changes need to be made in cloned widget.

Whats the use case? do you only want to show the announcement summary as read only content over portal ? 

Hi @Harshvardhan ,

Yes I want the summary to be read-only in widget of portal.