I am writing a DWT in which i need to read metadata of multimedia component added in a component. following is the component structure.
<content>
<level1>
<level2>
<image>
</level2>
<level2>
<image>
</level2>
</level1>
<level1>
<level2>
<image>
</level2>
<level2>
<image>
</level2>
</level1>
</content>
Here Level1 is a multi valued embedded schema . Level2 is also a multi valued embedded schema.
I am able to retrieve image tcm id as below. But I am unable to read metadata of the image.
<!-- TemplateBeginRepeat name="Level1" -->
<!-- TemplateBeginRepeat name="Field.Level2" -->
@@Field.Image@@
<!-- TemplateEndRepeat -->
<!-- TemplateEndRepeat -->
I tried the below options to read altText field in metadata. @@Field.Image.altText@@ @@Get('Field.Image.altText')@@
Please help.