cancel
Showing results for 
Search instead for 
Did you mean: 

Image Variants

Former Member
0 Kudos

How do you work with image variants using the new Java API? I have been able to retrieve the image information of the record, and now I want to get the variant information. I'm pretty sure that I need to use ImageVariantId and ImageVariantProperties, but I'm not quite sure how.

Any help is greatly appreciated and will be awarded points. Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can go through following link

https://help.sap.com/javadocs/MDM/current/com/sap/mdm/blobs/commands/RetrieveImageVariantsCommand.ht...

Reward Points if Helpful.

Regards

Nisha

Former Member
0 Kudos

That's the missing piece I was looking for! Thank you!

Answers (3)

Answers (3)

Former Member
0 Kudos

I found the solution.

Former Member
0 Kudos

Now that I have the image variant that I want to use, how do I assign that to the image that I get? I don't see any properties such as .setImageVariant().

Former Member
0 Kudos

Hi Sarah,

Just follow the following link, this link may provides you MDM JAVA API classes for image variant Id's and properties.

Go to All classes--> ImageVariantId & ImageVariantProperties.

http://help.sap.com/javadocs/MDM/current/index.html

Hope dis helps you.

Reward points if found Useful.

Swapnil..