I’m wondering if it’s possible to have dynamic URL for a button. Currently I made some workarounds with the List block or with a form and webhook with MADE.
But I’m wondering if there is an easier solution? Simply put, I just need a button and when you click it, it opens a dynamic URL based on the user (the custom URL is already created in airtable).
but only if you use an action button (open url) in a list details block. That way it can point towards the URL in the airtable record. Would this work?
Yes, you can do exactly what you asked for with either a static block or a custom code-centered button.
You’ll need to populate the URL data from the active record or the user’s session, and then replace the “#” URL in your button with the dynamic URL using a touch of JavaScript.
If the destination URL is not at the user’s session level (user’s table) but at the record level, make sure to add a block that displays this destination URL, and then keep it hidden from your users. Internally, you can use JavaScript to map that data to your custom button URL.