IBM Support

How to set default value for custom combo box in IBM Sterling RCP clients

Question & Answer


Question

One of the scenarios where this is required is on the Create Order : Customer Identification screen. User adds a drop down for Order Type here. When Copy Order is done from an existing order, OOTB it opens the Add Items screen for the new order. Now when the user clicks on Previous, Customer Identification screen is displayed. The Order Type although present on this new order, does not get defaulted on the UI. How to set default value for this custom combo box?

Answer

setFieldValue() method in YRCExtentionBehavior can be used to achieve this requirement. Attached files detail the implementation required.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Sterling Call Center","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.3;9.2.1;9.2;9.1;9.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21962502