on 2020 Mar 23 10:23 AM
Hi ,
We have an opentext integration with Hybris. And we are not storing the Media in Hybris. We just render the URL's from opentext. Recently we migrated to Hybris 6.7 and we have migrated complete data folder from 6.6. But the images are not getting rendered in PCM backoffice. There is a security policy property change in 6.7 and i have changed it as below.
backoffice.response.header.Content-Security-Policy=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; connect-src 'self'; img-src 'self' https://externaldamurl.com data:; style-src 'self' 'unsafe-inline'; font-src 'self'
After that, i can see the image when i open the media. but thumbnails are still not getting rendered. Any help would be appreciated.
Request clarification before answering.
@ Leo Ryan
there is change in the Header content security policy in 6.7.
See the bolded text that needs to be added.
backoffice.response.header.Content-Security-Policy=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:; connect-src 'self'; img-src 'self' https://externaldamurl.com data:; style-src 'self' 'unsafe-inline'; font-src 'self'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mohan. After investigating further it looks like some url issue in our instance.
6.7 wants a celum asset url like this
backoffice/mam/celum/celum_assets/9882614988830_IMAGE_37614_jpg.jpg?13
But that won't render, this will. I'm not sure what has changed in backoffice that it wants that format.
/mam/celum/celum_assets/9882614988830_IMAGE_37614_jpg.jpg?13
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.