Question & Answer
Question
How do you disable out of the box delivery radio button under Add Items screen - Item Preview pane in IBM Call Center for Commerce?
Cause
Upgrade from 9.4 to 9.5 breaks previous customization of hiding out of the box 'Delivery' radio button
Answer
There're two possible approaches to achieve this -
Solution 1:
Disabling oob lblService Data Label. Since oob widget's bindings cannot be changed, hide this oob widget and create a new duplicate widget but without the dynamic binding attributes.
Solution 2
Overriding the logic inside handleScreenIfService method of DeliveryUtils.js class. To override this class, follow the below approach -
- Copy <INSTALL_DIR>\repository\eardata\isccs\war\isccs\utils\DeliveryUtils.js class file into <INSTALL_DIR>\repository\eardata\isccs\extn\isccs\utils folder.
- Open this DeliveryUtils.js class in the new location and search for deliveryUtils.handleScreenIfService method.
- Override the logic inside this method as per your requirements
- Build isccs war (or ear) as applicable and deploy.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22012195