POST
|
I have a Survey123 survey that has a geopoint for one of its answers. After the user has selected a location, I then want to use that location to query a polygon layer and populate a subsequent answer with an attribute value from that query. Is this possible, or beyond the limits of what Survey123 can do?
... View more
08-14-2018
04:46 PM
|
0
|
1
|
51
|
POST
|
Can Survey123 picklists be updated automatically from data in an Oracle database, which is updated nightly. Has anyone done this and what would be the best way? I suppose once the survey has been published then its picklists are now hosted in the geodatabase, so it might be easier to update them from there, particularly if that geodatabase is also using Oracle. However, wouldn't that then make those picklists out of sync with the source Excel spreadsheet that the survey was originally published from? Hence, would a better solution be to update the Excel spreadsheet then do an automated republish of the survey? If anyone has encountered a similar scenario and can advise on the best approach that'd be appreciated.
... View more
08-14-2018
04:42 PM
|
0
|
1
|
143
|
POST
|
I'm also using Portal for ArcGIS 10.5.1 with Survey123, version 3.0 and getting a similar issue. My survey publishes OK, and I'm able to view it in my Survey123 app, but the CORS error occurs when I attempt to run the survey in a browser, whether that be IE, Firefox or Chrome: the same error occurs. I've tried adding the following to my Default web site on the Portal server. I've also tried adding them to the web adaptor only: <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Headers" value="Content-Type" /> <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" /> This makes no difference and same error occurs. Here's the error message in my browser's console: SEC7120 Origin https://survey123.arcgis.com not found in Access-Control-Allow-Origin header. I've even tried this: <add name="Access-Control-Allow-Origin" value=https://survey123.arcgis.com /> I've also tried with just Access-Control-Allow-Origin, without the Access-Control-Allow-Headers or Access-Control-Allow-Methods, but it made no difference.
... View more
07-17-2018
03:36 PM
|
0
|
0
|
57
|
POST
|
It creates the ctLand_Dispositions.shp shape file temporarily in the 'C:\Users\agis-srv\AppData\Local\Temp\geomy\extractdatatask_gpserver\jc9b53901a9dd43d489210ecb9fbe7533\scratch\scratchfolder\ folder then deletes it again after it has copied it to the jobs folder under C:\arcgisserver\directories\arcgisjobs\geomy\extractdatatask_gpserver. It's as if sometimes ArcGIS gets out of sync with itself. It creates the jobs folder and files in c:\users\agis-serv\AppData\Local\Temp then tries to retrieve from here, but has deleted them before it has had time to. It strange how it works sometime, but on other occasions it doesn't.
... View more
12-19-2017
04:29 PM
|
0
|
1
|
28
|
POST
|
By the way, agis-srv is the name of the ArcGIS Server service account, ie. the account which runs the ArcGIS Server Windows service. agisdev is the name of the server that ArcGIS Server is running on.
... View more
12-18-2017
03:46 PM
|
0
|
0
|
28
|
POST
|
The jobs directory is defined in the geoprocessing service as: \\agisdev\arcgisserver\directories\arcgisjobs. This is actually c:\arcgisserver\directories\arcgisjobs on the local machine, because agisdev is its name and the arcgisserver folder is a share.
... View more
12-18-2017
03:42 PM
|
0
|
3
|
28
|
POST
|
Hi Jonathan Thanks for your reply. No, this is a single-machine environment.
... View more
12-18-2017
03:24 PM
|
0
|
5
|
28
|
POST
|
I've set up a geoprocessing service for a client which is an ETL tool. Most of the time it works, but occasionally it fails with an error similar to the following. On each occasion I'm running it for the same area of interest, same map layer to extract from and same format (shape file), ie. all the input parameters are the same each time, yet sometimes it works, sometimes it fails. Error executing tool. MyExtract Job ID: jc9b53901a9dd43d489210ecb9fbe7533 : Traceback (most recent call last): File "\agisdev\arcgisserver\directories\arcgissystem\arcgisinput\GeoMy\ExtractDataTask.GPServer\extracted\v101\geoMy\ExtractData.py", line 522, in zipFolder = clipAndConvert(layers, areaOfInterest, featureFormat, rasterFormat, coordinateSystem) File "\agisdev\arcgisserver\directories\arcgissystem\arcgisinput\GeoMy\ExtractDataTask.GPServer\extracted\v101\geoMy\ExtractData.py", line 368, in clipAndConvert numFeatures = clipFeatures(lyr, aoi, featureFormat, zipFolderPath, scratchFolderPath, convertFeaturesDuringClip, dctColsMaster, dctRowsMaster, dctColsExport, wsExport) File "\agisdev\arcgisserver\directories\arcgissystem\arcgisinput\GeoMy\ExtractDataTask.GPServer\extracted\v101\geoMy\ExtractData.py", line 246, in clipFeatures with arcpy.da.SearchCursor(scratchpath, ["OID@"]) as cursor: RuntimeError: cannot open 'C:\Users\agis-srv\AppData\Local\Temp\geoMy\extractdatatask_gpserver\jc9b53901a9dd43d489210ecb9fbe7533\scratch\scratchfolder\ctLand_Dispositions.shp' Failed to execute (My Extract). Failed to execute (ExtractDataTask). Failed to execute (MyExtract). The error seems to be that it can't find this file: 'C:\Users\agis-srv\AppData\Local\Temp\geoMy\extractdatatask_gpserver\jc9b53901a9dd43d489210ecb9fbe7533\scratch\scratchfolder\ctLand_Dispositions.shp' Why is it creating a scratch folder here? I've looked for this file in \agisdev\arcgisserver\directories\arcgisjobs, where I'd expect it to be but the job folder, jc9b53901a9dd43d489210ecb9fbe7533, doesn't exist here at all, not in any of the subfolders. What's going on? Is it perhaps running out of memory occasionally and having to use the server's temp folder as its scratch workspace?
... View more
12-18-2017
01:37 PM
|
0
|
8
|
624
|
POST
|
I also have this issue. If I append the signin.html to the end of the URL I can sign in but then it signs me out again immediately and the sign-in link is still not there. If I access Portal for ArcGIS via its port number (https://myserver.domain.local:7443/arcgis/home/), bypassing the web adaptor, then the sign-in link appears and I can login and use Portal as normal, but it would be good if I could use the web adaptor to access it.
... View more
11-16-2017
01:43 PM
|
0
|
2
|
35
|
POST
|
I'd like to apply grouping within Web AppBuilder's layer list. Because the map layers are coming from data hosted in ArcGIS Online (not published from ArcGIS Server), this is normally not available and so it looks like I'll need to customise the layer list widget. Does anyone have any experience in this? I'd like to get some idea of the best approach and what would be involved. Some questions I'm considering: Would this work best if the layers were organised into several web maps, one group per web map? What changes do I need to make to the LayerList widget? What other widgets would I need to change and how? Any insights or sample code would be most welcome. Thanks.
... View more
10-28-2016
03:51 PM
|
0
|
0
|
620
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|