Delete Attribute

Delete Attribute

Kuika's Delete Attribute action is used to delete a previously defined attribute from the system within the EAV (Entity-Attribute-Value) data model. This action facilitates the management of dynamically created fields and allows for the secure removal of attributes that are no longer used or incorrectly defined from the system.

This action is currently available in Beta and is still under development. Careful testing is recommended before use in a production environment.

Technical Specifications

  • Delete Attribute (EAV Panel): The Delete Attribute action removes an existing attribute from the system with the following required parameter:
    • Id (Guid - Required): The unique ID of the attribute to be deleted in the system (attribute ID). This field must be defined correctly and belong to the attribute to be deleted.
  • Data Source Compatibility: The Id parameter can be dynamically or statically determined from the following sources via the Symbol Picker in Kuika:
    • Action Result
    • Screen Input
    • Form Component
    • Current
    • Fixed
  • Web & Mobile Support: The Delete Attribute action works in both web and mobile app scenarios.
Delete Attribute Action Application Steps

1. Define the Action in UI Design

  • Open your project on the Kuika platform.
  • Go to the UI Design module.
  • Select the screen where you want to delete the attribute.
  • For example, create a button named “Delete Field.”
  • To make it work when clicked: + ADD ACTION > OnClick > EAV > Attribute > Delete Attribute action.

2. Configure the Action Parameter

  • Id: Symbol Picker > Component > Select Box or Text Input, Fixed or Action Result can be specified from sources such as.

3. Removing the Attribute from the System

The attribute with the specified ID is permanently deleted from the system. As a result of this operation, the relevant attribute no longer exists in the application or database. If there is data associated with the attribute, the system behavior may vary depending on the version and configuration (e.g., data cleanup or dependency checking).

Usage Scenario: Deleting User-Defined Fields

In an admin panel, a list of user-defined fields is displayed. An admin wants to delete a field that is no longer in use. For this scenario, each field has a “Delete” button next to it, and the relevant attribute ID is linked to this button.

  • Id: 123e4567-e89b-12d3-a456-426614174000

When this button is clicked, the relevant attribute is removed from the system.

Delete Attribute Action Advanced Customizations
  • Conditional Deletion: The attribute deletion process can be performed for specific user roles (e.g., only admin) or after approval is received.
  • Approval Dialog: Since the deletion process cannot be undone, a modal or alert window can be displayed to obtain approval from the user.
  • Dependency Check: If there is data linked to the attribute to be deleted, a pre-check can be performed or the user can be notified.

Technical Risks

  • Invalid or Missing ID: The system may encounter an error or the expected action may not be performed if an incorrect or empty ID value is entered.
  • Data Loss: Historical data associated with the deleted attribute may be permanently lost from the system. Therefore, the consequences of the deletion should be clearly communicated to the user.
  • Beta Version Risk: The action is still in beta; unexpected results may occur in some system scenarios.

The Delete Attribute action is a practical tool used in the Kuika platform to manage dynamic data models in a clean and controlled manner. The management of user-defined fields is important for the sustainability of the application. Although it is in beta, when carefully configured, it can significantly improve the user experience and data management.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar