Recent Comments widget

Use the Recent Comments widget to display a feed of comments. Users can then select these comments to go to the associated content. When configuring the widget, you can select from which channels it displays comments.

The feed only displays comments made in the last 30 days.

The Recent Comments widget on a page.

Sections in this article:

Set up

Follow these steps to set up this widget:

  1. Place a  Recent Comments widget on a page, space, or dashboard. For more information, see Placing and setting up a widget
  2. Select the placed widget's Edit button.
  3. Review and make changes to the settings on the Options, Layout, and Appearance tabs. You can find details about the widget's settings in the Settings section below.
  4. In the widget editor, select Update to apply your changes or Cancel to discard them.  
  5. At the bottom of your page, space, or dashboard, select Publish or Save as Draft to save your changes.


Setting Description

Enter a title for the widget. The title appears as a heading above the widget's contents. You should use the title to provide context to the widget and better structure a page's content by clearly denoting different sections.

When entering a title, you do so only for your currently selected language. If your digital workplace supports multiple languages, you should select  Translation and enter a title for each supported language. 

This field can contain a maximum of 140 characters.


Enter a description for the widget. The description appears between the title and the widget's contents. You can use this text to provide information to users about the widget.

When entering a description, you do so only for your currently selected language. If your digital workplace supports multiple languages, you should select  Translation and enter a description for each supported language.


Select from which channel(s) the widget displays content. Access rules determine what users will see when configuring and viewing the widget: 

  • Users who are configuring this widget will only see channels to which they have at least Read access. Users can still select channels that they don't have access to by selecting groups of channels (see step 4 of adding sources below).
  • Users who view the published widget will only see content from a channel if they have at least Read access to that content.

To add sources:

  1. Select add source(s).
  2. Select the content type tab that contains the channel(s) you want to add.
  3. Search for a channel by its name or a portion of its URL. This search will return up to 100 results and include the pages and spaces that contain a channel that matches the search query.
  4. Select a channel from the list of search results. In addition to selecting sources individually for a content type, you can select groups of channels:
    • Select the All option to select all channels of a content type in your digital workplace.
    • Select pages or spaces to select all channels of a content type below that location.
  5. Repeat this process until you have added all your sources, and then select Done.

To remove sources:

  1. Select add source(s).
  2. While on the Selected tab, unselect the source(s) that you want to remove.
  3. Select Done.
Number of results Enter the maximum number of results to increment by, and to display initially. You must enter a value between 1 and 99. If there are additional items to display, users can select the Older Activity, link found at the bottom of the feed, to load additional results.
Options tab
Setting Description
User Photo Select to display user photos.
Author Select to display the author of the comment
Data Select to display the date a comment was made.
Source Select to display the source channel.
Display the source (Space) Select to display the space where the source channel resides.
Truncate title Enter how many characters of the title to display.
Body character limit Enter how many characters of the comment to display.
Layout tab
Setting Description
Class Enter CSS class selectors to provide additional styling to the widget. For more information, see Applying custom CSS to widgets.
Height Select the height of the widget. Options include:
  • Auto: The leftmost slider position. The height of the widget will increase and decrease to contain what it is displaying.
  • Fixed: Select a fixed height between 50px to 600px in increments of 50px. A vertical scrollbar will appear on the widget if the content exceeds this fixed value.
Appearance tab


Your digital workplace's theme overwrites many of the settings on the Appearance tab. However, the settings listed above are usable.