An attribute is piece of information which determines the properties of a field. This section covers how to create an attribute on Chakra
There are two types of attribute which can be created on chakra
attribute type | description |
---|---|
Name | |
Phone | |
String | |
Number | |
Text Area | |
Datetime | |
Integer | |
Float | |
Date | |
String Enum | |
Photo | |
Document | |
String Id | |
State | |
Decimal | |
Month Of Year | |
Process Collection | |
Task Collection | |
Multi String | |
User | |
Record | |
OTP | |
Text | |
Boolean | |
URL | |
Float Enum | |
Multi Integer Enum | |
Process | |
HTML | |
Geolocation | |
Time | |
Username | |
Integer Enum | |
Json | |
Status | |
DatetimeISO | |
Multiphotos | |
Integer Id | |
Audio | |
Google Address | |
Multi Documents | |
Task | |
Record Collection | |
Multi Float Enum | |
External Object | |
Multi External Object | |
Custom Object | |
Multi Custom Object |
Example of standard attribute:
City names stored in the standard attribute in a form of options using stringEnum datatype
Example of a derived attribute
Suppose we want to calculate the lead score depending on some standard attributes through some a script. Then we will create a derived attribute with type as script and add the required script for the lead score calculation.
We can create a standard attribute by following the below steps:
Editing the attribute may include adding a option in any string enum attribute or changing the name of the attribute or changing the script or formula of the derived attribute. The shortId of the attribute cannot be changed via self serve:
The changes will get update in the attribute
NOTE: The shortId and the Attribute Type of any attribute cannot be changed