Hi team,
I need to get the Scene7Asset from dynamic media using Scene7Service. Scene7Service has a method getAsset. "getAsset(java.lang.String assetHandle, java.lang.String[] responseFields, java.lang.String[] excludeFields, S7Config s7Config)".
What should be the responseFields and excludeFields that has to be passed as params? Is it aem asset properties or dm asset properties? Please respond if anyone has worked on this.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You may try
//Specify which Scene7 asset properties you want to retrieve
String[] responseFields = {"name", "url", "assetType", "metadata"};
Specify which Scene7 asset properties you do not want in the response
String[] excludeFields = {"metadata.keywords"};
scene7Service.getAsset(assetHandle, responseFields, excludeFields, s7Config);
Thanks
Hi,
You may try
//Specify which Scene7 asset properties you want to retrieve
String[] responseFields = {"name", "url", "assetType", "metadata"};
Specify which Scene7 asset properties you do not want in the response
String[] excludeFields = {"metadata.keywords"};
scene7Service.getAsset(assetHandle, responseFields, excludeFields, s7Config);
Thanks
@Keerthana_H_N 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