Skip to main content
Version: 1.26.0

Announcement Widget

The announcement list on the portal is the Main Announcement Widget. You can find the widget in the "out-of-the-box" solution for the platform.

caution

The widget occupies the whole page row and cannot be placed next to another widget in another column.

The widget width depends on the device and the number of the announcements displayed:

  • desktops and tablets: 2 columns, each has 4 announcement records for the latest published announcements.
  • mobile devices: 1 column with 4 latest published announcement records.

The widget has an empty state, when there are no announcements to display.

The widget looks the following way:

The full announcement list has the following view:

  1. Navigate to Portal StructureWidgets.
  2. Use the condition builder or search boxes to find the Main Announcement Widget record.
  3. Make the necessary changes in the Template field.
  4. Click Save or Save and exit to apply the changes.

The previewList portal SimpleTag is used for the widget.

listItems
<previewList 
tableName="announcement"
itemPage="announcement"
view="Default"
elementCount="{data.count}"
subjectColumn="subject"
dateColumn="sys_created_at"
stateColumn="announcement_type"
wrap="true"
transparent="true"
title="{data.Title}"
allLinkTitle="{data.allLinkTitle}"
allLinkPage="/portal/announcements"
condition="(via_portal=1^state=3)"
></previewList>