|
POST
|
I went in Chrome's dev tools and saw I was having some errors, XMLHttpRequest cannot load https://portalhost/arcgis/sharing/rest/portals/…Evtc6zhHzj1iPH53qzHovgL_LN1KPtIkpIOUdxrg..&dojo.preventCache=1469142036656. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3344' is therefore not allowed access. The response had HTTP status code 401. Any insight guys how to address this? wab dev 1.3 doesn't seem to run into this problem. Thanks, Chris P
... View more
07-21-2016
04:12 PM
|
0
|
2
|
1807
|
|
POST
|
We are also experiencing this same issue. Any reason why AGOL webmaps dont work on IE11 on Windows 8.1 but works on IE11 on windows 7?
... View more
07-21-2016
02:53 AM
|
0
|
0
|
540
|
|
POST
|
depends how you read an excel file, you can use python xlrd library or use it as if it as a normal table in ArcMap. Anyway just create a dictionary from your excel file, myUpdatedCoordinates = {PNTID:(X,Y), ......PNTIDn:(Xn,Yn)) the loop thru your featureclass with an updateCursor, with arcpy.da.UpdateCursor(fc, ['ID', 'SHAPE@']) as cur:
for row in cur:
if row[0] in myUpdatedCoordiantes:
newgeo = arcpy.PointGeometry(arcpy.Point(myUpdatedCoordinates[row[0]][0],myUpdatedCoordinates[row[0]][1]), spatialReference=XXXX)
row[1] = newgeo
cur.updateRow(row)
... View more
07-21-2016
02:34 AM
|
2
|
0
|
754
|
|
POST
|
Perhaps your badresttime output is set in the model parameter as an "output" rather than an "input" direction. Switch that up and see if it works. If you publish it, it'll just be a parameter in the web app with a string input. But just make sure ArcGIS server has access to the local folder you want to create the output to.
... View more
07-20-2016
11:27 AM
|
1
|
0
|
1342
|
|
POST
|
Hi guys, just curious what other steps to take when launching wab dev 2.0 with our portal? I use wab dev 1.3 and it works fine. We're using portal version 10.3. Would appreciate some advise. Basically I was able to set it up and use our portal URL. when I try to launch it from browser and connect to our portal it just returns with a blank screen without the usual web app builder menus. thanks, thanos
... View more
07-19-2016
03:00 AM
|
0
|
8
|
4124
|
|
POST
|
Have you tried testing\running it Devin? I've tried this same sample script with updating AGOL services, so I would assume it would work. If there is an error then kindly update this thread.
... View more
07-16-2016
10:26 PM
|
0
|
1
|
976
|
|
POST
|
If you have named users who have been removed from an ad group, he won't have access to group content but still has valid named user account. Is there a way to delete his named user account automatically once he is dropped from the ad group?
... View more
07-14-2016
04:08 AM
|
0
|
2
|
1835
|
|
POST
|
Maybe you can just use a sqllite3 library, fetch all your required records and append to a staging featureclass, might be faster than T2T gp tool.
... View more
07-14-2016
03:16 AM
|
0
|
6
|
1934
|
|
POST
|
if you have spatial analyst or 3d analyst you can just use zonal statistics to get average values of your rasters pixels (assuming all tiles from each month overlap), or you can even use simple raster mosaic and use average on pixel value merging. If this is acceptable, you can create your looping anyway you like. That's as much as I can think of based on your rough description.
... View more
07-14-2016
02:59 AM
|
0
|
0
|
863
|
|
POST
|
from documentation, Upload Service Definition—Help | ArcGIS for Desktop , this script creates and modifies service definition draft before uploading to server
... View more
07-14-2016
02:53 AM
|
0
|
0
|
2810
|
|
POST
|
You could probably use as a template like the clip and ship tool, try to look it up. You can extend that tool where after clipping data that is referenced in an mxd, you convert the data to a CAD file before spitting it out as a zipped content?
... View more
07-14-2016
02:38 AM
|
1
|
0
|
1871
|
|
POST
|
Hi Jose, I've tried out this update script straight from our 10.3 documentation help files, it fails on 64bit and successful in 32bit python. I'm using python 2.7.8. I just find it weird that this particular function in the arcpy library fails in 64bit python while the rest works fine like creating SD drafts.
... View more
07-12-2016
03:46 PM
|
0
|
0
|
1390
|
|
POST
|
are you using 64bit python implementation? use 32bit instead, this is what I found out when testing an update script for my AGOL feature service. Not sure why StageService_server fails in 64bit python.
... View more
07-12-2016
03:38 PM
|
0
|
0
|
1510
|
|
POST
|
Hi Joshua, I'm working with SQL Server DB. I actually simplified the requirements of my query and managed to avoid using 20 tables and instead just three. So from there it was manageable to just add the results directly to my sde staging table. I think "Make Query Table" will also do as you've suggested but was quite a bit challenging to setup based on the number of table I was working with.
... View more
07-06-2016
09:27 PM
|
0
|
0
|
2512
|
|
POST
|
I suggest publish a query layer instead of an xy event layer. There should be a sql function to create a shape geometry based on your x and y column. How To: Insert geometry from XY coordinates using SQL If the data is not too big I think you can make it work, but the more data you have on the table, the heavier the load it takes to run the query against the database to render on the map. If it lags in rendering in a webmap, best to save the data in a featureclass and just write a refresh script process from sql to fc daily to get updates daily.
... View more
07-05-2016
02:00 AM
|
0
|
0
|
839
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2014 12:00 PM | |
| 1 | 01-23-2013 05:05 PM | |
| 1 | 02-13-2018 05:55 PM | |
| 1 | 07-04-2017 02:01 PM | |
| 1 | 08-02-2017 01:57 AM |