cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting image variants for web index from MDM via Java API

Former Member
0 Kudos

Hi There, we are currently using an open source search engine to crawl the MDM database and build indexes for our webstores nightly. In this process, we have an image extraction method using the MDM java API's. Can someone please tell me how to call an image variant into this process rather than the 'original image' stored in MDM? I've created a variant that will optimise for web conditions and we need to call this one into the webstore, not the originals that are sometimes huuuuge...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Adam,

From MDM Documentation (can be found here [http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/0505fba870404ce10000000a42189b/frameset.htm]):

Retrieving Image Variants

To retrieve binary data for image variants carry out these steps:

1. Retrieve all image variants using the RetrieveImageVariantsCommand class.

2. Retrieve the Image BLOB whose variants you want to get, (see Retrieving BLOB Records above).

3. Retrieve the BLOB for the specific image variant using the RetrieveBlobCommand.

Hope this information helps,

Idan

Answers (0)