Data Modeler

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

Data modeler is a module that lets end users create a data hierarchy such that it will be stored in the system and can be used in the application. This data can be business related as well as for intermediate calculations. User can create the following:

  1. Entity (Business Object)
  2. Data Model (Business Model)
  3. Enumeration (LOVs) – For LOV elements (Radio Button, Checkbox, LOV Slider, Dropdowns)

Entity

An Entity is a collection of information defined as a single unit. A user can create multiple entities which he/she would like to use in an application. These entities can be as small as a page or complex for an entire journey.

There are two types of user defined entities that are created for an application on Vahana Cloud.

  1. Business Entity (Entity Store) : Business Entity is the core of any application, and all structure of all business-related data will be defined here.
  2. Temporary Entity (Temp Store) : Temporary Entity as the name suggests is used for intermediate calculations and it only persists till the session lasts. These parameters will be used in tasks and events only in vDesigner.

Creating an Entity

  1. Log on to Vahana Cloud & click the 9 Dots icon on the right panel
  2. Click on ?Data Modeler?
  3. Click ?Create Entity?
  4. Enter the following details & click ?Create?
    1. Key*
    2. Name*
    3. Entity Type*
    4. Tags & Description
  1. The entity is created
  2. Double click on the entity to open the JSON editor to edit
  1. Paste the Data Object in the prescribed format. ObjectName = StateMaster
  2. Click Save

Data Model

Data Model is a set of multiple entities such that it covers everything that needs to be defined in an application. One data model is assigned to one micro-application making it a complete pair with frontend and backend content.

Creating a Data Model

  1. Log on to Vahana Cloud & click the 9 Dots icon on the right panel
  2. Click on ?Data Modeler?
  3. Click ?Create Data Model?
  4. Enter the following details & click ?Create?
    1. Key*
    2. Name*
    3. Tags
    4. Description
  1. Data Model is created
  2. Double click on the Data Model
  3. Click ?Link Entity?
  4. Select required Entities from the list
  5. Click ?Link?

Linking an Application to a Data Model

  1. Click on the 9 Dots icon on the right panel & click ?Applications?
  2. Click ?Create App?
  3. Select ?Mobile App?
  4. Enter details & click ?Create?
  5. Once the application is created, double-click on the application & click ?Info?
  6. Go to ?Data Model? section & click on “Link data model”

On the right panel, click ?Link Collection? under ?Collection?

Was this article helpful?
YesNo