|
POST
|
Jake, I'm not sure why it is not working for you. I'd appreciate if you could contact Esri Tech Support and have them take a look at this. Thanks.
... View more
08-13-2013
12:56 PM
|
0
|
0
|
2604
|
|
POST
|
Alan, please contact Esri Tech Support. Sorry I can't think of anything further w/o looking at this.
... View more
07-22-2013
11:31 AM
|
0
|
0
|
1196
|
|
POST
|
try this: right-click on the service in ArcMap's Catalog window click on Service Properties... once the Service Editor is opened, click on "Parameters" page get the path from "Publish Documents" using Windows Explorer, browse to the Publish Documents folder there should be one .mxd file open that and check whether you can find that specific layer Note: DO NOT modify them - these folders and their contents (.mxd/.msd etc.) are managed by the Server framework. Modifying the contents may result in expected failures or corrupt the server
... View more
07-19-2013
08:37 AM
|
0
|
0
|
1196
|
|
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
|
3064
|
|
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
|
1196
|
|
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
|
2452
|
|
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
|
2452
|
|
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
|
1024
|
|
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
|
2452
|
|
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
|
2604
|
|
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
|
1960
|
|
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
|
2604
|
|
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
|
2604
|
|
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
|
1060
|
|
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
|
3511
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 03-06-2026 04:33 PM | |
| 1 | 03-05-2026 03:22 PM | |
| 1 | 03-05-2026 03:25 PM | |
| 2 | 03-05-2026 01:53 PM |
| Online Status |
Online
|
| Date Last Visited |
a week ago
|