Versions Compared

Key

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

...

Table of Contents
absoluteUrltrue
excludeOverview
typeflat
separatorpipe

Excerpt
hiddentrue


Warning

Similar content but different to Page Activity Macro


Overview

Excerpt
hiddentrue

Embed Activity Report in wiki content

The {pageactivity} macro displays a workflow "Activity Report" directly within wiki content.

The report is similar to what you see when you access the Activity Report from the Workflow Popupworkflow popup.

When using Same-space publishing, only the entries up to the most recently published version of content will be shown.

Where to use it?

Optional.

One or more {pageactivity} macros can be used in the following locations:

Permissions

...

When used on a page with a workflow which uses uses Same-space publishing (one which defines a final=true state):

  • Edit/Admin users will see the full report
  • View only users will only see entries up to the point at which the most recent published (final=true) state was entered
  • If the page has not yet reached a published state, view-only users won't be able to view the page or the report

Parameters

Parameter

Required

Default

Notes

maxentries


all entries shown

Maximum number of entries to show

ascending
false

Which order should the entries be shown in?

  • true – oldest → newest
  • false – newest → oldest

Example

This will add The following adds a page activity report with the five most recent entries:.

Code Block
languagetext
themeRDark
{pageactivity:maxentries=5}

...

Or use the macro editor:

oImage Added


On the page, this displays a chronological list of the page activity.

oImage Added

Columns can be set to be sorted in reverse date order when editing the macro.

All examples

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "macro-pageactivity" and label = "example" and space = currentSpace ( )

...