Dynamic Media Scene7 URL | Community
Skip to main content
MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 10, 2022
Solved

Dynamic Media Scene7 URL

  • May 10, 2022
  • 2 replies
  • 4757 views

Hi,

 

I configured Dynamic media in scene7 mode and it is working as expected. I am using an OOTB dynamic media component for adding dynamic media. If I view it as published mode then I can easily find that URL by inspecting the HTML. I want to know what is the location of that URL in CrxDe?. In which node it is getting saved? So that I can read that path in my sling model.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vikram1285

Hi Mayur,

Welcome to AEM Community !!

You won't be able to locate the complete Dynamic Media Classic / Scene 7 URL, but on CRXDE view, under the image's jcr:content node -> under metadata, you will see a property named as "Scene7domain"

 

Once you have the domain name, you will be able to create the complete URL.

Note : URL structure is https://<domainname>/is/image/<companyname>/assetname
Thanks,

Vikram Gaur

2 replies

vikram1285Adobe EmployeeAccepted solution
Adobe Employee
May 10, 2022

Hi Mayur,

Welcome to AEM Community !!

You won't be able to locate the complete Dynamic Media Classic / Scene 7 URL, but on CRXDE view, under the image's jcr:content node -> under metadata, you will see a property named as "Scene7domain"

 

Once you have the domain name, you will be able to create the complete URL.

Note : URL structure is https://<domainname>/is/image/<companyname>/assetname
Thanks,

Vikram Gaur

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 11, 2022

Hi @vikram1285 ,

 

Thanks, But the thing is your approach will give a normal image path but what if we have added any filter to it?

With the mentioned approach, we can generate a dynamic URL by fetching the asset name 

cool-wallpaper-1

 

But what if it has filters added ?

cool-wallpaper-1?qlt=82&wid=1280&$whitebg$

 

how I can fetch the rest of the part?

Mayur Satav | www.mayursatav.in
MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 11, 2022

Hi Mayur,

If you have added filter to the asset name, you might have done it on an Image Preset. (Tools -> Assets -> Image Presets)

That Image presets is actually Dynamic Media Rendition.

Viewing the "Renditions" section of the Image, you will see Dynamic Media rendition and if you choose it and click on "View URL", you will see the complete Scene 7 URL.

 

In case, you have added filter via a custom process, information about the custom process will be required.

 

Thanks,

Vikram Gaur

 


Thanks  @vikram1285  The issue is resolved.

Mayur Satav | www.mayursatav.in
Ravi_Pampana
Community Advisor
Community Advisor
May 10, 2022

Hi,

We can find the image AEM path in Dynamic Media (replace the account with /content/dam) by selecting the image.

 

Or we can add the crx/de image path to the component within data attribute so that it can be easily accessible without going to Dynamic Media Scene 7 server.