Skip to content

Query Manager — Reference

Reference · Advanced · App Connect

Read and update state represented in the page’s URL query string.

Read and update state represented in the page’s URL query string.

  • An App Connect page with the State Management component included. Use a dedicated test key for experiments.

Read and update state represented in the page’s URL query string.

Part Meaning
IDThe component name, for example queryState.
Define Query ParamsDeclares parameter names for the editor’s pickers. It does not add them to the address bar.
ValuesRead queryState.data.name. Parsed query values are strings, including numeric-looking values such as page=2.
Set: Name / ValueSets or replaces a query value and uses browser history navigation to update the URL. For example, Set page to 2 gives a query parameter rather than changing a database record.
RemoveRemoves the named parameter. The installed implementation checks the existing value for truthiness, so a parameter with an empty value can remain; verify the actual URL.
Remove AllClears the query parameters while preserving the URL’s other parts. Use it only when removing all current query state is intended.

Read a page with ?page=2 and confirm queryState.data.page is the string ‘2’. Set a search parameter to Notebook and verify the address bar and binding. Remove that non-empty search parameter, then reload/bookmark the URL to check which state it preserves.

Query values are visible, editable and shareable. Convert numeric values deliberately and validate any values used by the server. A query-manager update does not itself perform an API request; the relevant component or event must use that query state.

Compare URL, cookie, session and local state before choosing where application data belongs. Browser state never replaces server-side access checks.

You can use the correct data path, configure a value and verify the storage/removal scope.