Example of the GetQuickPickInfo Notification
The following code is an example usage of the GetQuickPickInfo notification:
this.AttachNotificationHandler(consts.get("SWE_PROP_BC_NOTI_GENERIC"), function
(propSet){
var type = propSet.GetProperty(consts.get("SWE_PROP_NOTI_TYPE"));
if (type === "GetQuickPickInfo"){
var argsArray = [];
CCFMiscUtil_StringToArray
(propSet.GetProperty(consts.get("SWE_PROP_ARGS_ARRAY")), argsArray);
if (argsArray[5] === "MyValue"){
// The dropdown contains a value that we don’t like..
// Let us disable it.
this.SetProperty ("disablePick", true);
}
}
});