|
POST
|
I have web map in ArcGIS Online that is not shared with public, only certain groups. I need to embed this map with URL parameters in a web page that only internal staff can access. from the help doc it seems that the web map must be publicly shared. https://doc.arcgis.com/en/arcgis-online/reference/embed-map-parameters.htm Is there a workaround to allow this functionality without sharing the map with public?
... View more
02-21-2020
10:32 AM
|
0
|
4
|
5630
|
|
IDEA
|
It would be useful to not only see when a user accepted the invitation to join an ArcGIS Online Organization through Organization > Status > Members, but also to be able to see when the invitation email was sent out to the new member.
... View more
02-04-2020
11:19 AM
|
0
|
0
|
614
|
|
POST
|
In the ArcGIS Online Web App Builder Search Widget, is it possible to configure multiple attributes to show in the "display field" setting? Or somehow enter an expression? thanks
... View more
11-29-2019
10:01 AM
|
0
|
2
|
1255
|
|
POST
|
I have a standalone python script that runs on our ArcGIS 10.7.1 server nightly to regenerate a tile cache. The script runs fine when I use an admin server connection file, but when I switch to a publisher connection I am getting the error 000732: Input Service: Dataset <path to server connection file>\<service name>.Mapserver does not exist or is not supported Failed to execute (ManageMapServerCacheTiles). However, the dataset does exist at the path specified on the server. The publisher connection file uses a user that is a publisher on the server. Connection file was created in ArcMap. When I regenerate the tiles in ArcMap using the same publisher connection all works fine. Here is the script: import arcpy
from arcpy import env
import os, sys, time, datetime, traceback, string
# Set environment settings
env.workspace = "C:/data"
# List of input variables for map service properties
connectionPath = r"<drive letter>:\Scripts\ManageMapServerCacheTiles"
server = "<publisher connection file name>.ags"
serviceName = r"<service name>.MapServer"
database = "<sde connection file>.sde"
featureClass = "<feature class name>"
inputService = connectionPath + "\\" + server + "\\" + serviceName
scales = [<list of scales>]
numOfCachingServiceInstances = 3
updateMode = "RECREATE_ALL_TILES"
areaOfInterest = ""
waitForJobCompletion = "DO_NOT_WAIT"
updateExtents = connectionPath + "\\" + database + "\\" + featureClass
currentTime = datetime.datetime.now()
arg1 = currentTime.strftime("%H-%M")
file = connectionPath + "\\report_%s_<cache name>.txt" % arg1
# print results of the script to a report
report = open(file,'w')
try:
starttime = time.clock()
result = arcpy.ManageMapServerCacheTiles_server(inputService, scales,
updateMode,
numOfCachingServiceInstances,
areaOfInterest, updateExtents,
waitForJobCompletion)
finishtime = time.clock()
elapsedtime= finishtime - starttime
#print messages to a file
while result.status < 4:
time.sleep(0.2)
resultValue = result.getMessages()
report.write ("completed " + str(resultValue))
print "Created cache tiles for given schema successfully for " +\
serviceName + " in " + str(elapsedtime) + " sec on " + arg2
except Exception, e:
# If an error occurred, print line number and error message
tb = sys.exc_info()[2]
report.write("Failed at step 1 \n" "Line %i" % tb.tb_lineno)
report.write(e.message)
report.close()
print "Created Map server Cache Tiles " The error occurs on line 36. What would be the reason that the script will run with an admin connection but not a publisher connection, and using the same publisher connection in Desktop I can regenerate all tiles? Thanks
... View more
11-15-2019
08:11 AM
|
0
|
0
|
1058
|
|
POST
|
I published a feature class to ArcGIS Server 10.7.1 from ArcMap that had a definition query. The service seems to be respecting the definition query just fine. But now I'd like to modify the definition query. Is there any way to modify it after it has been published? Or can I at least see the syntax so that I can overwrite the service?
... View more
11-08-2019
12:46 PM
|
1
|
2
|
1521
|
|
IDEA
|
If you want to find items that have any of a list of tags, you can use: any(water,sewer,road,sidewalk)
... View more
10-18-2019
12:57 PM
|
0
|
0
|
1577
|
|
POST
|
We are currently using ArcGIS server (AGS) 10.7.1 and ArcGIS Online (AGO) in our organization. We have some custom vector basemaps hosted in AGO, and some secured feature service layers published from AGS. I created a custom print service in ArcGIS Pro 2.4.1 and published it to AGS as a geoprocessing service. I then added the REST URL to AGO as the default print service (Organization > Settings > Utility Services > Printing). When I try to print a web map in AGO, the vector basemap shows in the resulting PDF but not the secured feature service layers. The logs in AGS show the error: Error executing tool. Export Web Map : Failed to create layer from service at https://<server>/<webadaptor>/rest/services/<folder>/<service name>/FeatureServer/0. Failed to execute (Export Web Map). Failed to execute (Export Web Map). In communicating with Support, we have determined that it is probably a permissions issue with the custom print service. Even though I created the service in Pro and published it to Server using the admin connection, the credentials are not being passed from the print service to the secure feature service. I also have a custom print service created and published in ArcMap, but this service will not print the vector base maps (apparently this is new tech in the ArcGIS Pro print service). This link explains that the ImportCredentials function can be used to embed the proper credentials in the Print service in ArcGIS Pro: Web map printing with arcpy.mp—ArcPy | ArcGIS Desktop My problem is I am not quite familiar enough with creating a python script tool to do this. I've started with example 8 here: ConvertWebMapToArcGISProject—ArcPy | ArcGIS Desktop But I cannot get this to work with a script tool in Pro. Any help or suggestions would be much appreciated. Bottom line is I'd like to be able to print web maps in AGO containing vector base maps and secure feature service layers.
... View more
09-05-2019
08:23 AM
|
0
|
1
|
1732
|
|
POST
|
Thanks to Esri support, the cause of this was a trigger on the table in the geodatabase. Once the trigger was disabled, the enable archiving tool ran successfully.
... View more
08-28-2019
05:54 AM
|
1
|
1
|
1912
|
|
POST
|
I am attempting to enable archiving on a feature class in a SQL Server 2017 enterprise geodatabase using ArcCatalog 10.7. I get this error when I run the Enable Archiving geoprocessing tool: [[Microsoft] [ODBC Driver 13 for SQL Server]Invalid cursor state] What might be causing this error? I thought it might be a database space issue but the database is set to auto-grow and there is lots of space on the server.
... View more
08-27-2019
01:21 PM
|
0
|
2
|
2011
|
|
POST
|
I am working with Web App Builder in AGO and cannot get the Overview Map widget to display all the layers from the map's basemap. I have the widget set to display "This map's basemap". The map's basemap is a combination of a vector tile package (hosted) and a cached map service hillshade layer (from ArcGIS Server). The overview map widget is only displaying the hillshade layer of the basemap. The hillshade layer is under the vector tile layer in the basemap. If I move the hillshade layer above the vector layer and save the map, the overview map widget zooms out to the entire world and does not show the current extent of the map. Is there a way to have this widget display all the layers from the basemap?
... View more
06-18-2019
07:22 AM
|
0
|
1
|
1118
|
|
POST
|
The "Set as reference layer" option is only available for the hillshade raster tile layer, which will place it above the vector layer in the basemap but I need it below. And for both layers the Move up/Move down options are greyed out.
... View more
06-12-2019
06:20 AM
|
0
|
4
|
2898
|
|
POST
|
I have a vector tile package with a transparent background that I published to AGO. I also have a map tile package with a raster hillshade layer that I shared from ArcGIS Server to AGO. I want to create a web map in AGO with both the vector map and the hillshade tile layer in the basemap layer. But I want the hillshade layer below the vector map. I can't seem to drag the hillshade layer under the vector layer in the web map viewer in AGO. I went into ArcGIS Online Assistant and modified the JSON so that the hillshade layer is below the vector layer, and saved it. When I then view the web map, they appear correct, but when I zoom in or out, just the hillshade layer zooms independently of the vector layer. If I then pan the map, the vector layer snaps to the correct zoom level. Both tile packages were created in ArcGIS Pro using the same tiling scheme and zoom levels. Is it possible to have a raster tile layer under a vector tile layer in the basemap in AGO?
... View more
06-12-2019
05:39 AM
|
0
|
6
|
3137
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2019 05:54 AM | |
| 1 | 02-08-2019 11:55 AM | |
| 1 | 11-08-2019 12:46 PM | |
| 1 | 11-08-2019 01:16 PM | |
| 1 | 09-30-2021 11:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-25-2024
06:05 AM
|