Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In noKodr, Events are used to facilitate communication between different layouts. Users can create multiple events tailored to specific scenarios, allowing one layout to trigger actions or send data to another layout. This feature enables seamless interaction and coordination between layouts, enhancing the overall functionality of the application.

...

Note: You may encounter precreated events within the system. These prebuilt events are locked, meaning they cannot be modified or deleted. They are provided as reference points to assist you in creating new events. You can use these precreated events as templates, making necessary modifications to fit your requirements.

Key Features of Events

  • Triggering Actions: Events can be set to trigger actions like updating fields, displaying messages, or navigating between layouts when a specific user action occurs, such as a button click or form submission.

  • Workflow Integration: Events can be integrated with workflows to automate complex processes, like sending notifications, updating records, or executing logic based on user input or system changes.

  • Inter-Component Communication: Events enable different layouts to communicate and react to each other, such as updating one component based on changes in another.

...

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#DEEBFF#F4F5F7

For Exampleexample,

Use Case: Automatically Updating a Related Layout

Scenario: Suppose you have two layouts in noKodr—a Customer Details layout and an Order Summary layout. When a user updates the customer's shipping address in the Customer Details layout, you want the Order Summary layout to automatically refresh and display the updated shipping address.

Solution:

  1. Create an Event: Set up an event in the Customer Details layout that triggers when the shipping address field is updated.

  2. Pass Data: Use the '+' button to pass the updated shipping address data through the event to the Order Summary layout.

  3. Update the Layout: The event triggers the Order Summary layout to refresh, ensuring that the new shipping address is displayed without requiring manual updates.

This use case demonstrates how events in noKodr can be used to synchronize data between layouts, improving workflow efficiency and ensuring consistency across different parts of the application.