baseless
Fieldproxy Documentation
Page

icon picker
Page State & Query Params

Page State

Page state is data that is associated with a particular page in a web application. It is not saved when you refresh the page, so you will lose any filters or other changes that you made.
To create a page state:
Enter a name for the state.
image (45).png
In the "Default Value" (Optional) field, enter the default value that you want to use for the parameter.
image (46).png

Click the "Create" button.
Page state do's and don'ts:
Do's:
Use page state to store data that is specific to the current page and will be lost when the page is refreshed.
Use page state to improve the performance of your web application.
Use page state to store temporary data that does not need to be persisted across pages.
Don'ts:
Do not use page state to store data that needs to be persisted across pages.

Query Params

Query params are a way to pass data between pages. Page params are visible in the URL and can be used to retrieve the data when the user arrives at the next page.
Query params are parameters that are passed to a page when it is loaded. They are saved when you refresh the page, so any filters or other changes that you made will be preserved.
To create a page param:
Enter a name for the param.
image (47).png
In the "Default Value" (Optional) field, enter the default value that you want to use for the parameter.
Click the "Create" button.
Page parameter do's and don'ts:
Do's:
Use page parameters to pass data between pages in your application.
Use page parameters to filter or sort data on same page.
Use page parameters to customize the content of a page for a specific user.
Use page parameters to persist data across page refreshes, if the data is not sensitive and the amount of data is small.
Don'ts:
Do not use page parameters to store sensitive data, as it is visible in the URL.
Comparison
Feature
Page state
Query params
1
Can be navigated from one page to another
No
Yes
2
Visible in the URL
No
Yes
3
Best used for
Storing data that is specific to the current page
Passing data between pages
There are no rows in this table

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.