NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{scrollbar:icons=false}
h1. 

Display

...

and

...

Format

...

Field

...

Data

...

with

...

the

...

Get-data

...

Macro

...

The

...

get-data

...

macro

...

displays

...

stored

...

field

...

data

...

and

...

provides

...

for

...

formatting.

...

When

...

data

...

is

...

inside

...

a

...

table-data

...

or

...

repeating-data

...

macro,

...

the

...

get-data

...

macro

...

can

...

retrieve

...

it,

...

which

...

the

...

Reporting

...

plugin

...

macro,

...

reporting-info,

...

is

...

not

...

able

...

to

...

do.

...

(The

...

Reporting

...

plugin

...

is

...

not

...

installed

...

on

...

this

...

site).

...

This

...

page

...

provides

...

the

...

following

...

information:

...

Table of Contents

...

minLevel

...

2

More information

Get-data

...

Macro

...

The

...

general

...

form

...

is:

{
Code Block
}{get-data:name=[Field Name]|format=[date or number format]}Default value{get-data}{code}

In

...

this

...

example,

...

there

...

is

...

no

...

data

...

to

...

get.

{
Code Block
}{get-data:name=Group Name.Field Name|format=#,##0.00}Default value{get-data}{code}

{

Get Data

...

name

...

Group

...

Name.Field

...

Name

...

format

...

#,##0.00

...

separatornewline

Default

...

value

In this example,

...

there

...

is

...

a

...

date

...

to

...

get.

{
Code Block
}
{date-data:YearMonthDay|format=yyyy-MMM-dd}today{date-data}

{get-data:name=YearMonthDay|format=yyyy-MMM-dd}{get-data}
{code}

{

Date Data

...

nameYearMonthDay

...

format

...

yyyy-MMM-dd

...

today

Get Data

...

name

...

YearMonthDay

...

format

...

yyyy-MMM-dd

...

separatornewline

Get-data

...

Macro

...

Used

...

with

...

Repeating-data

...

Macro

...

An

...

example

...

follows.

...

In

...

the

...

edit

...

view,

...

the

...

graphical

...

plus

...

sign

...

was

...

clicked

...

twice

...

to

...

repeat

...

the

...

data.

{
Code Block
}
{repeating-data:MonthDayYear}
{date-data:YearMonthDay|format=yyyy-MMM-dd}today{date-data}
{repeating-data}

{get-data:name=YearMonthDay|format=yyyy-MMM-dd}{get-data}
{code}

{

Repeating Data

...

nameMonthDayYear
orderasc

YearMonthDayINLINEyyyy-MMM-dd

...

Get Data

...

name

...

YearMonthDay

...

format

...

yyyy-MMM-dd
separatornewline

Wiki Markup
}{get-data}

{scrollbar:icons=false}