ArcGIS API for JavaScript: FeatureService/Connectivity (FeatureServer)

Built using the ArcGIS API for JavaScript