Objects play a crucial role, as they are the building blocks of an Application. Every object has distinct properties, functions, and identities, setting it apart.
Establishing relationships between objects is crucial to defining how they interact.
This is especially important for complex Applications, enhancing efficiency and effectiveness.
With CodelessONE, establishing object relations is straightforward. Let’s guide you through the process:
Add another object called ‘Team Members’. Now, by using object relations, you can easily see which team member is working on which project, and vice versa.
Access the Object Relation Page:
To access the Object Relation Page, navigate to ‘Settings’ at the top left, click on ‘Application Settings’, and select the ‘App Model Tab’.
Dive into the Object Relation Tab Inside the App Model, spot and click on the “Object relation” tab.
Here, you’ll see a neatly laid-out summary of all the relations you’ve pieced together so far.
Choose Your Path – Manual or through Alice AI
Manual Creation:
Click on the “Add New Relation” button at the top, which will usher in the Create Object Relation Form.
Here’s how it flows:
Object Selection: First, pick out the two objects you’re keen on linking.
Determine Cardinality: Cardinality is the essence of your relation.
It answers, “How many?” You have three cardinality types:
One-to-One (1:1): An object links up with just one other object.
One-to-Many (1:N): One object can have links with several other objects.
Many-to-Many (N:M): Multiple objects are intertwined in relations with each other.
Name Your Relation: While the system does suggest a name combining your two objects, feel free to craft one that best describes your relation.
Finalize: Click “Create” to seal the deal.
Tip: If you’re in a flow and want to establish more relations, hit “Create and New” and continue your creation spree.
Method 2: Using Alice AI
Click on the “Alice AI” button.
Alice AI will suggest possible Object Relations based on your App’s objects.
Choose the Object Relations you want to include in your App.
If you need to link a property, tick the checkbox, and pick the desired property for reference.
Note: This is Possible only when the Cardinality is One to Many.
After picking all needed Object Relations, hit the “Add” button”. Your App will now have the chosen relations added.
Update the App Remember, any changes or additions you make won’t take effect until you hit “Update App“. This step is paramount – so don’t skip it!
Crafting object relations might seem technical, but with CodelessONE’s structured Approach, it’s a breeze. Whether you’re hands-on with manual creation or leaning on Alice’s AI capabilities, setting up your App’s framework is both simple and efficient.