Difference between revisions of "Formatting Data"

From Keyfax Wiki
Jump to: navigation, search
Line 3: Line 3:
 
  Expressions are covered in depth in the section – [[Expressions|Expressions]].
 
  Expressions are covered in depth in the section – [[Expressions|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:
+
'''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 quick fox jumps over the lazy dog'''

Revision as of 16:21, 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