Formatter DSC

Added by Lachlan Aldred, last edited by Lachlan Aldred on Apr 01, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Please check out the following article for a scenario where Formatter DSC will be used:

Formatting Database-Retrieved Dates and Dollar Amounts for use in Forms

Component: com.avoka.livecycle.formatter 1.0

Formatter Service

Formatter of Numbers and Dates: Produces textually formatted dates from date objects.

Operation Title: Format Date to String   (formatDate)

Format Date to String: Formats a date into a string according to a user specified pattern.

Input Parameter Type Description Editor
Use Current Date (Ignore 'Input Date'). boolean This allows you to use the current date-time at the moment the this task gets started, as the input to this Formatter Component and it will ignore the process variable value supplied in 'Input Date' field.  
Input Date java.util.Date The user can specify the Date variable to this property which would be used as input to format the value.  
Format String java.lang.String The format string allows you to specify the format in which you want the output.
If the value is blank or the process variable's value is blank then the default format string
' yyyy-MM-dd HH:mm:ss ' will be used.
 
Output Parameter Type Description
Output String Location java.lang.String Please specify the process variable which should store the output.

Operation Title: Format Number to String   (formatNumber)

Format Number to String: Formats a number according to a pattern.

Input Parameter Type Description Editor
Input Number double The user can specify the number variable to this property
which would be used as input to format the value.
 
Number Format Pattern java.lang.String The format string allows you to specify the format in which you want the output.
If the value is blank or the process variable's value is blank then the default format string
'##,##0.###' will be used.
 
Output Parameter Type Description
Output String Location java.lang.String Please specify the process variable which should store the output.

For how to configure license information for this component service - Formatter of Numbers and Dates, please click on the following link:
Avoka LiveCycle ES Component License Configuration

Please send us any questions or comments on this documentation regarding Formatter of Numbers and Dates by clicking on the following link:
Feedback

Licence Configuration:

Parameter Type Description
License Key java.lang.String The license key provided to you when you purchased a production license for this Solution Component. If blank this Solution Component will assume evaluation mode and allow 100 invocations or 6 hours up-time.
License Organisation java.lang.String The organization name you provided to Avoka for which you are licensing this Solution Component.