You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Check EventName before calling addNamedEventListener

Received Response
11
Views
2
Comments
edited Jul 8, 2021 5:07PM in UI Extensibility 2 comments

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'?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!