You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the initial page load, Pixieapp can take the query parameters from the url and apply them into the pre-defined fields and functions can be also trigged at the page load.
The text was updated successfully, but these errors were encountered:
This feature has been implemented in PR #24 in the following way:
-url parameters can automatically activate a route.
-routes can automatically add parameters to the url by using a special argument: persist_args="true".
For example:
In this case, when the do_search route is activated, it will automatically add query= as url argument. When running in a notebook, the parameter will be added to the cell metadata such that the next time you run the PixieApp, the route will automatically be involved.
One thing to be cautious about when using persist_args="true" is the fact that the default route is not invoked. Therefore, the page will only show the fragment returned by the do_search route. Depending on your requirements, you might want to make sure that the user has a way to go back to the welcome page. Note that the user can simply remove the parameters in the url or in the cell metadata to restore the default behavior.
Feature requirements:
In the initial page load, Pixieapp can take the query parameters from the url and apply them into the pre-defined fields and functions can be also trigged at the page load.
The text was updated successfully, but these errors were encountered: