Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Get scene7 urls of assets published from AEM author?

Avatar

Level 6

Hello

I would like to get the absolute dynamic media/scene7 url of assets and its renditions in AEM Java.
My setup is like this, on AEM cloud author the image is uploaded and is then published to dynamic media scene 7. No publisher instance is there. 

How do I get the scene7 urls of assets and its renditions?

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hello,

in case you want to use DM image URLs on author, you should set the DM configuration to push assets on upload, not publication.

Then, you can use DM asset properties to construct the image URL in your backend code:

  • You can use DM domain or setup your custom domain (ask Adobe support for help)
  • /is/image is the path used for images, /is/content for other types of content
  • after that you need to use your DM tenant in the URL
  • the last part of the URL is your image name
  • in case you want to use a Smart crop, then define the smart crop name after :

Here is an example: https://s7g10.scene7.com/is/image/assaabloydev/research-trio-16x9:4x3 

 

Hope this helps,

Daniel

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

Hello,

in case you want to use DM image URLs on author, you should set the DM configuration to push assets on upload, not publication.

Then, you can use DM asset properties to construct the image URL in your backend code:

  • You can use DM domain or setup your custom domain (ask Adobe support for help)
  • /is/image is the path used for images, /is/content for other types of content
  • after that you need to use your DM tenant in the URL
  • the last part of the URL is your image name
  • in case you want to use a Smart crop, then define the smart crop name after :

Here is an example: https://s7g10.scene7.com/is/image/assaabloydev/research-trio-16x9:4x3 

 

Hope this helps,

Daniel