Excerpt Data

Description

This is a special case of Text Data that stores its value as the page's excerpt, using the Confluence Excerpt macro.

This macro will dynamically add and update the Excerpt macro in a page. This adds convenience by allowing page excerpts to be edited directly through Scaffolding, so that users do not have to edit the actual Confluence page just to update the Excerpt macro.


Parameters

NameRequiredAvailable InDefault ValueDescription

Name 

 (tick)

N/A

 

The name of the excerpt data field. Must be unique.

Scaffolding

 (error)

N/A

  • true - the only accepted value

 

Type

 (error)

N/A

  • line - the only acceptable value

 

Content

 (error)

N/A

  • richtext - if macro is created with Rich Text Editor
  • wiki - if macro is created with wiki markup

The type of content in the field. May be one of the following:

  • richtext
  • text
  • noformat
  • quote
  • code
  • wiki

Note: To input field within text-data of richtext or quote type, click on the field to initiate a richtext editor. Only applicable for forms mode.

Language

 (error)

N/A

 

The programming language to use for formatting the content Java or XML. This is only used when the Content Type is set to code.

e.g.: "content=code:JavaScript"

Whatever languages are valid for the {code} macro can be used.

Minimum Length

 (error)

N/A

 

If specified, the text must be at least this many characters long.

Maximum Length

 (error)

N/A

 

If specified, the text must be at most this many characters long.

Pattern

 (error)

N/A

 

The regular expression the text must match.

Pattern Info (Pattern Error Message)

 (error)

N/A

 

If the pattern is specified, this is displayed if the saved value does not match it.

Width

 (error)

N/A

 

The width of the text field. e.g. "250px" or "100%".

Only applicable for forms mode.

Height

 (error)

N/A

 

The width of the text field. e.g. "250px" or "100%".

Only applicable for forms mode.

Tutorial Examples

There is no content with the specified labels