Skip to content

Understanding App Model: A Complete Overview

Understanding App Model: A Complete Overview

Codeless ONE is a platform that helps businesses and organizations manage their data more efficiently. One of the key features of this platform is the ability to create customized apps that meet specific needs. These apps collect and display data using visual elements such as cards, tables, and calendars.
This article will focus on the App Model, which is the backend section of the platform. The App Model allows you to view and update your application’s Schema.
Play Video
Click on the App Settings button on the top banner of your selected application.
Select the Application settings, redirecting you to the App settings page.
Once there, click on the App Model to view your App schema.

Understanding the App Schema

The App schema includes Objects, Properties, Object Relations, Roles, and Portals, which are all vital for customizing and optimizing your App according to your specific requirements.
Let us dive deeper into how data organization is achieved in Codeless ONE.
In Codeless ONE, each data item you store and manage is called a Property, and similar properties are grouped into Objects. This method is like an Excel spreadsheet, where objects are individual sheets, and properties are columns with records as rows.
For instance, an Account Object would have properties such as Account Name, Email, Phone Number, and Account Size, whereas a Sales Order Object would have Sales ID, Qty Sold, Total Amount, Date, and Payment Status as its properties.
Properties can be of different types, such as text, number, dropdown, email, link, rich text, and more. These types determine how you view your data and use the property in your App.
In the right section of your App Model, you can find Object, Object Relations, Roles, and Portals, which are the four components of your App Schema.

Navigating Objects and Properties

The Object tab is selected by Default on selecting the App Model, allowing you to create new objects and edit or delete existing objects.
To access properties, select the Object for which you wish to view properties.
Then, the System displays all the properties created for that Object, where you can create new properties and edit or delete existing properties.

Establishing Connections Between Your Data

An application’s true strength lies in establishing relationships linking various data. However, you cannot define all the items related to an object in its properties.
In most Apps, different objects are associated with each other, and this relationship is defined using “Object Relations.”
Object Relations depict how two objects are related to each other.
You can link the objects to one another via three cardinalities: One to One, One to Many, and Many to Many.
One-to-One: In this Cardinality, One Employee can be linked to one Department, and One Department can be related to one Employee.
One to Many: One Employee can be linked to many Departments, and One Department can be linked to One Employee.
Many To Many: One Employee can be linked to many departments, and One Department can be linked to many Employees.
Codeless ONE makes connections easy. You don’t need to worry about mapping and managing properties.
For example,
Many tasks can be linked to one project.
One product can be related to many sales orders.
Many accounts can be linked to many training sessions.
One Employee can be linked to one Department.
To view the Exiting Object Relations or to create, edit or delete any existing relation, click the “Object relation” Tab. The System will display all the existing relations and lets you create new relations that suit your application needs.

Super App Portals

Portals are clusters of an application where different teams, customers, or suppliers can manage various aspects of the business collaboratively and interconnectedly.
What are Portals?
A Portal is a designated area in your application where specific data is displayed to a specific set of users.
Think of it as a window to your App where a group of people can access and manage their data. For instance, one team performs only HR tasks related to a Project. Therefore, related Objects will be selected and displayed in that Portal. On the other hand, another team takes care of the Projects, Tasks, and Milestones. Therefore, associated Objects will be selected and displayed in that Portal. Creating designated portals for each team would simplify their work and enhance collaboration.
To view the Exiting Portals or to create, edit or delete any existing Portals, click the “Portals” Tab.
The System will display all the existing Portals and lets you create Portals that suit your application needs.
By Default, the System creates a “Default Portal” where all the objects created for the application will be automatically selected and displayed.
How Can Portals Be Used in Codeless ONE?
Codeless ONE allows you to create customized portals that fit your specific needs. For instance, you can create a Portal for HR tasks, Project Management, Sales, or any other aspect of your business. Each Portal can have different Objects and layouts specific to the team or user accessing it. By creating designated Portals for each team or user, you can ensure everyone can access the specific data they need to perform their tasks.

Roles and Permissions

Enterprise admins can create custom roles to suit a team member’s job title, department, or any other relevant criteria and then assign specific permissions for that role. This feature was designed to optimize the efficient management of an account while ensuring that employees have the appropriate level of autonomy within their area of responsibility.
The System generates three default Roles:
• Admin
• Contributor, and
• Guest
Click the Role tab to modify Roles and Permissions and establish new roles.
Codeless ONE is an excellent tool for efficient data management. The App Model allows users to create customized apps and view their application schema, enabling effective data organization. Users can also link different data types using object relations and portals to cater to specific teams or users. This way, Codeless ONE helps streamline data management processes and enhances collaboration among team members.