Localize endpoints

You can localize some endpoints to page scope, so that when a page is changed the success callback is not executed.

This decreases unnecessary view model activities not related to the current page. You can eliminate issues such as load of previous page and display of redundant error notifications when you make this change.

To include this behavior, set the discardPageScopedCallResponses flag to true in cc-store-configuration-1.0.js file. The calls included in the pageScopedCalls array will be page scoped once you enable this flag.