Delete Entity Value

Delete Entity Value

Kuika's Delete Entity Value action is used to delete a registered attribute value (entity value) belonging to a specific entity from the system. This process completely removes the relevant data record, enabling the cleaning of dynamic data structures and the archiving of unnecessary data.

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.

The deletion process cannot be undone; therefore, it is recommended to use it with caution on critical data.

Technical Specifications

  • Delete Entity Value (EAV Panel): The Delete Entity Value action works with the following required parameters:
    • EntityId (Guid - Required): The unique ID of the entity to be deleted.
    • EntityValueId (Guid - Required): The unique identifier of the attribute value (entity value) to be deleted.
  • Data Source Compatibility: Parameters can be obtained from the following sources via the Symbol Picker:
    • Form Component
    • Select Box / Fixed
    • Action Result
    • Current
  • Web & Mobile Support: The Delete Entity Value action works in both web and mobile applications.
Delete Entity Value Action Application Steps

1. Selecting the Value to be Deleted

  • The entity value to be deleted is selected in the UI (e.g. from a table or list).

2. Defining the Action

  • The following action is added to the ‘Delete’ button:
    • + ADD ACTION > OnClick > EAV > Entity Value > Delete Entity Value
  • Parameters are set as follows:
  • EntityId: Symbol Picker > Component / Select Box
  • EntityValueId: Symbol Picker > Component / Action Result

3. Operation Result

  • If the deletion is successful, a confirmation message can be displayed to the user (Show Toast).
  • The list or form is reloaded with the updated data.
  • Deleted data cannot be recovered; the user should be warned.
Usage Scenario: Deleting Customer Custom Field Data

In a CRM application, a user wants to delete a specific attribute value (e.g., ‘Old Phone Number’) for a customer:

  1. The user selects the customer record.
  2. They select the attribute value they want to delete from the list.
  3. They click the ‘Delete’ button.
  4. The Delete Entity Value action runs and the data is permanently removed from the system.
Delete Entity Value Action Advanced Customisations
  • Bulk Deletion: Bulk deletion can be performed by sending multiple entity value IDs at the same time.
  • Conditional Deletion: The deletion process can be restricted based on user permissions.
  • Confirmation Dialogs: Confirmation can be requested from the user before deletion.
  • Logging and Tracking: Deleted records can be logged in the system logs.

Technical Risks

  • Incorrect Data Loss: Incorrect use of EntityValueId may result in the deletion of critical data.
  • Dependencies: Errors may occur if the deleted data is referenced by other system components.
  • Irreversibility: The operation is permanent, there is no rollback mechanism.

The Delete Entity Value action enables the secure and controlled deletion of data stored in the EAV model on the Kuika platform. It is an important part of data cleansing and updating processes in applications that require dynamic data management.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar