Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Live Content uses Web 2.0 approach to provide a Rich User Interface and streamlines content presentation by overlaying content on current page. Overlay images, videos, audio, text/html content, flash, dotnetnuke modules, and external content. Experience the demo...

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

The Catalyst skins are professionally designed, coded and packaged by a team of DotNetNuke experts. The skins are available in 12 great colours. This skin is easily customisable with our unique DrNuke EasyMod technology. Try our demo!

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

    |   Register   |   Thursday, December 04, 2008   
Data Springs Product Forums...
Subject: File upload
Prev Next
You are not authorized to post a reply.

Author Messages
fredcate
Posts:5
skipping stones
skipping stones

01/02/2007 3:46 PM  

Hi Chad,

I can't get the file upload to work. I can browse and locate the file and put it in the Browse Box but it does not grab and send the attachment. When I send the completed form to me all of the fields are there with the information except the attachment.

Do I need to do any more configuring to make the file upload work?

I am trying to create a form that allows a job applicant to upload their resume attachment via email from their computer to the website owners email address.

Thanks,

Fred

Chad
Posts:2271
river guide
river guide

01/03/2007 7:40 PM  
Fred,

Hi. The way dynamic forms file upload feature works is that it uploads a unique filename to the server (which it sounds like you have found) and then it doesn't actually send the file as an attachment with dynamic email events but what you can do is include a link within the email that will point to the file. I will try and get an example of this setup on our demo page for dynamic forms but for now you can try this:

1. Setup the file upload field (as it sounds like you already did)
2. Make sure that the short field name for the file upload field has a value in it. For example name it MyFileField
3. Within the email use the parameter for that field within the email message. For example, $(MyFileField). This will include the full unique filename.
4. You will then be able to have the user download that file within the email message with a 'Click this link'.

Here are the ways you would want to put this in your email:
Example 1: Copy/paste this URL in your browser
http://www.yoursite.com/DynamicForms_Uploads/$(MyFileField)

Example 2:
Please Click Here to download the resume attachment.

Within the actual HTML message the only thing the user will see is 'Click Here' along with a link to the actual file that was uploaded.

Hope this helps, let me know if you run into troubles.

-Chad
Journal
Posts:5
skipping stones
skipping stones

01/08/2007 12:03 PM  
We're having the same issue as Fred is. We followed your instructions, but when the email arrives all we get is a blank where the $(MyFile) variable should be. I've double-checked the question Short Name and the email event and they're both correct. Am I missing another setting? Thanks.
Chad
Posts:2271
river guide
river guide

01/08/2007 2:32 PM  

Hi guys,

We did find that there was an issue related to this and it wasn't working as described above. We have a patch/hot fix available now as v2.2.3 and will be posting it to Snowcovered soon (until its posted its available upon request). This patch/hot fix changes the file upload capabilities and also fixes the issue with including the file upload parameter into dynamic events and so forth.

A few things:
1. Files are now saved under the portals directory (i.e. portals/0/dynamicforms_uploads). Before files were being saved to the root and this has been corrected.

2. Now you just need to include the parameter and not the first part of the directory/url and the parameter. I.e. within the email message just type in $(myfile) and not actually yoursite.com/dynamicforms_uploads/$(myfile).

3. There is now a new option within the email message. If you include the text "AttachFiles" within the email message it is removed from the message and the file attachment is physically attached to the email instead of having to use a url. This option will be documented in future releases or we might include a checkbox when the email event is setup that states: "Attach form file attachments to this email". Either way, you should be able to attach files now using this method.

Thanks,

Chad

Amy
Posts:1
new to the springs
new to the springs

04/10/2007 3:51 PM  
Hi All.

I am currently using the dynamic forms module on our company intranet. I really like the way it's all coming together now that I've played with it several times.

One thing we are having trouble with, though, is using the upload button. It allows us to receive .doc, .txt., .xls and pdf files. But what we would also like is for it to recognize AutoCAD .dwg files.

Is there somewhere we can tell the module to recognize different file types? We can see that the program renames the uploaded file and we're guessing maybe it just doesn't know about .dwg files...

