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
  • Introduction
  • Manage Classes
  • Editing a class
  • Deleting a class
  • Cloning a class
  • Class Diagram
  • Import and Export
  • Validate and Save

Was this helpful?

  1. Building an Application
  2. Data

Data Modelling

Data Modelling on the platform makes use of the Class Designer allowing a user to manage classes, fields, actions and links. It is closely related to the database as well.

PreviousSourcesNextClass

Last updated 4 years ago

Was this helpful?

Introduction

The Class Designer is the central unit to build a new application. It is used to define the classes that model data in an application. A class typically consists of fields, actions and links - each of which can be thoroughly configured using the class designer.

Manage Classes

You can edit (by selecting details), delete, clone or export existing classes for use in another application easily from the dropdown menu for your class. More options are available in the toolbar as well.

Editing a class

The class editor can be opened by selecting Details from its dropdown menu.

Deleting a class

A class can be deleted simply by selecting the Delete option from its dropdown menu.

Important: The system does not prompt for confirmation during deletion.

Cloning a class

A class can be cloned by selecting the Clone option from its dropdown menu. A new class with the same properties as the original class is created in your application.

The - Copy suffix is added to the class name to prevent conflicts with the original class.

Make sure to modify all unique properties of the class to allow saving your cloned class.

Class Diagram

A class diagram can easily be generated and viewed in the class designer itself by selecting your classes from the left panel. Alternately, you can select Show All Classes (from the toolbar) to generate a diagram with all the classes in your application.

Alignments

By selecting the Align Elements option, you can select to display your class diagram in different layouts. The options include Circle, Square and Columns.

Import and Export

Individual classes can be exported by selecting Export from their dropdown menus.

Alternately, you can choose to click on the general Export option in the toolbar and select all the classes you wish to export. Click on Execute to complete the operation.

Both methods result in a your class definitions compiled to JSON files being downloaded as a ZIP file. The default file name is classes.zip.

The generated ZIP file may be password-protected.

Similarly, classes can be imported in an application by selecting Import from the toolbar and selecting your class definition JSON files. Click on Execute to complete the operation.

Validate and Save

You can also check the validity of your classes by selecting the Validate option or save your current classes by selecting Save from the bottom menu.

All validation errors are displayed in the collapsible log at the bottom.

In case your class is invalid, the system will not allow the class to be saved.

The class editor allows you to modify the configurations of your class. More details about the different sections and attributes that help you customize you class can be found .

Note that when cloning a class, unique properties such as the and also retain the same values as the original class, rendering the clone as invalid.

Class designer: Elements aligned in circular layout
here
Class designer window
Class designer: Edit a class
Class designer: Deleting a class
Class designer: Cloning a class
Class designer: Creating class diagrams
Class designer: Exporting classes
Class designer: Validate and save class
Common Key
Mapping Key