Fred Cate
new to the springs Posts:4
|
01-02-2007 01: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 Nash Posts:5260
|
01-03-2007 05: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/Dynamic-For...FileField)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 Broadcast
skipping stones Posts:5
|
01-08-2007 10:03 AM |
|
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 Nash Posts:5260
|
01-08-2007 12: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/Dynamic-Forms_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/Dynamic-Forms_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 Hensley
new to the springs Posts:1
|
04-10-2007 01: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 Nash Posts:5260
|
04-12-2007 10:21 AM |
|
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 Danels
skipping stones Posts:9
|
05-22-2008 06: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/co...206409.pdf
and it should be:
http://www.comfortpublishing.com/content/Portals/0/Dynamic-Forms_Uploads/91de86b3-6753-4c5a-86f1-573c92206409.pdf
As you see, the directory "content" is duplicated. |
|
|
|
|
Chad Nash Posts:5260
|
05-23-2008 10:19 AM |
|
Hi. What version of Dynamic Forms is this and what version of DotNetNuke? -Chad |
|
|
|
|
Walt Danels
skipping stones Posts:9
|
05-23-2008 01:45 PM |
|
Chad - I'm running DNN 4.08.02, and this problem occurred with DynamicForms v2.3 so I purchased the latest version (v2.6) and the problem still exists. |
|
|
|
|
Walt Danels
skipping stones Posts:9
|
05-24-2008 03: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 Nash Posts:5260
|
05-27-2008 12: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 Danels
skipping stones Posts:9
|
05-27-2008 12: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 Nash Posts:5260
|
05-27-2008 05: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 Danels
skipping stones Posts:9
|
05-28-2008 05: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 Nash Posts:5260
|
05-28-2008 06:53 AM |
|
Thanks... We will continue to test this and add the patch on Snowcovered shortly. -Chad |
|
|
|
|
Kevin Goncalo
new to the springs Posts:5
|
05-28-2008 05: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 |
|
|
|
|
Craig Jahnke
new to the springs Posts:1
|
11-03-2011 10:42 AM |
|
Hello I am having an issue with this form.
I changed the file setting to allow 400 KB size file.
I am only trying to load a small 8 k png file, but I keep getting file to big errors.
Using DNN 6.0.
Craig |
|
|
|
|