Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    JobNimbus

    Unify Integrations

    Integrate your application with JobNimbus to manage leads, track jobs, and streamline your workflow processes efficiently

  3. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  4. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  5. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  6. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  7. unify-apps

    Filters

    Unify Applications

    Enable users to refine, search, and sort data effortlessly across dashboards and datasets

  8. unify-apps

    Insided

    Unify Integrations

    Integrate your app with Insided to enhance customer engagement, streamline community management, and drive self-service support.

  9. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  10. unify-apps

    Gainsight

    Unify Integrations

    Integrate your app with Gainsight to enhance customer success, automate engagement workflows, and drive retention

  11. unify-apps

    Livestorm

    Unify Integrations

    Integrate your app with Livestorm to streamline webinar hosting, automate event management, and enhance audience engagement.

  12. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  13. unify-apps

    Pipeline CRM

    Unify Integrations

    Integrate your app with Pipeline CRM to streamline sales processes, automate lead management, and enhance customer relationships

  14. unify-apps

    Cognito Forms

    Unify Integrations

    Integrate your app with Cognito Forms to create custom forms, automate data collection, and streamline workflows

  15. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  16. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  17. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  18. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

#
Platform Tools
Logo
Create your first Object

Create your first Object

Logo

6 mins READ

How to Create an Object?

Let's create an object from scratch.

  1. Click on New Object to start creating an object. A modal should open up, asking for basic information regarding the object.

    Image
    Image

  2. Fill in the plural and singular names for your object. Also, select the data storage mechanism type based on your needs. The available options are JSON store, Blob store, Key-value store, Event store, and Blob store. Each of these is explained in a later section.

  3. Click on Create, and you'll be taken to the landing page of your object, where you can design the schema of your object and enable additional configurations in settings.

Setting up your Schema

  • You can add fields to your object's schema in bulk by pasting a sample JSON. Additionally, you can modify your schema by adding fields one by one.

    Image
    Image
  • Once you click on Add Fields, a modal opens up, prompting you to describe the nature of your new field. You'll be required to set the following parameters:

Parameter

Description

Key

The unique identifier for the field within the object.

Label

A human-readable name for the field.

Field Type

Specifies the data type of the field, which can be number, string, etc.

Help Text

A brief explanation for users about the field's expected input.

Default Value

The value is automatically assigned to this field when creating a new record if no other value is provided.

Nest Under

Allows for hierarchical data structuring by making this field a sub-field.

Is Optional

When checked, it indicates that the field is not required and can be left empty.

Primary Key

When checked, this field is designated as the unique identifier for each record in the object.

  • You can also use advanced settings to customise field behaviour, enhance security, and control data visibility and accessibility. The following are the available parameters:

Parameter

Description

Enable Hashing

When checked, this option securely hashes and stores the data.

Secure Field

This option allows data to be stored in an encrypted format.

Display Name

It allows the field's content to be visible when viewing associated data across the system.

Enable Search Functionality

This option permits searching in this field.

Enable Sorting

Allows sorting of records based on this field.

Enable Filtering

This option allows the filtering of records using this field.

Control Visibility

This toggle switch activates a set of customisable conditions to control the visibility of this field.

  • Once you have added all the required fields, click save. The schema can be modified later at a later point in time.

Import Records

  • You can easily bulk-add records to your object using the import feature to save time and effort.

  • Click on Import from the object landing page, and a modal will appear where you can upload csv, xlsx or xls file types.

  • Once you upload a file, click Review Data to map your file's fields with the corresponding fields in your object. If the field names in your file match that of the object, then it should already come pre-mapped, and you can just crosscheck once.

  • Once the fields have been mapped, click on confirm, and your records should reflect in your object.

Export Records

  • You can easily export records in various file formats using the export feature to extract data from your object.

  • Click on Export from the object landing page, and a dropdown will appear where you can select your preferred export format from csv, xlsx, or xls.

  • You can choose to export either all records or filtered records based on your current view or search criteria.

  • The export will be processed in the background for large datasets, and you'll receive a notification when your file is ready to download.

  • Exported files maintain field names and data types as defined in your object, making reimport easy.

  • In your application builder, set up a data source which fetches records from your object using Storage by UnifyApps.

Types of Data Stores

There are five types of data stores, each with its capabilities and use cases.

  • JSON Store: Used to store data in JSON format. Typically implemented using DocumentDB or MongoDB, depending on the cloud provider. This is the most common way of storing data in objects.

  • Blob Store: Primarily used for large unstructured data like files or images. Implemented using services like S3 in AWS or equivalent services in other cloud providers (like Google Cloud Storage in GCP or Azure Blob Storage).

  • Key Value Store: Used to store simple key-value pair data. Typically implemented using Redis, offering fast access and caching capabilities.

  • Event Store: Stores time-series data or event logs. Implemented using Apache Kafka, enabling real-time event streaming and processing.

  • Vector Store: Used for storing and querying vector embeddings, often used in machine learning applications. Typically implemented using OpenSearch, enabling efficient similarity searches.

Types of Fields

Field Type

Description

Example use cases

String

Used for storing text-based data

Names, descriptions, addresses

Number

Used for storing floating number data

Prices, measurements and percentages

Integer

Used for storing non-decimal numbers

Age, count and quantity

Auto Number

Automatically generated sequential numbers

Ticket IDs and reference numbers

Boolean

Used for storing true/false values

is_active, is_completed and has_subscription

Date

Used for storing dates as epochs

Birth date and expiry date

Date Time

Used for storing data and time combined as epochs

Modified time and event timings

Single Select Dropdown

Used for selecting a single option from either a static or lookup list

Status, category and priority

Multi Select Dropdown

Used for selecting multiple options from either a static or lookup list

Tags, categories and preferences

Object

Used for complex data structures comprising multiple fields nested inside them

Employee details and other nested structures

Array

Used for storing a list of values of the same type

Phone numbers and email addresses

File

Used for storing file attachments

Documents, images and attachments

Lookups

Lookups allow you to reference data from other objects in your current object, creating relationships between different data sets. Here's how to set up and use lookups:

  • When creating a Single Select or Multi Select Dropdown field, you can choose 'Lookup' as the source of options instead of a static list.

  • Select the target object from which you want to look up data. The field used to join the two objects must be a primary key in your lookup object.

    Image
    Image

  • In your lookup object, set the field you want to act as a display name by ticking the display name checkbox in the edit field modal.

  • Now, you can access data from your secondary object, thus enabling you to create cleaner and non-repetitive objects.