Difference between revisions of "Formatting Data"

From Keyfax Wiki
Jump to: navigation, search
(Created page with "Home > Databoxes > Using a Databox - Formatting Data Using a Databox - Formatting Data Expressions can be used to re-format and manipulate the data within a Databox. Tip...")
 
Line 1: Line 1:
Home > Databoxes > Using a Databox - Formatting Data
+
Expressions can be used to re-format and manipulate the data within a Databox.
  
Using a Databox - Formatting Data
+
Expressions are covered in depth in the section – Expressions.
  
Expressions can be used to re-format and manipulate the data within a Databox.
+
'''Example''': For this example we will format the text held in the Databox called ‘Script.Details’ so that it is displayed all in upper case. This Databox contains the following sentence:
  
 +
'''the quick fox jumps over the lazy dog'''
  
Tip
+
The following expression will format the text upon reading the Databox.
  
Expressions are covered in depth in the section – Expressions.
+
[[File:textformattingexample.png]]
 +
 +
We will test this expression by using it in a Message. Drag this databox into the body of the message or task. A bookmark will be placed into the message that refers to that Databox.
  
Example: For this example we will format the text held in the Databox called ‘Script.Details’ so that it is displayed all in upper case. This Databox contains the following sentence:
+
[[File:51.png]]
  
‘the quick fox jumps over the lazy dog’
+
Running this from an end user’s point of view displays:
  
The following expression will format the text upon reading the Databox.
+
[[File:52.png]]
 
We will test this expression by using it in a Message. Drag this Databox into the body of the Message or Task. A bookmark will be placed into the Message that refers to that Databox.
 
 
Running this from an end user’s point of view displays:
 

Revision as of 16:18, 21 February 2018

Expressions can be used to re-format and manipulate the data within a Databox.

Expressions are covered in depth in the section – Expressions.

Example: For this example we will format the text held in the Databox called ‘Script.Details’ so that it is displayed all in upper case. This Databox contains the following sentence:

the quick fox jumps over the lazy dog

The following expression will format the text upon reading the Databox.

Textformattingexample.png

We will test this expression by using it in a Message. Drag this databox into the body of the message or task. A bookmark will be placed into the message that refers to that Databox.

51.png

Running this from an end user’s point of view displays:

52.png