Question & Answer
Question
Have an item attribute defined in SBC. Now invoke manageItem API with Operation='Manage' at AdditionalAttribute tag. How can we ensure that it updates the existing entry in db rather than inserting a new record?
Cause
If the item attribute is set to not allow assignment of multiple values then mangeItem API call fails with 'Cannot Define Multiple Values For This Attribute'.
Answer
To ensure that the API does not try to insert a new record, the following property should be set in customer_overrides.properties file.
yfs.manageItem.EnableUpdateOfAdditionalAttribute
This will assure that the API is able to update the existing entry and no new record is inserted. More details can be found here.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21962459