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

Was this helpful?

  1. Overview
  2. Getting Started

Creating a link to the TIVITY File Class

Creating a link to the TIVITY File Class to add the ability to upload files to our tasks.

PreviousAdding Basic Structure using Class DesignerNextSetting Rights

Last updated 4 years ago

Was this helpful?

To attach files to our tasks, we make use of the TIVITY File class, which originates from the Documents App. Each task item can have multiple files attached, but each file is related to only one task item, which we describe as One-To-Many relationship.

To be able to use the TIVITY File class in our app we need to add the TIVITY File class to our application. For this, go to General > Classes Tab and select the class TIVITY File.

Now we can link the TIVITY File class to the class we previously created. We go back to Classes, expand our class and expand Links and select TIVITY File and click the plus icon.

On the next window in the Common Tab, we need to set the Field for the Tivity File to Instance (Ref) and the link between the two classes is represented by YourClass.Id ↔ TIVITY File.Instance (Ref). Since we want the link to be bidirectional, we check Is Source for both classes.

In the Advanced Tab, we set the Controller as Default and the Type as OneToMany

With this part done, we can move on to the next chapter!

➕
Adding Tivity File Class to our application
Creating a link to the TIVITY File
TiIVITY File link Properties