how do i pass a parameter in builder to a modal or another page(via url slug) and how to use it on that destination ?
e.g. if i am passing productid to url like mysite.com/productdetails/id=“productid” then how to use that parameter in API calls where Builder allows CORS enabled JSON endpoints. To get something like, api.mydatabase.com/tableproducts/{“productid”} and to get this parameter “productid” from the url slug, how to do this with 1. passing to another page and fetching it there 2. passing it to a modal and fetching it there.
If you are using react-based integration then you can pass data and functions down to the Builder component to use in the UIs (e.g. bind data values to UIs e.g. for text values or iterating over lists, and actions to trigger for instance on click of a button)
All data passed down is available in Builder actions and bindings as state.*, for instance in the below example state.products, etc will be available