I would like to modify the Legend widget to open when a layer is activated. Since the Layerlist and Legend are 2 different widgets is there a way to do this?
Baker,
Sure just follow this thread about opening a widget from code:
https://community.esri.com/thread/169518