Open url with parameter from table

How can i create a button that will open a url (let’s say example.com) with a paramter (let’s say example.com&param=x) where x is the value of a specific column of this row?

Hey Ben!

Welcome to the Coda community!

You can do that using your concatenate() or format() formulas. For example, you could do:

openWindow(format("{1}&param={2}" , thisRow.URL, thisRow.valueForParameter))

You can of course change that around in any way that you need to accommodate your specific use case.
concatenate() would look similar:

openWindow(concatenate(example.com&param=,thisRow.valueForParam))

Reach out if you need any more help or clarification!

2 Likes

Thank you very much! i wasn’t able to implement it, but i guess i will have to learn formulas first, it’s still like Chinese for me :slight_smile: Any simple resource for learning the basics?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.