Dynamic upload folder

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Dynamic upload folder

Postby greenvox » Wed Nov 29, 2017 7:38 pm

In the latest version I ended up doing the following:

In Table-Specific > Common > Row_Inserting

//Enter your code here
string folderpath = null;
folderpath = "upload/" + <field>.DbValue + "/";
ImportFile.UploadPath = folderpath;
//End custom code

Note: Replace <field> with the field name you want to pull the value from.
greenvox
 
Posts: 1
Joined: Fri Sep 01, 2017 4:27 pm

Return to General Discussion (ASP.NET Maker)