Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesFile Upload/Download in Custom ModuleFile Upload/Download in Custom Module
Previous
 
Next
New Post
3/9/2016 9:11 PM
 

Hey Guys,

Just a quick question on a module I'm developing. It's built off the same idea for implementing the Task Manager module from tutorials. I need to allow photo/exe upload in the edit control for the module and once submit is hit those should be stored and tied together with rest of data for the Task that will all be displayed when brought back to view control.

I just need some advice on what's the best way to implement this option. Right now I'm trying out the FilePickerUploader which is grand for uploading the files while in Edit (and entering rest of details for the task).  But then when I hit submit, I don't know how to read the right files back from database when populating my View with each Task.

Thanks,

Kevin.

 
New Post
3/10/2016 6:48 AM
 
you usually would store the fileID and use a SQL view (your table left join vw_files) for your view, which includes file path.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/10/2016 9:19 PM
 

My Main issue is tracking the correct file ID. So when User is trying to add a task they can enter name, assigned user etc. But then when uploading the file using FilePickerUploader that throws a database entry in that I don't have control of right now. I want to have access to the file ID of uploaded file when I hit submit and store the rest of task data. Again just not sure how to pick the right file ID/get it when the file is uploaded during task creation.

 
New Post
3/11/2016 3:38 AM
 
I'd check DNN Documents module (http://dnndocuments.codeplex.com) as a sample, which does the same.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesFile Upload/Download in Custom ModuleFile Upload/Download in Custom Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out