|
POST
|
Jade, outStatistics on a query layer is supported in 10.3.1. pls see 'New in 10.3.1' section in ArcGIS REST API - Map Server Layer Resources help topic. if it does not work for some reason, pls contact Esri Support and it can be looked at. Thank Tanu
... View more
01-04-2018
11:41 AM
|
1
|
0
|
1548
|
|
POST
|
Sorry somehow i missed the notification from this thread... thanks JordanBaumgardner_GIS. i need to double check, but I think 'use dynamicLayerInfo' is optional. as long as you add the same cached map service twice - as 'a dynamic map service layer' and a 'titled map service layer', and then set the layer scale-visibility-range correctly, you should be all good. BTW, you guys must have realized that this works only when you have your custom application. it does not work (as far as I know) with ArcGIS Online and portal map viewer. pls let me know if you have any question. thanks.
... View more
02-23-2017
09:06 AM
|
2
|
0
|
3219
|
|
POST
|
Re: custom text element issue - this is the case where I'd try the arcpy based printing solution that is mentioned as the #2 option in the blog post? did that not work for you? about your second issue, I'm not quite sure. let me check with folks with expertise in grid & graticule and will get back to you once i find something.
... View more
07-05-2016
03:17 PM
|
0
|
3
|
3089
|
|
POST
|
a blog article has recently been posted to walk thru the process of creating and using customTextElement. here is the link Printing Popups from Web Application | ArcGIS Blog. i hope this will help.
... View more
06-27-2016
08:46 PM
|
1
|
0
|
3089
|
|
POST
|
Hello, Could you please contact Esri Support? Someone needs to take a look at this... it should work. thanks.
... View more
06-23-2016
09:10 AM
|
0
|
1
|
4264
|
|
POST
|
Jason, did you open an incident with Esri Tech Support for your issue? we need to know why your single layer service (with no joins, not views...) not working for you? thanks
... View more
06-14-2016
01:50 PM
|
0
|
0
|
4114
|
|
POST
|
As of now, that is expected behavior - query operation always returns raw (unformatted) data while identify returns formatted results. Query results get used in many different ways -- data storing, drawing, sorting -- with formatted results, those usages get limited... in addition, it gives the client app to format data/time according to the client locale etc.
... View more
06-14-2016
09:58 AM
|
1
|
0
|
1444
|
|
POST
|
FYI: for those who want to use GeLayouttTemplatesInfo tool but haven't been able to move to 10.4, you can download the script from https://github.com/arcpy/sample-gp-tools/tree/master/GetLayoutTemplatesInfo once you copy it on your local machine, follow the steps from Tutorial: Publishing additional services for printing—Documentation | ArcGIS for Server --- only thing is that instead of using the GetLayoutTemplatesInfo from the system toolset, use the one you downloaded.
... View more
06-13-2016
09:19 AM
|
3
|
1
|
4264
|
|
POST
|
Thanks Thomas... i'm glad that in the end it worked for you though as you say it is not straight forward. My bad about option#1... i realized later that that wouldn't help in this case. for future reference, here is a boilerplate json to create a map service from the Admin site. update values for 'serviceName' and 'filePath' and you should be fine. { "serviceName": "<mapservice_name>", "type": "MapServer", "description": "", "capabilities": "Map,Query,Data", "provider": "ArcObjects", "clusterName": "default", "minInstancesPerNode": 1, "maxInstancesPerNode": 1, "instancesPerContainer": 1, "maxWaitTime": 60, "maxStartupTime": 300, "maxIdleTime": 180, "maxUsageTime": 600, "loadBalancing": "ROUND_ROBIN", "isolationLevel": "HIGH", "configuredState": "STARTED", "recycleInterval": 24, "recycleStartTime": "00:00", "keepAliveInterval": -1, "private": false, "isDefault": false, "maxUploadFileSize": 0, "allowedUploadFileTypes": "", "properties": { "useLocalCacheDir": "true", "outputDir": "C:\\arcgisserver\\directories\\arcgisoutput", "cacheDir": "C:\\arcgisserver\\directories\\arcgiscache", "filePath": "C:\\temp\\mymap.msd", "maxRecordCount": "1000", "supportedImageReturnTypes": "MIME+URL", "clientCachingAllowed": "true", "isCached": "false", "virtualOutputDir": "/rest/directories/arcgisoutput", "maxExportTilesCount": "100000", "ignoreCache": "false", "exportTilesAllowed": "false", "cacheOnDemand": "false" }, "extensions": [], "frameworkProperties": {}, "datasets": [] }
... View more
06-13-2016
09:11 AM
|
7
|
2
|
12631
|
|
POST
|
Thomas Puthusserry there are two options that i can think of: Option #1: Try what is mentioned as the alternate solution in the bug's description. Christian Wells put the link to the bug above. Basically try to publish from a previous version of ArcMap (10.3 or 10.3.1)... It is not always guaranteed to work though. Option #2: You can also try a manual process in case you feel adventurous Disclaimer: you need to have admin privileges on ArcGIS Server. Overall steps: Create an msd Use ArcGIS Server Admin site to create a map service using the msd Details: To create an msd: you can use arcpy.mapping.ConvertToMSD() function, OR in ArcMap, open 'Customize' window from 'Customize | Customize Mode... menu item' switch to 'Commands' tab select 'Map Service Publishing' from 'Categories' list box. from 'Commands' list box on the right, drag and drop 'Save Map Service Definition...' on to an existing toolbar Close use the newly added 'Save Map Service Definition' tool to create a msd and save it some place where ArcGIS Server Account has access to. Publish a map service from ArcGIS Server Admin site: Browse to http://yourServerMachine:6080/arcgis/admin/services/createService Read the API Reference help on 'createService' operation. There should be a json that you can use as a boilerplate. Make necessary changes in the boilerplate json. Most important ones are: name of the service, path to the msd etc. paste the json in the only textbox available on the 'createService' operation page click on 'Create' once that is done successfully, and if the service is not started yet, you can use Admin Site or Manager to start the newly created service.
... View more
06-10-2016
03:33 PM
|
4
|
5
|
4114
|
|
POST
|
hmm... so you are saying if you execute it from the REST service directory, it works fine. But the same service when used with the Printing widget, it times out!! how long does it take for it to finish when you execute it from the REST service directory? are you templates empty or they contain some layers? if it is all about timing out, I'm sorry I don't think i have much expertise in that area to help could you please contact Esri Support and have someone take a look at that?
... View more
06-06-2016
11:28 AM
|
0
|
0
|
7483
|
|
POST
|
Does it copy all the templates in the folder? I didn't know that. seems like you are publishing from your machine to a separate server machine, right? like any other gp or map service, if you don't have the folder registered on the server, you templates will be copied to the server in a managed folder inside \arcgiserver folder. for some reasons, if you don't want it to be auto-copied in the managed folder, you would need to register the folder from your local machine in ArcGIS Manager to point to a separate folder on the server. once you do that and publish a print service off ExportWebMap tool from your local machine, you should be just fine. please give it a try and let me know how it works.
... View more
06-06-2016
11:06 AM
|
0
|
0
|
4264
|
|
POST
|
Jon, My apologies, I'm afraid I'm not quite clear on your first issue... to publish a printing service with custom templates, steps are: - open the Export Web Map tool in Desktop, - choose the folder with your custom templates - execute the tool - publish the result the service will use templates from the folder you chose in step#2. is this not working for you? Or set up an equivalent path on the desktop machine so we can get a GP result that can be published. sorry, i can't follow this.. The script wrapper is needed anyway as a workaround to a bug where the export image filename is not returned. I've raised an issue with Esri UK support - CAS-17137-N6H0T4: Arcpy.ExportWebMap_server returns incorrect output file name. do you happen to have a NIM or BUG id for the above issue? can you pls share that with me. i'm not currently aware of any bug with output file name. Thanks.
... View more
06-03-2016
09:29 AM
|
1
|
2
|
4264
|
|
POST
|
Jon, we don't recommend using arcpy.ExportWebMap_server() in scripting environment to create your own arcpy based printing service... most of the cases you should be fine by creating your printing service from Export Web Map GP tool. In fact, these two approaches would be functionally equivalent. embedding it inside a script is not a good idea. for some advanced use cases, when you need to create an arcpy based printing service, you should use arcpy.mapping.ConvertWebMapToMapDocument() function... which gives you more control over the output.
... View more
06-02-2016
05:21 PM
|
1
|
4
|
4264
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:42 PM | |
| 1 | 05-11-2026 04:59 PM | |
| 1 | 04-16-2026 01:37 PM | |
| 1 | 03-06-2026 04:33 PM | |
| 1 | 03-05-2026 03:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|