View Article

Add a Property to the Entity

By Xelence Documentation posted 05-28-2021 15:17

  

Introduction

If an entity is based on a table, Xelence pulls all the columns from the table the entity is based on and maps them to attributes. Xelence calls those columns wherever your project refers to the attributes.

If you have a property you want to be able to refer to on the entity like you can refer to a table column, you can create a property for it.

Prerequisites

  • The entity must already exist.
  • No property with the same name may exist.
Quick Steps
1 Search for and open the entity
2 Open the Attributes section
3 Open the Property section, then add a property
4 Enter the property details, then click OK
5 Save the entity

Detailed Steps

Step 1. Search for and open the entity.

 

Step 2. Open the Attributes section.

The Attributes section is where you can add/modify any attribute. 



Step 3. Open the Property section, then add a property.

The Property section is where you can view, add, and modify custom properties in the entity. In the Property section, click the + icon to add a new property.



Step 4. Enter the property details, then click OK.

The important properties are:

  • Name (ID): Programmatic ID of the property.
  • Description: You can add a description for the property (if it requires any explanation).
  • Data Type: Defines the values the property can take.
  • Caption: Text that Xelence will use as a label for the property whenever the user refers to the property in a form.
  • Access Modifier: Specifies the level of accessibility of the property.
Access Modifier options are:

Public: Any entity can access this property.
Private: Only this entity can access this property.
Protected: Only this entity and any child entity can access this property.


Step 5. Save the entity.

Click the icon to save your entity file.



What are the improvements over S3 Version 6?

The process is identical.


Related Articles

Update a Property in the Entity


This post is part of the Entity topic. Click here to open the Entity Overview.


#Xelence
#Entity

0 comments
107 views