My sandbox having DM enabled with OpenAPI. I want to browse only approved images and on selecting an image, it should paste the scene7 url of the image in page. Even if I author image block and select an image, it should have the scene url only like https://s7ap1.scene7.com/is/image/abcde/images%2Dstagedm. How to implement this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @josepha18283197
Please check universal editor/x-walk integration with assets picker
@josepha18283197 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
In documentation, index.html is mentioned but I could not locate this html in my xwalk project. I can see head.html only. Also, I want to mention the repositoryid which is starting with "Delivery-" to list the approved assets. How and where to mention this repositoryId. Why the documentation is not straight forward for this requirement?
Views
Replies
Total Likes
Hi @josepha18283197
Please check universal editor/x-walk integration with assets picker
I have enabled the custom assets picker in my sandbox, and followed the documentation. I can see the custom asset picker popup but I am not able to see the repository switcher there. I have mentioned the repository name as "delivery-...." likewise. But the asset picker shows all the assets from aem instance only. Not fetching the assets from DM delivery url (approved assets). The config.json file is also accessible. Please let me know what other configurations I have to add or what configurations I missed. In their documentation page, there is a gif file added and it shows the repository switcher with DM delivery repo name. Should I raise any adobe ticket for this?
Views
Replies
Total Likes
Hi @josepha18283197
I would recommended to contact them via Slack or discord.
https://www.aem.live/business/reachout
Hi @arunpatidar
Due to a CORS error, the config.json file was not accessible. I enabled the Google Chrome NoCors plugin and am now able to see the repository dropdown in the Assets Selector. In the config.json file, we are asked to mention "repoNames" as a JSON array. I have included only one entry in that array, which starts with "delivery-". However, when I use the custom assets selector, the repository dropdown displays both the "delivery-" repo and the stage instance repo. How can I block the stage instance repo and ensure only the "delivery-" repo is visible in the assets selector through config.json? Is there a specific property I need to add to config.json?
Views
Replies
Total Likes
I am not sure, if there is a specific property, maybe try using full name.
but you I think you still wants to make sure when you access STG AEM environment, you should only see the Stage repo.
1. We need to add the property "aemTierType": "delivery" in config.json.
2. We have to remove the mimeType property from model definition.
This is the solution for getting only approved assets in custom assets selector and having the url instead of the image.
Views
Likes
Replies