Delete Entity

Delete Entity

Kuika's Delete Entity action deletes an entity (entity) defined in the EAV (Entity-Attribute-Value) structure from the system. This action is used to clean up entities that are no longer used or incorrectly defined. It is an ideal operation, especially in management panels or dynamic form management screens.

This action is currently available in beta version and is still under development. It is recommended to test it carefully before using it in a production environment.

This operation is irreversible. Attributes and form relationships associated with the entity may also be affected. Care should be taken and necessary checks should be performed before using this action in a production environment.

Technical Specifications

  • Delete Entity (EAV Panel): The Delete Entity action works with the following single required parameter:
    • Id (Guid - Required): The unique ID of the entity to be deleted in the system. This ID can be specified as fixed or dynamic via the Symbol Picker.
  • Data Source Compatibility: The Id parameter can be taken from the following sources:
    • Symbol Picker > Fixed (fixed GUID)
    • Symbol Picker > Form Component / Select Box / Current / Action Result (dynamic selection)
  • Web & Mobile Support: The Delete Entity action works on both web and mobile applications.
Delete Entity Action Application Steps

1. Selection Area in the User Interface

  • A list or Select Box is created for the user to select the entity they want to delete.
  • The ID information of the selected entity is stored.

2. Defining the Delete Action

  • A button named ‘Delete’ is added.
  • When this button is clicked, the following action is added:
    • + ADD ACTION > OnClick > EAV > Entity > Delete Entity
  • Id: Configured as Symbol Picker > Form Component or Fixed.

3. Post-Action

  • When the action is completed:
    • The list can be updated (Refresh Data)
    • A message can be displayed to the user (Show Toast)
    • The user can be redirected to another page (Navigate)
Usage Scenario: Deleting Entities from the Administrator Panel

In an application's administrator panel, the system administrator wants to delete old or unnecessary entity records.

  1. The administrator selects a record from the entity list.
  2. They click the ‘Delete’ button.
  3. The Delete Entity action is executed with the ID of the selected entity.
  4. If the action is successful, the list is refreshed and the message ‘Entity successfully deleted’ is displayed to the user.

Delete Entity Action Technical Risks
  • Invalid or Missing ID: If the ID field is empty or invalid, the action fails.
  • Related Data: If there are attributes associated with the entity, these relationships may be affected. This should be taken into account before deleting.
  • Authorisation Control: This action should generally only be accessible to authorised users.

The Delete Entity action is one of the basic operations used to make entity management sustainable and organised on the Kuika platform. When configured correctly, it ensures that unnecessary definitions are cleaned up and the form infrastructure is simplified.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar