The Recently Updated macro displays a list of the most recently changed content within Confluence.
The Recently Updated Dashboard macro is similar to this one, but is intended for display on the Confluence dashboard.
On this page:
{recently-updated}
|
Below is a working example of the 'Recently Updated' macro which by default, lists 15 results.
必要な入力項目 |
表示結果 |
|---|---|
{recently-updated} |
|
パラメーター |
既定 |
説明 |
|---|---|---|
author |
指定なし (すべてのコンテンツを表示) |
Filter the results by author. The macro will display only the pages etc which were last modified by the author(s) you specify here. |
ラベル |
指定なし (すべてのコンテンツを表示) |
Filter the results by label. The macro will display only the pages etc which are tagged with the label(s) you specify here. |
labels |
指定なし (すべてのコンテンツを表示) |
Exactly the same as |
max |
15 |
Specify the maximum number of results to be displayed. Note that the results are sorted first, and then the maximum parameter is applied. If this parameter is omitted, then a maximum of 15 results are displayed. The theoretical maximum value that this parameter can accept is 2 to the power of 31, minus 1 (or 2147483647). |
maxResults |
15 |
Exactly the same as |
リバース |
false |
Use this parameter in conjunction with the |
showProfilePic |
false |
Specify |
並べ替え |
modified |
Specify how the results should be sorted. To change the sort order from ascending to descending, use the |
スペース |
@self、すなわちマクロが書かれたページを含むスペース |
This parameter allows you to filter content by space. The macro will display only the pages etc which belong to the space(s) you specify here. |
スペース |
The space which contains the page on which the macro is coded |
Exactly the same as |
type |
すべて |
This parameter allows you to filter content by content type. The macro will display only the content of the type you specify here. |
types |
すべてのタイプ |
Exactly the same as |
width |
100% |
マウロの表示幅を、ウィンドウ幅に対するパーセント値で指定します。 |
The code below will show all the pages from all the spaces that have been recently updated:
{recently-updated:space=@all}
|
Use the code below to specify the spaces for which you want to view recently updated content:
{recently-updated:space=SPACEKEY1,SPACEKEY2}
|
Use the code below to limit the width of the display to 50% of the window:
{recently-updated:width=50%}
|
The code below will include recently updated content labelled with 'timesheets' or 'summaries', from the 'sales' and 'marketing' spaces, provided that the content is not labelled with 'obsolete':
{recently-updated:space=sales,marketing|label=timesheets,summaries,-obsolete}
|
Use the code below to sort the list of items by date last modified, with the most recent at the top:
{recently-updated:sort=modified|reverse=true}
|
Use the code below to show pages only (not news items, comments or any other content type) and sort the list of items by date last modified, with the most recent at the top:
{recently-updated:sort=modified|reverse=true|type=page}
|
The code below changes the number of results listed (from the default value of 15) to 8:
{recently-updated:maxResults=8}
|
The code below will display the profile picture of the user who most recently updated the content.
{recently-updated-dashboard:showProfilePic=true}
|
The code below will display recent comments in the current space, showing the profile picture of the users who made the comments, plus the first line or two of the comment text.
This is the only way to ensure that the text of the comments is displayed, using this macro.
{recently-updated-dashboard:types=comment|showProfilePic=true}
|
If you would like to change the wording displayed by the 'Recently Updated' macro, please refer to the document on modifying the Confluence interface text. |
Recently Updated Dashboard Macro
Viewing Recently Updated Content
Working with Macros
Take me back to Confluence User Guide