Versions Compared

Key

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

...

  • 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.

Event Config

...

Field name

Description

Label

A user-friendly name for the variable, used for easy identification within the application.

Name

The unique identifier for the variable, typically used in code or within merge text.

Event Variables

By clicking on the '+' button in noKodr, you can pass values or data through events into another layout.

Info

Reference: Event Variable Config

...

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

For example,

Use Case: Automatically Updating a Related Layout

Scenario: Suppose you have two layouts in noKodr—a 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.