Thanks!
Amy
Chad
Posts:2271
river guide
river guide

04/12/2007 12:21 PM  

Actually the list of files ext that Dynamic Forms looks at is setup within DNN directly. I think this is under Host Settings, Advanced, Other Settings, File Upload Extensions. The default is: swf,jpg,jpeg,jpe,gif,bmp,png,doc,xls,ppt,pdf,txt,xml,xsl,css,zip

 

Ummm.... Changing is there should fix you for Dynamic Forms too.

 

Oh and if you like 2.2 just wait for 2.3! Many performance enhancements to speed up form maintenance.

 

-Chad

 

Walt
Posts:8
skipping stones
skipping stones

05/22/2008 8:48 PM  

I seem to be having an issue with this feature.  The fully-qualified file name that I get in my dynamic email has an extra subdirectory in it. 

We are using GoDaddy, and they do not allow DNN to be installed in the root, so we install it into a directory just off the root named "content".

The file name that appears in the email is:
http://www.comfortpublishing.com/content/content/Portals/0/DynamicForms_Uploads/91de86b3-6753-4c5a-86f1-573c92206409.pdf

and it should be:
http://www.comfortpublishing.com/content/Portals/0/DynamicForms_Uploads/91de86b3-6753-4c5a-86f1-573c92206409.pdf

As you see, the directory "content" is duplicated.

Chad
Posts:2271
river guide
river guide

05/23/2008 12:19 PM  
Hi. What version of Dynamic Forms is this and what version of DotNetNuke?

-Chad
Walt
Posts:8
skipping stones
skipping stones

05/23/2008 3:45 PM  

Chad - I'm running DNN 4.08.02, and this problem occured with DynamicForms v2.3 so I purchased the latest version (v2.6) and the problem still exists.

Walt
Posts:8
skipping stones
skipping stones

05/24/2008 5:05 PM  
Chad - One more thing regarding the File Upload feature ... is there any to make the file upload field required or mandatory prior to the submission?
Chad
Posts:2271
river guide
river guide

05/27/2008 2:02 PM  
Hi. Yes if you set the field to be required and you choose to have server side validation enabled it should be checking... I am reviewing this now on our development environment and will also test email events when the URL for the site is not setup as the root domain.

Also, when you go to Admin, Site Settings, HTTP Alias, what is the HTTP Alias for your site? Do you just have 1 setup? It should be http://www.comfortpublishing.com/content right?
Walt
Posts:8
skipping stones
skipping stones

05/27/2008 2:55 PM  
Chad - I do have the "Required Field" option checked on "File Attachment / Upload" question, and the "Enable Server Validation" is checked, however I can still submit the form without anything entered in the File Attachment field. There is only one portal configured on this server and the alias is "www.comfortpublishing.com/content"
Chad
Posts:2271
river guide
river guide

05/27/2008 7:31 PM  
Walt,

Hi. I am going to email you an update. We found this today and will have a patch out to everyone soon but I wanted to get your feedback first. There are a few fixes and this will be released as 2.6.54. The update includes a few minor fixes/enhancements and one of those is related to the file upload field type for required fields and also the file token that is referenced within email events (should affect sites such as yours that include a sub directory or sub virtual directory). Please follow up on this and let me know.

-Chad
Walt
Posts:8
skipping stones
skipping stones

05/28/2008 7:17 AM  

Chad - This patch seems to address both issues that I reported ... I do not see any problems at this point - thank you.

Chad
Posts:2271
river guide
river guide

05/28/2008 8:53 AM  
Thanks... We will continue to test this and add the patch on Snowcovered shortly.

-Chad
Kevin
Posts:4
skipping stones
skipping stones

05/28/2008 7:48 PM  

Hey Chad,

 

Anyway to get that fix - I am working on two websites and I am getting that same problem with the file upload.

Any help is appreciated I have version 2.5 - any immediate help would be greatly appreciated.

 

Kevin

You are not authorized to post a reply.



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement