POST
|
Hi Derek, Thank you for the information, that helps greatly!
... View more
05-30-2017
09:53 AM
|
0
|
0
|
400
|
POST
|
Hi Nakul, Thank you so much for your help! Your instructions worked well, I made the online feature service shared with 'everyone' and now the app allows me to view, click, and edit features from the layer I wanted. However, I still can't click and add a new point, and ideally I'd like to change the basemap to World Imagery, which I attempted but didn't work. Any further suggestions? Let me know if you'd like to look at the entire code or different portions of it. Thanks again, Mikala //BASEMAP ArcGISTiledMapServiceLayer { url: appWindow.info.propertyValue("basemapServiceUrl", "http://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer") } //ADD POINT FUNCTION function addPoint(pointX, pointY, pointSR) { if (addButtonClicked == "add item"){ //console.log(pointX+500); var featureJson = { geometry: { x: pointX, y: pointY, spatialReference: pointSR }, attributes: { eventtype : "eventtype", eventdate : "district", eventtype: 17 } } } if (featureServiceTable.featureTableStatus === Enums.FeatureTableStatusInitialized) { var newFeature = featureServiceTable.addFeature(featureJson); dispTable(newFeature); } }
... View more
05-24-2017
10:34 AM
|
0
|
2
|
797
|
POST
|
Hello, 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! Thank you, Mikala Changed line 36 from property string featureServiceURL : appWindow.info.propertyValue("featureServiceURL","");
to
property 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")
to
url: appWindow.info.propertyValue("basemapServiceUrl", "https://scgis.maps.arcgis.com/home/webmap/viewer.html?webmap=c0e67a328e69428ba26209544a613255")
Changed line 76 from
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/0" to url: "https://services1.arcgis.com/5Gtv38l8677OspKm/arcgis/rest/services/database_survey_join/FeatureServer"
... View more
05-24-2017
04:06 AM
|
0
|
4
|
1239
|
POST
|
I'm trying to develop a Survey123 for on-site inspections at various locations. My supervisor's ideal vision wants the field inspector to arrive to the site, the app/tablet to be able to geolocate where the inspector is, and pre-populate the survey questions with the answers from the previous survey for each distinct site, so answers only need to be changed if something on that site has changed. Has anybody done something similar or know if this is possible? I'm somewhat new to working with Survey123 so any help would be greatly appreciated. Thanks in advance! Mikala
... View more
05-17-2017
04:44 AM
|
1
|
2
|
1608
|
Title | Kudos | Posted |
---|---|---|
1 | 05-17-2017 04:44 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|