I was trying to integrate the combinedPop.js from the information lookup sample information-lookup/combinedPopup.js at master · Esri/information-lookup · GitHub to the WAB's main.js but I've encountered the following 3 errors which stops me from going forward and I'm wondering if anyone has experience these problem before.
Line 6513: Object doesn't support property or method 'setInfoWindowOnClick'
Line 6497: Unable to get property 'on' of undefined or null reference TypeError
Line 6726: Unable to get property 'setImmediateClick' of undefined or null reference TypeError
It appears the map object is lacking some properties and methods associated with InfoWindow when it is created with WAB. The Information Lookup template uses arcgisUtils.createMap method to create the map object but the WAB uses esri/arcgis/utils 's createMap() method to create the map object.