Generate HTML Data

Operation Name

Generate HTML Data

Function overview

Velocity in the memory to generate the data using HTML.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of Variables Description Remarks
Name Required Not available Enter the name on the script canvas.  
Input data Optional Not available Select the component on the script canvas.
  • You can add a HTML input from the builder.
    See "Using the input data" for more information please.
Comment
Item name Required/Optional Use of Variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Velocity templates

Start your HTML builder, Velocity template specified.
For more information, "HTML Builder Operations Guide" for more information please.

Transaction

Transaction is supported.

PSP Usage

PSP is not supported.

Available Component variables

Component variable name Description Remarks
html_data Returns the HTML data generated.
  • The value defaults to null.
message_category Stroes the category to which corresponding message code belongs to, when an error occurs.
  • The value defaults to null.
message_code Stores its corresponding message code of occured error.
  • The value defaults to null.
message_level Stores the severity of the corresponding message code of the occured error.
  • The value defaults to null.
error_type Stores the type of the occured error.
  • The value defaults to null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Stores the error message for the occured error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Stores stack trace of the occurred error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

Main exceptions

Exception name Cause Solution
VariableNotFoundException Failed to compile script. Please check the Velocity template specified.
java.lang.IllegalStateException
No documents have been set as the input source specified
[Input data] is not specified as input data for the given input. Please confirm [Input data].