Create an Entity type
Learn how to create a new entity type.
Watch this video to learn to create an entity type.
To create a new entity type:
- From the Applications menu,select Console.
- In the Console,select Data Modeler.
- In the left navigation pane, select Entity types. You will see the existing entity types on the right pane.
- Click CREATE NEW to create a new entity type. You will see the Add entity type page.
- To add an icon as the image to the entity that you are creating, select the edit (pen) icon on the image on the left. You can choose an icon from the ICON tab.
In addition, you can choose a color from the color palette provided in the COLOR tab to change the background color of your icon.
Click SELECT to apply your selection.
In addition, you can choose a color from the color palette provided in the COLOR tab to change the background color of your icon.
Note: After you have added an icon, you can click the remove icon () (cross symbol) on the image to remove the selected image. The selected icon is removed and the first character of the Display Name is shown as the image, by default.
- In the Name field, enter a unique name which is used in the URI that is the path to reach the entity type. For example: SalesDept. The URI for creating an entity type is
configuration/entityTypes/
.Tip: As a best practice, do not use special characters and spaces while creating entity types. - In Display Name, enter a name that would identify your entity type in the user interface. For example: Sales. Note: If you had not selected an icon earlier, the first character of the Display Name is shown as the image, by default.
- Optionally, in the Inherited abstract entity type field, select the entity type that your new entity is based on. An Abstract entity type can be further expanded upon, if needed. For example, the Sales entity type could be a type of organization abstract entity.
- Select the Abstract Entity Type option to make this entity type an Abstract Entity Type that could be useful for creating other entity types.
- In the Data label pattern field, enter the pattern that is used to build the entity object label.
- Click More options. Optionally, you can specify the Secondary label pattern, any other attributes to be displayed in the Search Results and Profile pages as Business card attributes, and a Description for the entity type that you are creating.You can choose to save the details and add the attribute details at a later stage. Alternatively, you can go on to add the attributes for the entity type as the next step. To do so, click the SAVE AND ADD ATTRIBUTE button. The Create a new attribute page appears. To learn more about adding attributes, see Create an attribute.
The new entity type is added to the Entity types page. If there are any validation errors or warnings in the details of the entity type, a small triangle is displayed on the entity type.
- Click Save.