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
|
290
|
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
|
458
|
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
|
616
|
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
|
700
|
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
|
700
|
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
|
700
|
POST
|
Hi Jonathan Thanks for your reply. No, this is a single-machine environment.
... View more
12-18-2017
03:24 PM
|
0
|
5
|
700
|
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
|
1296
|
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
|
1137
|
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
|
774
|
POST
|
I had the same problem. I checked the password against the ArcGIS for Server Windows service, as described by R J Sunderman, and it was correct. I had the IT Dept change the password to a more simple one, but that didn't help either. I asked them to give me admin rights and full permission to the c:\windows\temp folder, but these didn't help either. Nothing I did would get me past the login screen in GeoEvent: it would keep telling me the password was wrong. In the end what I did was run the ArcGIS for Server post installation again "Configure ArcGIS Server Account" using the option to save the passwords and other info out to an XML file. Then I ran the GeoEvent installation again and instead of attempting to type in the password, I selected this XML file. This time it worked! I am running ArcGIS for Server 10.4.1 and GeoEvent 10.4.1. Thinking about it, the issue may be related to not having an SSL certificate correctly installed.
... View more
08-10-2016
10:28 AM
|
0
|
0
|
787
|
IDEA
|
Calling ArcGIS Online a 'portal' is confusing, because 'Portal' (capital P) is a product in its own right. Under current Esri nomenclature ArcGIS Online is a 'portal' (lower case p) but is not Portal (upper case P). Clear as mud? Instead, why not call ArcGIS Online a 'gateway', 'door', 'gate' or something else? Call it anything except a 'portal'. Then we can say for example: ArcGIS Online is a gateway. Portal is a gateway. That is so much simpler and causes way less confusion.
... View more
06-03-2016
02:54 PM
|
7
|
0
|
671
|
POST
|
Thanks, Robert. That is what I need. Here's the line that I've amended in code, and it works now. this.ptLatLong = webMercatorUtils.geographicToWebMercator(new Point(dblLong, dblLat));
... View more
04-19-2016
08:40 AM
|
0
|
0
|
355
|
POST
|
I’m looking for some help with the buffer tool in the JavaScript API. I have looked online but with no success. I am getting a Latitude, a Longitude and a buffer distance from the user then attempting to buffer this point. This is a custom widget that I'm creating in the Esri Web AppBuilder Developer Edition. Here’s my code snippet. var dblLat = domAttr.get(this.inputLat, 'value'); var dblLong = domAttr.get(this.inputLong, 'value'); if (dblLat =="" || dblLong =="" || isNaN(dblLat) || isNaN(dblLong)) { new Message({message: this.nls.notANumber}); return; } if (this.pointLayer){ //Remove old point layer from map. this.map.graphics.remove(this.pointLayer); } console.log("Placing point on the map."); this.ptLatLong = new Point(dblLong, dblLat); var pointSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 10, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0,0,255]), 1), new Color([0,0,255])); this.pointLayer = new Graphic(this.ptLatLong, pointSymbol); //Add the point to the graphics layer. this.map.graphics.add(this.pointLayer); var bufferDistance = this.txtBufferDistance.value; var bufferedGeometry = geometryEngine.buffer(this.ptLatLong,bufferDistance,'meters',true); This fails at the last line with: TypeError: b is undefined It seems to be a problem with the actual geometry, this.ptLatLong. Elsewhere I have a similar line of code to buffer other geometries entered by the user and it works with no errors. I've also tried geometryEngine.geodesicBuffer and this gives the same error. Any help would be appreciated. Thanks.
... View more
04-18-2016
05:48 PM
|
0
|
2
|
2336
|
POST
|
I’m using the Web AppBuilder Developer Edition and have downloaded my application to the IIS folder on my laptop. I’m now working to extend the Query widget. This already has the ability to use a spatial filter based on a graphic drawn on the map by the user. I’d like to extend it so that the user has the option toupload a zipped up shape file to use as a spatial filter. At first I thought to use adata-dojo-type="dojox/form/Uploader", but then I found an example which uses a data-dojo-type="dijit/layout/ContentPane"and a <form enctype="multipart/form-data", then uses an‘on(dom.byId("uploadForm"), "change", function (event)’ tocheck for when then user has used the form to select a zip file. Is it a case of trying to use either a"dojox/form/Uploader" or the method shown in this example when extending the Query widget, or should I somehow combine both? Thanks.
... View more
04-07-2016
10:40 AM
|
0
|
0
|
1298
|
Title | Kudos | Posted |
---|---|---|
7 | 06-03-2016 02:54 PM |
Online Status |
Offline
|
Date Last Visited |
12-09-2023
12:58 AM
|