-
Notifications
You must be signed in to change notification settings - Fork 4.4k
🚀 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
Comments
Thank you for your idea, i am going to keep this open for gathering feedback. |
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. |
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. |
🔖 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?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: