Write To Session Storage Action Application Steps

1. Define the Action in UI Design

  • Log in to the Kuika platform.
  • Apps screen, open your project.
  • Go to the UI Design module.
  • Select the component to which you want to add the action (e.g., a button).
  • In the Properties panel on the right, select the Local Storage → Write To Session Storage action from the ADD ACTION menu according to the trigger event (Initial Actions, OnClick, OnBlur, etc.).

2. Configure Action Parameters

  • Key (String – Required):
    • The name of the data to be stored in session storage.
    • This key is used with the Read From Session Storage action to access the relevant data.
    • Example: “currentStep”, “formStatus”.
  • Value (String/Number/JSON – Required):
    • The data to be stored during the session.
    • Example: “step3”, user.id, JSON.stringify (lang: ‘tr’, theme: “dark”).