Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment URL Binding #8807

Open
Rory-Powell opened this issue Nov 25, 2022 · 3 comments
Open

Attachment URL Binding #8807

Rory-Powell opened this issue Nov 25, 2022 · 3 comments
Labels
enhancement New feature or request short-term

Comments

@Rory-Powell
Copy link
Contributor

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.

@Rory-Powell Rory-Powell added the enhancement New feature or request label Nov 25, 2022
@stale
Copy link

stale bot commented Feb 2, 2023

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

@stale stale bot added the stale label Feb 2, 2023
@stale stale bot removed the stale label Apr 19, 2023
@KenyOS
Copy link

KenyOS commented Apr 27, 2023

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

@ConorWebb96
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request short-term
Projects
None yet
Development

No branches or pull requests

4 participants