Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The announcement list on the portal is the Main Announcement Widget.

The widget looks the following way:

To configure the widget, complete the following steps:

  1. Navigate to Portal Structure → Widgets.
  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 exit to apply the changes.

The <previewList> portal SimpleTag is used for the widget.

Code Block
languagexml
titleItems List
<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>