Browse (add/remove) ArcGIS Server Services (Layers) from the ESRI Javascript API view

Discussion created by alex92190 on Feb 20, 2014
I am quite new to the Javascript API. I am not if there is a widget that does what I would like but I am trying to create a web map that allows the users to choose/add/remove layers located on our GIS Server. I cant figure out how to achieve something similar as the picture attachment. If anyone have any samples/tips, please let me know. Thank you much for your time. Alex[ATTACH=CONFIG]31653[/ATTACH]