Expand my Community achievements bar.

SOLVED

dc:format and dam:MIMEtype

Avatar

Level 4

CQ5 uses dc:format to denote the mime-type of the asset. (http://docs.adobe.com/docs/en/cq/current/dam/metadata_for_digitalassetmanagement.html)

I have a custom dc:format for a video : video/vnd.xxxx.brightcove. And i have a custom video dam asseteditor for this created under "/apps/dam/content/asseteditors/video/vnd/tvnz/brightcove/" to override "/libs/dam/content/asseteditors/video". In damadmin's search tab, if i search for videos and from the result of videos returned, when i click to open the video, it opens in the default asseteditor and the left panel shows no 'Type' info. (although dc:format property is available on the asset metadata). Here's the wierdness -> when you now refresh this page, it re-loads in the custom video dam asseteditor. There is a workaround for this - if you ensure that the video asset has a property "dam:MIMEtype", it opens in the correct video dam asseteditor everytime and it shows the 'Type' correctly to be 'video/vnd.xxxx.brightcove' in the left pane. 

This looks like a bug in CQ. As long as dc:format is available, this should be used to deduce the dam:MIMEtype and use the appropriate asseteditor. Has anyone experienced something similar?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Yes sounds like bug. This should be fixed in aem6. As workaround overlay panel file for the method mimeType to use right meta data.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Yes sounds like bug. This should be fixed in aem6. As workaround overlay panel file for the method mimeType to use right meta data.

Avatar

Level 4

Thanks for your reply Sham. As a workaround i've used a workflow to add the dam:MIMEtype property for any video assets added to the dam.