ArcGIS API for JavaScript: Hosted/TreeSettings (FeatureServer)
Built using the ArcGIS API for JavaScript