KB Version:

Page Navigation

Related Links

Learning Levels

Most Read

Announcements RSS Feed of Announcements

XHTML/Structured Data Block

Digest

block An XHTML/Data Definition Block is a reusable Block of content that provides a rich word processing (WYSIWYG) interface or Data Definition form fields for editing content. 

Regions which share static content across multiple pages, such as a header or footer, generally use XHTML/Data Definition Blocks. A single change to one of these blocks will propagate to all pages of the site that make use of the block.

Concept

Why use an XHTML/Data Definition Data Block?

XHTML/Data Definition Data Blocks are the best way to reuse static content across many pages.  With the addition of using Data Definitions, users can author structured content.  Like Pages with Data Definitions, a Format will need to transform the resulting XML.

Technical

Creating an XHTML/Structured Data Block

An XHTML/Data Definition Block is a great way to reuse content across multiple pages.

To create an XHTML/Data Definition Block:

  1. In the Home Area, select New -> Default -> Block.

new block

  1. Select XHTML/Data Definition Block.
  2. On all panes:
    System Name
     - Type in the name of your new block.
    Parent Folder - This is where the block will be stored. It's most useful to store blocks in a
     central or common location.
  3. On the Content pane:
    Enter your content in the WYSIWYG editor just as you would on a Page.
  4. On the Metadata pane:
    Enter any Metadata desired.  
  5. Click Submit to save your block
xhtml block

XHTML/Data Definition Blocks may be edited or deleted by selecting the Block and choosing the Edit or Delete tab, respectively. 

Adding a Data Definition

To add a Data Definition to an XHTML/Data Definition Block, while creating or editing:

  • Click the Data Definition chooser link located just above the WYSIWYG on the Block create screen.
  • Select a Data Definition in the chooser window and click Submit.
  • The edit screen will immediately refresh with the Data Definition fields defined in the selected Data Definition.
  • After entering any desired content and completing any required fields, click Submit to create the Block.

Note that if content has been entered in the WYSIWYG prior to applying a Data Definition to the Block, that content will be transferred to the first available WYWISYG field defined in the Data Definition.  If the Data Definition does not have any WYSIWYG fields, then the content will not be transferred.

Web Services

An XHTML/Data Definition Block is defined by the following WSDL: 

The XHTML content is in the "xhtml" field.

The Data Definition content is in "structuredData" field.

Related Links