Hi Kirithi,Thanks for confirmation of code, I feel couple of reason for
not working of code as getMetadataValue(String name) return string but
if you see Dam jcr screenshot their property is stored as String[].This
is one helpful link I found :
http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam.htmlPlease
see screenshots