Esri / geoform-template-js

GeoForm is a configurable template for form based data editing of a Feature Service.
http://esri.github.io/geoform-template-js/
Apache License 2.0
67 stars 83 forks source link

File attachments only allow image files #424

Closed driskull closed 9 years ago

driskull commented 9 years ago

Seems like we should have an option in the builder to set what type of files to allow.

bogibrynjar commented 8 years ago

Hi @driskull, I was looking at the commit code and wondering, because it isn't exactly clear to me, if the Geoform now supports any type of file as an attachment?

Cheers!

driskull commented 8 years ago

@bogibrynjar yes it should support whatever a feature layer can support.

bogibrynjar commented 8 years ago

@driskull thanks for the quick reply! This is a good enhancement and I guess if I want a specific file type to be available for upload I need only add it's file ending to the Feature Service property "allowedUploadFileTypes" (http://resources.arcgis.com/en/help/rest/apiref/index.html?uploads.html).

Cheers!