8000 🚀 Feature: createFileAttribute required · Issue #5756 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🚀 Feature: createFileAttribute required #5756

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

Open
2 tasks done
TechComet opened this issue Jun 30, 2023 · 3 comments
Open
2 tasks done

🚀 Feature: createFileAttribute required #5756

TechComet opened this issue Jun 30, 2023 · 3 comments
Labels
enhancement New feature or request product / databases Fixes and upgrades for the Appwrite Database. product / storage Fixes and upgrades for the Appwrite Storage.

Comments

@TechComet
Copy link

🔖 Feature description

createFileAttribute

attribute provides a way of setting the upload directory and file name

It's attribute relationship in database collections for files

🎤 Pitch

easy method to upload files (field have file path)

Look at the documentation Django offers something similar to make application development easier

https://docs.djangoproject.com/en/4.2/ref/models/fields/#filefield

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@TechComet TechComet changed the title 🚀 Feature: 🚀 Feature: createFileAttribute required Jun 30, 2023
@joeyouss
Copy link
joeyouss commented Jul 3, 2023

Thank you for your idea, i am going to keep this open for gathering feedback.

@joeyouss joeyouss self-assigned this Jul 3, 2023
@joeyouss joeyouss added feature product / storage Fixes and upgrades for the Appwrite Storage. labels Jul 3, 2023
@eldadfux
Copy link
Member

We'd specifically appreciate more information about use cases for this feature, and example ideas of how the API structure might look like including the resulting response.

@iamsupercode
Copy link

I've encountered a situation where having a streamlined process for managing images within my "Payment Methods" collection would greatly enhance efficiency. Currently, each method in this collection is associated with an icon or logo, represented by an attribute called "icon_file_id," which corresponds to the image's ID in one of our storage buckets.

However, the process of updating this attribute whenever a new image is uploaded has proven to be cumbersome. It requires manual intervention to upload the image to the bucket and then update the "icon_file_id" attribute accordingly.

It would be immensely beneficial to have a FileField attribute integrated into our system. This would allow us to easily select and upload images directly from the console, automatically updating the associated ID without the need for manual intervention. Additionally, enabling the upload of base64 encoded image bytes from the client side during the creation of a new entry in the collection could further streamline the process.

In essence, this enhancement would simplify image management by providing a seamless method for uploading and updating image files within our collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product / databases Fixes and upgrades for the Appwrite Database. product / storage Fixes and upgrades for the Appwrite Storage.
Projects
None yet
Development

No branches or pull requests

5 participants
0