Provide an ability to extend FileUploadPropertyEditor #18335
Closed
PeterKvayt
started this conversation in
Features and ideas
Replies: 3 comments 2 replies
-
Hi @PeterKvayt , As discussed with HQ, we will use this post as the place to discuss if/how we would implement this feature to make it more flexible, in a way that is able to be supported ongoing. Best regards Emma |
Beta Was this translation helpful? Give feedback.
2 replies
-
@emmagarland @AndyButland |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this now #19643 is merged and scheduled for 16.2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following scenario: I'm using private cloud storage for files, where all files are initially private. I need a way to determine which files are private and which are not.
To achieve this, I created a custom property editor that allows me to add a prefix to uploaded media files in the format: {prefix}/{folder name}/{file name}. The prefix is an option within a custom FileUploadPropertyEditor. I also created two data editors—one for public files and another for private files—each using a different prefix.
For the implementation, I extended Umbraco's FileUploadPropertyEditor, as it manages certain notifications that I also need to handle in my custom implementation. However, I intended to override IsUploadField to properly implement all necessary handlers, but it's a private static method, making it inaccessible.
My goal is to enhance the flexibility of this property editor.
Do not focus on my goal, it is just a simplified example.
Beta Was this translation helpful? Give feedback.
All reactions