Check EventName before calling addNamedEventListener
Content
Hi All,
We have a requirement to check the values in multiple string fields on a CO and convert them to decimal equivalents. We have written multiple workspace rules to capture field change events of all the concerned fields. At present, to optimize the add-in code, we named each event as '[email protected]field_name' and in the RuleActionInvoke method, we are checking if ActionName contains the 'CommonIdentifier' then we split the ActionName to get fieldName and then proceed further with conversion. Now, we need to implement the same functionality in BUI. We are using addNamedEventListener but how to check if the EventName string contains CommonIdentifier'?
Tagged:
0