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.

how to display announcement in mobile app

snow34
Tera Contributor

how to display announcement in mobile app

2 REPLIES 2

Anitha H V
Giga Expert

Hi,

Please find the below link which may give you the solution.

https://community.servicenow.com/community?id=community_question&sys_id=6d40e68fdb4698109e691ea6689619c7

Please mark helpfull???? and correct✅ if it is!

Thanks & Regards,

Anitha H V

Community Alums
Not applicable

Hi ,

Please follow these steps, these will surely help:

  • Navigate to System Mobile->Applets.
  • Create a applet – Announcements of type List Screen.
  • Create an Item Stream Segment - Announcements Item Stream Seg.
  • Open the Item Stream Segment record, create an Item Stream - Announcements Item Stream.
  • Open the item stream record.
  • Navigate to System Mobile -> Data items in a new tab.
  • Create a data item - Announcement Data Item.
  • Set condition type as declarative, table as Announcement and query condition as active = true. Save.
  • Navigate back to item stream record and select the data item created.
  • Open Item View (sys_sg_item_view) table in new tab.
  • Create an item view - Announcement Item View.
  • Set table as Announcement, set item view JSON in order to display the items properly in the app. Save.
  • Navigate to System Mobile->Mobile UI Styles in a new tab.
  • Create Announcement Style A for announcements with display style normal, adding a background colour of blue.
  • Create Announcement Style B for announcements with display style urgent, adding a background colour of red.
  • Create Announcement Style C to add white font to the announcement title.
  • Create Announcement Style D to add white font to the announcement summary.
  • Navigate Back to the Item View page and add the styles created. Save.
  • Open Master Item (sys_sg_master_item) table in a new tab.
  • Create Announcement Master Item record.
  • Add Announcement Item View in the item view field.
  • Set condition active = true. Save.
  • Navigate back to the Announcement Item Stream page.
  • Add the Announcement Master Item created. Save.
  • Navigate to System Mobile ->Applets in a new tab.
  • Create an applet - Announcement Form of type Form Screen.
  • Set the Announcement data Item in the data item field. Save.
  • Navigate to System Mobile ->Applets in a new tab.
  • Create an applet – Announcement details of type Details screen.
  • Set table as Announcement.
  • To the Screen Fields related list add title, summary and details URL fields. Save.
  • Navigate to the Announcement form applet.
  • Add Announcement details applet to the Form screen segments section. Save.
  • Navigate to the Announcement Master Item.
  • Add Announcement form to the embedded screen field. Save.
  • Create an ACL announcement.none for providing read access to end users.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep