|
POST
|
David, Kuba: I'd suggest to contact Esri Tech Support to have them take a look at your issue. few things: 1. I have noticed that "Shape.STArea()" field is missing even though it is a polygon fc 2. are you publishing by copying the data (it does not seem to; just wanted to double-check) 3. did you stop the map service before adding the new field? or, do you happen to have schema-locking disabled? 4. did you ever try deleting the exiting map service first >> then add new field >> and publish as a new map service? thanks. Tanu
... View more
07-17-2013
08:30 AM
|
0
|
0
|
2387
|
|
POST
|
Where can I find the actual data that is uploaded to the server to verify everything is being copied? [In Desktop 10.1 & above] Right-click on a service in the Catalog Window >> Select "Service Workspace..." >> once the window is opened, click on the root on the tree list.
... View more
07-17-2013
08:10 AM
|
0
|
0
|
818
|
|
POST
|
I switched my print service from Asynchronous to Synchronous and that seems to have made the difference. (Although I still think it's gremlins.) In the instructions for authoring it suggested you can use either for your Execution Method. I didn't find that was the case! Hmm... that shouldn't make any difference. You should use async only when you think it may take longer to generate output. I'd recommend you to contact Esri Tech Support to submit an incident and have them check why async vs sync makes all the difference in your case. Thanks.
... View more
06-12-2013
11:36 AM
|
0
|
0
|
1825
|
|
POST
|
I'm having a real hard time spotting the typo, but I think I'm missing an ending curly brace to close out value of layoutOptions. I'm not an expert in JS, but i thought you'd have got an run-time error if you had any missing ending curly braces. I'm not sure which IDE you are using to write JS code. But as you know you can search the web with "Javascript lint" and use one of those online lint apps to find those syntactical errors. And as always, as you did in the other case, you can use console.log(this.templates.layoutOptions) to make sure that object looks good. I'm still trying to decide if my service is OK. I'm having a really hard time testing it without programming something. in order to find out whether you service is ok, you can go to the REST end point of your printing service's task, paste the JSON generated by your app (if you need to fix the missing braces or something like that, fix it, you use some sites like jsonlint.org to check the validity of the json) in ExportWebMap_As_JSON text box, specify the name of the Layout Template and click Execute. One thing that I noticed (not a bug or error) is that in your code, you are updating layoutOptions for all templates! do you need to do that? If I'm not mistaken, I think you should update layoutOptions only for the selected template, not all.
... View more
06-11-2013
09:54 AM
|
0
|
0
|
1825
|
|
POST
|
Janice, unfortunately, these are known issues. Currently, unchecking any formats or templates from the Service Editor dialog box has no effect. removing template mxds from the folder is a workaround for templates. but there is no workaround for choosing a subset from the format list.
... View more
06-10-2013
09:12 AM
|
0
|
1
|
602
|
|
POST
|
Tracy, Custom text elements need to be defined as separate objects, then they need to be put in an array before assigning that array to the layoutOptions.customTextElements property. http://developers.arcgis.com/en/javascript/jsapi/printtemplate.html#layoutoptions here is a snippet of how JS code should look like:
template.layoutOptions = {
titleText: "just something",
customTextElements: [
{ "descripText": "BEG 192.1 FT S SE COR KANSAS & KEARNEY STS S 50 FT E 160 FT N 50 FT W TO BEG11/29/22 (EX W 20 FT" },
{ "subTitleText": " 2331 N KANSAS AVE" }
]
};
here is the equivalent JSON gets sent to a Printing service:
"layoutOptions": {
"titleText": "just something",
"customTextElements": [
{
"descripText": "BEG 192.1 FT S SE COR KANSAS & KEARNEY STS S 50 FT E 160 FT N 50 FT W TO BEG11/29/22 (EX W 20 FT)"
},
{
"subTitleText": " 2331 N KANSAS AVE"
}
]
}
hope this helps.
... View more
06-10-2013
08:58 AM
|
0
|
0
|
1825
|
|
POST
|
Rob, I'm afraid the link to your map service will not help much. Please contact Esri Tech Support -- they will probably look at your data etc. to find out where the problem lies. Thanks.
... View more
05-30-2013
08:04 AM
|
0
|
0
|
1982
|
|
POST
|
I'd use create an arcpy script, publish that as my custom printing service and use that with my PrintTask in my web app. These are what arcpy script would do: calll ConverWebMapToMapDocument() with your layout template to create a mapdocument object use LegendElement and apply legend style of your choice export to pdf or any other format here are some help links help you with the script. http://resources.arcgis.com/en/help/main/10.1/#/Advanced_printing_for_web_maps/01540000056t000000/ http://resources.arcgis.com/en/help/main/10.1/#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0154000005z3000000/ http://resources.arcgis.com/en/help/main/10.1/#/ConvertWebMapToMapDocument/00s30000006n000000/ http://resources.arcgis.com/en/help/main/10.1/#/LegendElement/00s300000041000000/ http://resources.arcgis.com/en/help/main/10.1/#/ExportToPDF/00s300000027000000/ hope this helps.
... View more
05-29-2013
10:05 AM
|
0
|
0
|
950
|
|
POST
|
Views should not be any different than FeatureClasses. It should be working with 10.1 too. Would you mind contact Esri Technical Support with reproducible steps/data? We'll be more than happy to look into the reason it is failing for you. Thanks.
... View more
05-29-2013
09:06 AM
|
0
|
0
|
1982
|
|
POST
|
getting statistics from non-default version is supported for 10.2. in query stats request, do not use "*" as 'onStatisticField', instead provide e.g. OBJECTID. try to avoid using anything that could potentially be a keyword or function name in the outStatisticFieldName. in you case, try something other than "count". Also, this is an optional property that you don't need to specify.
... View more
05-28-2013
09:58 AM
|
0
|
0
|
1982
|
|
POST
|
you must use FieldName with the query. FieldAliases are not supported. Field-aliases live either in the mxd or at the GDB stack, the underlying database is not aware of this, as a result it fails.
... View more
05-28-2013
09:49 AM
|
0
|
0
|
770
|
|
POST
|
LabelingInfo in a mapservice's layer's resources (on REST) always returns null when advanced-expression is used to define labels. dynamic map service's export call will draw them correctly though using the advanced labeling expression that you set in the source map, it is just that LabelingInfo will always be null (when advanced expression is used).
... View more
05-28-2013
09:37 AM
|
0
|
0
|
1799
|
|
POST
|
starting at 10.1 SP2, map service's query operation allows you to get unique values. All you need to do is set "OutFields" to that field from where you need to extract the unique value and set "returnDistinctValue" to True http://resources.arcgis.com/en/help/rest/apiref/query.html
... View more
05-28-2013
09:28 AM
|
0
|
0
|
2631
|
|
POST
|
when you try to print a map service from ArcMap at higher resolution, it requests for a larger image. Since default max image height and width is 2048, mapservice never returns image larger than 2048x2048 even when ArcMap asks for 9000x9000 image. That image gets stretched to fit the area on your layout hence you get pixelated output. you need to increase the default maxImageHeight and width.
... View more
05-28-2013
09:00 AM
|
0
|
0
|
709
|
|
POST
|
Steve, when a layer is joined, the field named used in any operation must be fully qualified (e.g. layerName.FieldName or DBname.username.layername.fieldname). pass in the field name exactly the way it is showed up in the layer's resource page.
... View more
05-28-2013
08:47 AM
|
0
|
0
|
997
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 10-23-2025 03:46 PM | |
| 1 | 08-21-2025 11:11 AM | |
| 1 | 07-30-2025 01:43 PM | |
| 1 | 07-02-2025 11:07 AM |
| Online Status |
Online
|
| Date Last Visited |
8 hours ago
|