Hello All,
I am new to WAB development and Arc in general, so please excuse any incorrect terminology. I am trying to write a custom utility network trace widget for use with the WAB using the JavaScript API 3.x and the REST API. I need to allow the user to select a starting point by clicking on a feature, and I believe I need to get the attributes of the selected feature for the REST API. The REST API documentation says that the trace function needs a guid, terminalId and percentAlong parameters. I found an example of a custom trace here: