ArcGIS API for JavaScript: Hosted/Update_Recommend_Layers (FeatureServer)

Built using the ArcGIS API for JavaScript