Docs
  • Getting Started
  • Overview
    • Understanding
      • User-Interface
      • Shortcuts
    • Getting Started
      • Creating A New Application
      • Adding Basic Structure using Class Designer
      • Creating a link to the TIVITY File Class
      • Setting Rights
      • Creating Queries
      • Building The Layout
        • Creating an App Page
        • Creating an Object Page
        • Creating a List Item Layout
  • Building an Application
    • Application Setup
      • General
      • Documentation
      • License Management
      • Publishing the Application
      • Advanced Settings
        • Document-MailEditor
    • Data
      • Sources
      • Data Modelling
        • Class
        • Field
        • Action
        • Link
      • Query Data
        • Get Started with Query Designer
        • Common
        • Fields
        • Conditions
        • Default Values
        • Preview
      • Roles & Permissions
        • Rights Designer
      • Access Control Lists (ACL)
    • Views
      • Design UI
        • Page Types
        • Fields and Links
        • Layout Controls
          • Actions
          • Panels
          • Sections
          • Lists
          • Input
        • Layout Templates
      • Document Templates
        • Get started with Template Designer
        • Expressions in Templates
    • Execution
      • Functions
      • Workflows
        • Control Types
      • Trigger
      • Scripting
        • Accessing the Script Designer
        • Using the Script Designer
        • Commonly used Actions
        • Reference: Actions
          • Math
          • System
          • Date
          • Collection
          • LogicalOperators
          • Web
          • Structure
          • Constants
          • Converters
          • Commands
          • Text
          • PDF
          • Operators
          • PowerPoint
          • QR-/Barcode
          • Messaging
          • Cells
          • Xml
          • Admin
          • Integrations
    • Expressions
      • Expressions in Expressions
      • Expressions in Condition Values
  • Administration
    • Platform
    • Workspace
    • Security
    • Platform Setup
  • Extensibility and Integration
    • REST API
    • Source Adapter
      • Getting Started
      • Source Adapter Interface
      • RESTful Adapter Service
  • Adapter Portfolio
    • MongoDB Adapter
  • Platform Features
    • Enterprise Search
      • Integration into an App
      • General Settings
    • Templates
    • Tagging
      • Getting Started
      • Manage Tags
      • Settings
      • Usage
        • Tag filter
        • Tag panel
    • DMS Setup
Powered by GitBook
On this page
  • CanBeDateTime
  • CanBeInt
  • FromBase64String
  • ToBase64String
  • ToDateTime
  • ToDouble
  • ToFloat
  • ToGuid
  • ToInt
  • ToString
  • ToTimeSpan
  • CanBeDecimal
  • ToDecimal

Was this helpful?

  1. Building an Application
  2. Execution
  3. Scripting
  4. Reference: Actions

Converters

CanBeDateTime

Checks whether the given Value can be converted to a DateTime.

Syntax

CanBeDateTime ( Value [, Format] [, Language] )

Parameters

Value The Value to check. Type: String

Format (optional) The Format of the Value. Type: String

Language (optional) The Culture of the Value. Type: Language

Return Type

Boolean

CanBeInt

Checks whether the given Value can be converted to an Int.

Syntax

CanBeInt ( Value [, Language] )

Parameters

Value The Value to check. Type: String

Language (optional) The Culture of the Value. Type: Language

Return Type

Boolean

FromBase64String

Converts the given Base64 value to a string.

Syntax

FromBase64String ( Value [, EncodingCodePage] ) 

Parameters

Value The Value to convert. Type: String

EncodingCodePage (optional) The encoding used for the conversion. Uses UTF-8 encoding by default. Type: Integer

Return Type

String

ToBase64String

Converts the given value to a Base64 string.

Syntax

ToBase64String ( Value [, EncodingCodePage] ) 

Parameters

Value The Value to convert. Type: String

EncodingCodePage (optional) The encoding used for the conversion. Uses UTF-8 encoding by default. Type: Integer

Return Type

Integer

ToDateTime

Convert a String to a DateTime.

Syntax

ToDateTime ( Value [, Format] [, Language] )

Parameters

Value The Value to convert. Type: String

Format (optional) The Format of the Value to convert. Type: String

Language (optional) The Culture of the Value. Type: Language

Return Type

DateTime

ToDouble

Convert a Value to a Double.

Syntax

ToDouble ( Value [, Language] )

Parameters

Value The Value to convert. Type: Any

Language (optional) The Culture of the Value. Type: Any

Return Type

Double

ToFloat

Convert a Value to a Float.

Syntax

ToFloat ( Value [, Language] )

Parameters

Value The Value to convert. Type: Any

Language (optional) The Culture of the Value. Type: Language

Return Type

Float

ToGuid

Converts a value to a Guid. The Guid has to be of valid format.

Syntax

ToGuid ( Value [, Format] )

Parameters

Value The Value to convert. Type: String

Format (optional) The Format of the Value to convert. Type: String

Return Type

Guid

ToInt

Convert a Value to an Int.

Syntax

ToInt ( Value [, Language] )

Parameters

Value The Value to convert. Type: Any

Language (optional) The Culture of the Value. Type: Language

Return Type

Int

ToString

Converts a value to a string. Can be formatted using the Format element. The language element determines the language if more than language are available.

Syntax

ToString ( Value [, Format] [, Language] )

Parameters

Value String used as basis for the operation. Type: Any

Format (optional) Format element which determines the format of the String. Type: String

Language (optional) Determines the language of the String. Type: Language

Return Type

String

ToTimeSpan

Convert a String to a TimeSpan

Syntax

ToTimeSpan ( Value [, Format] [, Language] )

Parameters

Value The Value to convert. Type: String

Format (optional) The Format of the Value to convert. Type: String

Language (optional) The Culture of the Value. Type: Language

Return Type

TimeSpan

CanBeDecimal

Checks whether the given Value can be converted to a Decimal.

Syntax

CanBeDecimal ( Value [, Language] )

Parameters

Value Value as String: The Value to check.

Language (optional) The Culture of the Value.

Return Type

Boolean

ToDecimal

Converts a Value to a Decimal.

Syntax

ToDecimal ( Value [, Language] )

Parameters

Value Value as Any: The Value to convert.

Language (optional) The Culture of the Value.

Return Type

Decimal

PreviousConstantsNextCommands

Last updated 1 year ago

Was this helpful?

As an example the Base64 value VGhpcyBpcyBhIHRlc3Q (UTF-8 default encoding) would be converted into String text This is a test . See for vice versa conversion.

As an example the String text This is a test would be converted using UTF-8 encoding by default into VGhpcyBpcyBhIHRlc3Q= . See for vice versa conversion.

ToBase64String
FromBase64String