-
Hi, I've read the instructions but I'm not quite sure how to work with URL variables. My understanding is that I should specify a variable in the URL like this: https://your-budibase-app.com/path-to-page**?parameter1=value1** But how do I access it in Budibase? I want to send an email to a customer and the URL should contain the ticket number, which is then stored in Budibase. It's like asking "How satisfied were you with the ticket handling? And my guess is that this could be accessed via the {{URL.ticketNumber}} function. But nothing is returned :( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @Sagestum The Budibase URL variables are path variables and not query variables. As such they need to be in the format as outlined in the docs: Screen route within the Budibase builder: (Note the colon) Reference the URL variable with the binding: Then use this URL in the app: |
Beta Was this translation helpful? Give feedback.
-
I follow same steps but the records not changed and shown only the last record |
Beta Was this translation helpful? Give feedback.
Hey @Sagestum
The Budibase URL variables are path variables and not query variables.
As such they need to be in the format as outlined in the docs:
Screen route within the Budibase builder: (Note the colon)
https://myapp.com/app/screen/:param1
Reference the URL variable with the binding:
{{ URL.param1 }}
Then use this URL in the app:
https://myapp.com/app/screen/<--the actual value for param1 here-->