I am trying to create an app from the Add/Edit sample provided in App Studio (Desktop 1.4.18) and am having trouble changing it to use one of our feature service layers instead of the provided default. I'm not very good with coding, but have changed these lines in Qt to try to get the app to load a different feature service layer from ArcGIS Online, but none of the points hosted in the feature service appear in the app and it is no longer "clickable" to add a new point. Any advice on what I'm doing wrong would be greatly appreciated!
Changed line 36 from
property string featureServiceURL : appWindow.info.propertyValue("featureServiceURL","");
toproperty string featureServiceURL : appWindow.info.propertyValue("https://services1.arcgis.com/5Gtv38l8677OspKm/arcgis/rest/services/survey_database_join/FeatureServer","");
Changed line 70 from
url: appWindow.info.propertyValue("basemapServiceUrl", "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer")
tourl: appWindow.info.propertyValue("basemapServiceUrl", "https://scgis.maps.arcgis.com/home/webmap/viewer.html?webmap=c0e67a328e69428ba26209544a613255")to
Changed line 76 from