--- title: "Reload element data" slug: "freaction-reload-data" updated: 2026-05-05T07:52:55Z published: 2026-05-05T07:52:55Z canonical: "docs.lobstersoftware.com/freaction-reload-data" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Reload element data > [!NOTE] > **Actions – Abstract** > > The [Reload element data](/v1/docs/en/freaction-reload-data) action updates the data in the linked **Target element** with a possibly changed state in the background (e.g. via [Client Workflow](/v1/docs/en/frebehav-client-workflow)). The [Reload element data](/v1/docs/en/freaction-reload-data) action updates the data in the linked **Target element** with a possibly changed state in the background (e.g. via [Client Workflow](/v1/docs/en/frebehav-client-workflow)). ![images/download/attachments/189432818/image-2024-10-7_12-25-31-version-1-modificationdate-1728296731345-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-7_12-25-31-version-1-modificationdate-1728296731345-api-v2.png) - The action appears under **Action type** only if a **Target element** is already linked. ## Example A portal compiles certain information about the current session in a [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) container that is to appear as a "footer" embedded in other forms (see [Embed forms (Sub-forms)](/v1/docs/en/fre-embedded-forms)). At runtime, a [Check box](/v1/docs/en/fre-check-box-vo) element in the footer should allow a selection as to whether the ID or the name should be displayed for the [Role of session](/v1/docs/en/base-session-role-value) and the [User of session](/v1/docs/en/base-session-user-value). Runtime example: | Mode | View at runtime | | --- | --- | | **Display of name** (default) (Checkbox "Display IDs?" blank) | ![images/download/attachments/189432818/image2020-6-26_18-42-40-version-1-modificationdate-1728296571533-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-6-26_18-42-40-version-1-modificationdate-1728296571533-api-v2.png) | | **Display of IDs** (Checkbox "Display IDs?" set) | ![images/download/attachments/189432818/image2020-6-26_18-43-23-version-1-modificationdate-1728296571535-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-6-26_18-43-23-version-1-modificationdate-1728296571535-api-v2.png) | Configuration: ![images/download/attachments/189432818/image2020-6-26_18-44-24-version-1-modificationdate-1728296571538-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-6-26_18-44-24-version-1-modificationdate-1728296571538-api-v2.png) - The hierarchy in the **Tree View** (left) illustrates the hierarchy in the [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) container "Session details", which contains the [Text field](/v1/docs/en/custom-custom-text-field) elements "Client/User agent" and "Host", and combines the fields "Role of session" (*here*: data field `role`) and "User of session" (*here:* data field `user`) in a child [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) "Login". - In the layout, the [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) container "Login" appears highlighted with a green frame. Next to it, the [Check box](/v1/docs/en/fre-check-box-vo) "Show IDs?" is marked with a red frame. | ![images/download/attachments/189432818/image-2024-10-7_15-20-1-version-1-modificationdate-1728307201421-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-7_15-20-1-version-1-modificationdate-1728307201421-api-v2.png) | For the [Check box](/v1/docs/en/fre-check-box-vo) "Show IDs?" the behavior shown on the left is configured, which controls the switching for the display in the fields "Role of session" and "User of session": - The behavior reacts to the **Triggering event** [Changed](/v1/docs/en/fretrigger-changed) with the **Change type** "Exclusively by user". Since the data field for the checkbox is set to "Skip", other change types are not relevant here. --- - The **Behavior** **type** [Client Workflow](/v1/docs/en/frebehav-client-workflow) receives (by default) the `$input` as a `value` variable. The **Triggering event** [Changed](/v1/docs/en/fretrigger-changed) returns the value `true` if the checkbox was set, otherwise it returns `false`. The workflow (see below) can use this variable to distinguish which data is displayed. --- - The element link to the [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) "Session details" transfers the data of the entire container to the workflow via the predefined variable `formData`. --- - The **Actions on "true"** are executed if the workflow is executed without errors (i.e. without being terminated by a [Abort](/v1/docs/en/core-abort-actor)). Here the action [Reload element data](/v1/docs/en/freaction-reload-data) is executed with the [Column layout](/v1/docs/en/fre-row-element-container-vo-column-layout) "Login" (green frame in the layout screenshot above) as a **Target element**. At runtime, only the text fields "Role of session" and "User of session" are updated. This ensures that only the relevant values are transferred to the portal, even if the data of the entire row was transferred to the workflow. --- - There are no **Actions on "false"** because the [Abort](/v1/docs/en/core-abort-actor) is not used in the workflow. | | --- | --- | The workflow itself is accessible via the **Edit** button. It uses a [Static rule](/v1/docs/en/core-static-rule) (with the setting "true"; not in the image) as the only check, so it is always executed: ![images/download/attachments/189432818/image2020-6-26_18-49-41-version-1-modificationdate-1728296571551-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-6-26_18-49-41-version-1-modificationdate-1728296571551-api-v2.png) - The reference to the `formData` variable is established by an [Execute with](/v1/docs/en/core-with-actor) event action. All further [Event actions](/v1/docs/en/core-i-action-actor-configuration) are executed in this context. - The case distinction via [If then else](/v1/docs/en/core-if-then-else-actor) event action checks the state of the checkbox "Show IDs?" passed by the variable `value` by means of a [Variable rule](/v1/docs/en/core-storage-string-rule). - If the value is `true`, IDs for user and role should be displayed. The data fields `role` and `user` of the `formData` are then populated by [Set value](/v1/docs/en/core-set-value-actor) with the respective ID values from the "Session information" object, which is provided by the [Session information](/v1/docs/en/core-session-information-resolver) resolver. - If the value is `false`, the names for user and role should be displayed. The data fields `role` and `user` of the `formData` are then populated by [Set value](/v1/docs/en/core-set-value-actor) with the respective field value from the "Session information" object, which is provided by the [Session information](/v1/docs/en/core-session-information-resolver) resolver.