I am working in Umbraco 7. I am attempting to use the Datatype: File Upload in an existing template. I have created a custom data type and I have also applied the datatype to the Document Type . I am sure how to go about applying the Datatype to the template so that when an image is uploaded in the content section, it appears in the rendered version of the template when previewed or published.
If anyone can provide assistance I would greatly appreciate your time and consideration.
Configuring Datatypes: "File Upload"
I am working in Umbraco 7. I am attempting to use the Datatype: File Upload in an existing template. I have created a custom data type and I have also applied the datatype to the Document Type . I am sure how to go about applying the Datatype to the template so that when an image is uploaded in the content section, it appears in the rendered version of the template when previewed or published.
If anyone can provide assistance I would greatly appreciate your time and consideration.
Thanks.
Hi Brock,
Try to have a look at this documentation on how to get the data from the upload datatype
https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/built-in-property-editors/Upload
If you are using Umbraco 7. Then just use the MVC View Examples called strongly typed Razor or dynamics Razor.
Strongly typed Razor
Dynamic Razor
Hope this helps,
/Dennis
is working on a reply...