on 2016 Aug 16 11:24 AM
Hi there,
I am trying to use a CDN for media items. The goal is to customize the generation of the URL field of Media items. I know that I have to use MediaURLStrategy to achieve this but unfortunately it does not work.
Here is what I did:
Implemented MediaURLStrategy interface in my custom url strategy
Configured a media folder in local.properties to use this custom url strategy
The custom url strategy does get called when I open a media item in the backoffice
Unfortunately only the downloadURL is being set via the strategy. The URL of the media item stays empty.
Now my question: How do I make sure that media items in the given folder get assigned the correct URL from the custom strategy?
I did not create a custom MediaStorageStrategy as I did not see why I would need one.
Thanks in advance!
Request clarification before answering.
I am also facing the same issue.Updated URL is showing in HMC but not in the storefront.I have cleared the browser cache but still no luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.