Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

MetaHelper.SetMetaFieldValue does not delete values (9.16)

$
0
0

Hi,

We use the above method to set various dictionary metadata values; one example in particular is the _ExcludedCatalogEntryMarkets field.

Until either this release, or possibly a slightly older release (not sure as we've only just spotted it), if an empty object was passed in to the 'values' parameter, this would remove any existing values for that field.  Now, however, that bahaviour is not exhibited - if an empty object is supplied the method apparently does nothing.  This is a problem especially for the _ExcludedCatalogEntryMarkets field if, for example, a product was previously excluded from certain markets, but now we wish to update it to be available everywhere.

The Commerce Manager works as expected so there msut be some way of removing this kind of meta data using the API...?

For ref:

http://world.episerver.com/documentation/Class-library/?documentId=commerce/7.5/61388F84

Thanks

Jim


Viewing all articles
Browse latest Browse all 9642

Trending Articles