We are trying to set the allowed type property custom (CLE) for this widget and cannot get it to run without throwing an error that the type is not allowed. The property value is application/cle
File Upload Widget Allowed Type not working
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: File Upload Widget Allowed Type not working
So 'test.gle' (with a G) is the same as 'application/cle' (with a C)?
I've never heard of application/cle. Are you sure your browser is reporting this as the type?
I've never heard of application/cle. Are you sure your browser is reporting this as the type?
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Re: File Upload Widget Allowed Type not working
CLE is a typo. The file has the extension .gle
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Re: File Upload Widget Allowed Type not working
I know it will work with the pre-filled properties like .pdf. So you are saying application/gle won't work because the browser won't support custom mime types?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: File Upload Widget Allowed Type not working
Custom MIME types should work fine. Have you configured your browser so that it knows the proper custom MIME type for .gle files?
The issue here is the browser needs to know that files ending in .gle should be considered "application/x-gle" (if you want to follow the standard, any custom MIME type should begin with "x-"), and that therefore the browser should identify the file as such when uploading it.
Usually if a browser encounters a file type it's not familiar with, it'll use a MIME type like "application/octet-stream" or "text/plain" (if the document appears to be made of text). It will not choose a MIME type like "applicaion/gle" just because the extension is .gle. You would have to configure that MIME type on every PC so that it knows about this MIME type before it'd use it.
http://stackoverflow.com/questions/1201 ... by-browser
The issue here is the browser needs to know that files ending in .gle should be considered "application/x-gle" (if you want to follow the standard, any custom MIME type should begin with "x-"), and that therefore the browser should identify the file as such when uploading it.
Usually if a browser encounters a file type it's not familiar with, it'll use a MIME type like "application/octet-stream" or "text/plain" (if the document appears to be made of text). It will not choose a MIME type like "applicaion/gle" just because the extension is .gle. You would have to configure that MIME type on every PC so that it knows about this MIME type before it'd use it.
http://stackoverflow.com/questions/1201 ... by-browser
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests