Returns the result of the macro.
Typically used in the ResultFormat property, to format, convert or encode the result.

Syntax

Smartsite SXML CopyCode image Copy Code
any this.result()
any this.result(enum dataType)

Parameters

Name Data Type Description
dataType Enum Type of the data.
Enum values:
  • Undefined
    Not set
  • None
    No result
  • String
    Default type
  • Object
    Generic object
  • Binary
    Binary data
  • Boolean
    Boolean
  • DataTable
    DataTable
  • DateTime
    Date/time
  • Float
    Floating point numeric data
  • Integer
    Integer
  • Locator
    Extended Uri
  • Xml
    Xml Data

Return Value

Data Type Description
Any The macro result.

Used in

Macro Description
Metadata Provides metadata that can be included in an HTML page and forwarded to external components such as the PDF generator and Image Processor.
PlaceHolder Represents a datatable that can be accessed from other elements while in scope, then formatted and rendered when going out of scope.
SXML