Upload/Download files and images in MDriven Turnkey
(Created blank page)
 
No edit summary
Line 1: Line 1:
To be able upload files into your Turnkey application you should create an attribute with type of Blob.


You can set it in the properties area in MDriven Designer.
[[File:Attribute BlobType.png|none|thumb|610x610px]]
MDriven Turnkey will render Blob as the upload button component. Text inside the button depends on your ViewColumn name. Don't forget to use '''<MyColumn>_FileName''' and '''<MyColumn>_ContentType''' to save your name and content type of the uploaded file.
[[File:Upload button component.png|none|thumb|376x376px|Upload button component]]
Also, you are able to add disabled or readonly expression in MDriven Designer to your upload button component.
[[File:Upload button disabled.png|none|thumb|439x439px]]

Revision as of 03:09, 25 November 2020

To be able upload files into your Turnkey application you should create an attribute with type of Blob.

You can set it in the properties area in MDriven Designer.

Attribute BlobType.png

MDriven Turnkey will render Blob as the upload button component. Text inside the button depends on your ViewColumn name. Don't forget to use <MyColumn>_FileName and <MyColumn>_ContentType to save your name and content type of the uploaded file.

Upload button component

Also, you are able to add disabled or readonly expression in MDriven Designer to your upload button component.

Upload button disabled.png
This page was edited 35 days ago on 03/26/2024. What links here