Commerce Cloud also provides a mechanism for programmatically determining the response filter key to pass in a REST call, allowing you to avoid hard coding it into the widget itself. The programmatic mechanism for determining which response filter key to pass in a REST request has several parts:

The context object contains the data required for locating the correct response filter key in the filter map. The widget instantiates the context object with the necessary data and then passes it to the CCStoreConfiguration library’s getFilterToUse() method, which locates the correct response filter key in the filter map and returns it to the widget.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices