Search This Blog

Tuesday 20 August 2019

How Dynamic media works with AEM



When you upload an asset into AEM and DM is integrated.

1.     Dam update asset workflow has a step which processes the asset for scene7.
It adds DM specific properties on the asset.

                               





2.     When asset is uploaded it also become available in the scene7 server at the same location as in aem

For ex. If the asset is at
AEM path
/content/dam/dynamic-media/hbo/pavel-anoshin-hqhIsVNYi6o-unsplash.jpg
Its corresponding path on scene7 server
/DynamicMediaNA/dynamic-media/hbo/pavel-anoshin-hqhIsVNYi6o-unsplash.jpg


3.   Depending on the cloud configuration the asset is published to external scene 7 CDN url.

until it gets published to external CDN url there is a publish button which appears for the asset in scene 7. So in this case the asset can be published to external url from both scene 7 and from aem(if cloud configuration value is set as “upon activation”)

NOTE – you might need to refresh the scene 7 server again and again to see the button changing from stop to green tick.



4.   Important to note is the dam:scene7FileStatus property on the metadata node. Notice how the value becomes ‘publishComplete’ from ‘publishIncomplete’ once the asset is available to scene 7 external url. Ie upon activation to publish.


5.   Now you can view the presets of the image in scene7 although these are not your presets. Once you create a image preset that will also be listed here automatically.
You can copy the external url and run it

The external url works only when there is a green tick in the scene 7 server ie the image has been published to external url.





Further reading





No comments:

Post a Comment