Hey there Heike

You should do this in the field configuration of the app/upload and edit dialog 
(extending from the app) under 
[b]/modules/dam-app/apps/assets/subApps/detail/editor/form/tabs/asset/fields/resource[/b]
 (see [1], works on every dam upload field). Setting the property 
"allowedMimeTypePattern" to "image/png" would restrict the upload and editing 
to png only. You can also use a regex pattern for this allowing for more 
entries.

Opposite to your nasty error message (that I could reproduce), you get a much 
more usable warning about unsupported upload file type(s) instead.

HTH
Natascha


[1] http://documentation.magnolia-cms.com/display/DOCS/DAM+upload

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=1b8bcf0a-52e0-43c9-b304-987115ba06b2


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to