NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconiconsfalse

...

Group Data with the Group Data Macro

...

The group-data macro allows stored data to be grouped within a named data set. This replaces the scaffolding macro.

Observation The words "Next meeting" were entered in Edit Data view, as the text-data macro specifies no text value. It's not possible to add a text value to the macro, once you have executed it without a text value. This mirrors the observation on the text-data test page.

More information

. This page shows the general form and an example.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is

Code Block
{group-data:name}
  {xxx-data:sub-field}
{group-data}

An example follows.

Code Block
{group-data:MeetingInformation}
  
Code Block

{text-data:NextMeeting|type=line}Next Meeting{text-data}

  {date-data:MeetingDateTime|format=yyyy-MMM-dd HH-mm-ss}today{date-data}
{group-data}

The group data macro establishes the group. The text data macro establishes the field name, Next meeting:. The date data macro establishes the day and time, initially the date the macro was created with the time not specified. In the Edit Contents view, select a different date and enter the time.

group-data

...

nameMeetingInformation
NextMeeting

...

BLOCKline

...

Next meeting:

MeetingDateTime

...

yyyy-MMM-dd HH-mm-ss

...

BLOCK
Note

Editing in the Edit Contents view suppresses output of macros entered in earlier versions of Confluence. Line breaks between the field name and date and time are not rendered.

Scrollbar
iconsfalse