Hello Team,
AEM AMS 6.5.23 is connected to Dynamic media. Able to configure DM and once I upload images in DAM, it creates dynamic renditions details.
Created a content fragment model, where I refer the asset(which is having rendition details). Now I need to pass the rendition details to 3rd party app via GraphQL. Can someone elaborat the details here?
Note: Sandbox name, /is/image can be shared directly with 3rd party app. Since, this will not change once its configured. Need to pass dam:scene7Name as an item in GraphQL query.
Do I need to give option to AEM authors to select the rendition option as an drop down? I dont thing dynamic rendion name is saved along with DAM asset.
cc @arunpatidar @giuseppebag @SantoshSai @HrishikeshKagne @aanchal-sikka
Thanks in advance.
Views
Replies
Total Likes
The dam:scene7Name property is stored in the asset's metadata at /jcr:content/metadata/dam:scene7File. To retrieve this via GraphQL:
{
contentFragmentList {
items {
imageField {
... on ImageRef {
_dmS7Url
_metadata {
stringMetadata {
name
value
}
}
}
}
}
}
}
Then filter the stringMetadata array where name equals "dam:scene7File" to get the Scene7 asset name.
Thanks @giuseppebag for your quick response.
Looks like this is not supported in AMS AEM 6.5.23, present only in AEMaaCS.
Thanks
Views
Replies
Total Likes
For me, even after using the latest service packs for AMS (Now, my app uses AMS AEM 6.5.23, most of the features (especially GraphQL queries. Since I am working on Dynamic media, persisted GraphQL queries) may not work(or not supported) in AMS environment, where as these features are supported in AEMaaCS.
Looks very strange to me.
cc @giuseppebag @arunpatidar @SantoshSai @kautuk_sahni
Views
Replies
Total Likes