Agraell
Agraell

Reputation: 83

Upload files using umbraco data type

I want to create a custom data type or better reuse an existing one that allows me to upload a file (pdfs or images) on a specific folder (in an Umbraco 7 site) not related to media folder. Any ideas on how to do this?

Upvotes: 0

Views: 597

Answers (1)

Mark
Mark

Reputation: 3271

You'll want to create a new property editor (Tutorial) to create the view of the datatype and let the angular code call a UmbracoAuthorizedApiController (Documentation) to do the uploading of the file

Upvotes: 0

Related Questions