Difference between revisions of "Custom Data Formatter Standard Option"

From PresenceWiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{UnderConstruction}}
 +
 +
 
The Custom Data Formatter produces a tree-based text output based on the incoming Data Table. For example, consider the following table of data:
 
The Custom Data Formatter produces a tree-based text output based on the incoming Data Table. For example, consider the following table of data:
  

Revision as of 10:05, 1 July 2010

Under Construction

This page (Custom Data Formatter Standard Option) is currently undergoing modifications and may be incomplete. We apologise for any inconvenience.

No extra information has been provided.

Questions? Email Us.


The Custom Data Formatter produces a tree-based text output based on the incoming Data Table. For example, consider the following table of data:

Name Country
Matt Pryor United Kingdom
Graham Roberts United Kingdom
Basil Prescott United Kingdom
Richard Knill United Kingdom
Lauris Cadey United States
Paul Rebane United States

From a glance at the data we can see that although the values for the name field are all unique, the country field is not. It would therefore make sense, when presenting this data, to provide sub-headers for the country field. So, let's suppose we wanted to create an output that looked something like this:


United Kingdom

Matt Pryor

Graham Roberts

Basil Prescott

Richard Knill

United States

Lauris Cadey

Paul Rebane


This situation lends itself to the Custom Data Formatter. To create a new Custom Data Formatter, right click on the task edit view and select "Insert New > Custom Data Formatter". The first thing to do is give the data formatter a name, in case we want to re-use it later:

Type of document to produce

This allows you to select a pre-defined document type. The type of document selected dictates the initial value of the root element and the tags suggested in the suggestion provider.

The available types are:

- Generic Document (no default text or suggestions are provided)

- HTML Document (a basic HTML template is used as the default text, and HTML tags are suggested)

- PDF Document* (a PDF template is provided, and PDF markup tags are suggested)

- WML Document (Wireless Markup Language, in case you are building a WAP site)

- XML Document (For XML documents, less advanced than using the XML Document Writer).

Iteration Tree


See Also

Task Elements > Data Format Nodes > Custom Data Formatter Standard Option

CSV Writer | HTML Table Writer | Basic XML Writer | XML Document Writer
XSLT Processor | Padded Text Writer | Custom Data Formatter Standard Option | Custom Data Formatter PDF Option
Custom Nodes


Task Elements | Resources