Add Image File Upload to Umbraco Forms Field Types
Hey Guys,
I want to add a new Image Upload Field Type to Umbraco Forms. I found some useful links like this one (https://skrift.io/articles/archive/extending-umbraco-forms/) but all of them are implementing classes which inherit from FileUpload.
I can't find the FileUpload class in Umbraco 8 dlls.
If I inherit from FieldType then I need to re-implement the file upload, which is not a best practice.
I already did this as well. In that solution, I am facing exactly the same issue, since it's also inherting from FileUpload (s. screenshot) which I am not able to refer to in Umbraco 8.
Add Image File Upload to Umbraco Forms Field Types
Hey Guys,
I want to add a new Image Upload Field Type to Umbraco Forms. I found some useful links like this one (https://skrift.io/articles/archive/extending-umbraco-forms/) but all of them are implementing classes which inherit from FileUpload.
I can't find the FileUpload class in Umbraco 8 dlls.
If I inherit from FieldType then I need to re-implement the file upload, which is not a best practice.
Any ideas?
Thanks Dee
Hi Armin,
You might be able to find some inspiration from this package. https://our.umbraco.com/packages/backoffice-extensions/umbraco-forms-on-perplex-steroids/
As I see it this is not for Umbraco 8 yet, but you can find the source code here. https://github.com/PerplexInternetmarketing/Perplex-Umbraco-Forms
And you can find the documentation about how to add a new Forms field type here https://our.umbraco.com/documentation/Add-ons/umbracoforms/developer/extending/adding-a-fieldtype
Hope this helps,
/Dennis
Hey Dennis,
thanks for your quick reply.
I already did this as well. In that solution, I am facing exactly the same issue, since it's also inherting from FileUpload (s. screenshot) which I am not able to refer to in Umbraco 8.
Found it... seems that this has been moved to another namesape:
Umbraco.Forms.Core.Providers.FieldTypes.FileUpload
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.