Sharing Data Across Pages

The Appsmith platform allows us to share data across pages using URL query params & the browser local storage.

Sharing data via query params

Query params can be passed by adding the query params object to NavigateTo action. To do this click on the JS mode for Action and update it as follows.

{{navigateTo("PageName", {"param": "value"})}}

These can be consumed on the destination page with appsmith.URL.queryParams.param.

Click to expand

Sharing data via local storage

Key value pairs can be stored within the local storage with the help of StoreValue action. To do so pick the StoreValue action and provide the desired key and values. These can be consumed on the destination page with appsmith.store.key

Click to expand