Hello Everyone,
We are using ArcGIS Experience Builder 1.3 release for developing application that works with ArcGIS server services and Portal for ArcGIS but we are facing problems with JIMU UI components and Widget to Widget communication.
Case 1: We are trying to dynamically change the state of JIMU UI Check box from one widget but it seems like conventional way ‘document.getElementById (“CHKBX_ID”).checked=false’ is not working for JIMU UI Checkbox. Our logic makes it kind of compulsory to use JIMU UI Checkbox instead of conventional input type ‘checkbox’.
- Can someone please suggest the method to uncheck or check the checkboxes of JIMU UI from Typescript or JavaScript?
Case 2: On Unchecking or Checking the checkbox we also want to call the eventlistner function that is attached to the ‘onChange’ of the element but it seems when we are dynamically or programmatically changing the state of checkbox it doesn’t calls the ‘onChange’ of the element.
- Can someone please suggest how to initiate onChange of an element when the state is changes programmatically from JS?
Case 3: We need to call a function present in one widget from another widget in the same application but it seems widget communication documentation only show’s how to pass the data not the methods/functions.
- Can someone please suggest how to initiate method from one widget which is a part of another widget from JS?
Thank you all