Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.3k stars 1.45k forks source link

Attachment URL Binding #8807

Open Rory-Powell opened 1 year ago

Rory-Powell commented 1 year ago

Describe the feature request

Accessing the url of an attachment can be confusing, especially for first time users. Normally we need to use a syntax like:

return $("New Repeater.test.attach")[0].url
{{ New Repeater.test.attach.0.url }}

It's not immediately clear that attachments are always an array, so the user is always forced to use a custom JS or HBS binding to access the url property.

COS

Add a new binding for attachment columns: <Column Name> URL This would auto populate the above bindings, to educate the user on the syntax required. The user is then free to update the index property to get the specific attachment they want, if there are multiple.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

KenyOS commented 1 year ago

Thank you this helped me to create my query against airtable api, but how retrieve multiple attachment url through budibase platform?

ConorWebb96 commented 7 months ago

Having the attachment field bindings shown in formula columns would be helpful for this. Currently you have to free type in order to pull out relevant information using formulas.