I need some guidance as to the best way to do something. I have a map and when the user clicks on a location on the map it will place a dot marking the location. Then, when the user clicks another location it will connect those two dots with a line. Every click of a location will create a new dot and connect it with a line to the previously created dot. I would like these saved in a Geodatabase so that it is on local storage and not the server. I have been reading about feature tables and polylines. I couldn't find a way to create a polyline onClick. Any recommendations or examples would be much appreciated.