|
POST
|
My bad, I misunderstood. So, if I understand it correctly: you have published your own custom printing service. the service has two tasks in it (1) Export Web Map and (2) Get Layout Template Infos the layouts (or mxd) used in that printing service have custom text elements... I am pretty sure you have provided 'Name' for those custom text element in the mxd... otherwise they'd not have shown up when you used the template with the Out Of The Box Printing Service. now, the problem is that when you use your custom printing service with WAB Print Widget, those custom text elements are not showing up, right? if those are correct, i have few questions: Is your printing service public? if so, can you pls share the url for me to take a look at the service resource. if it is not public, can you pls share a screen-shot for the service's REST resource? if you go to the 'Get Layout Templates Info' task's REST resource end point and execute it, does it return correct response i.e the name of the templates are correct and the text elements etc.? when you ran Get Layout Template Info gp-script-tool in desktop, did you make sure that it pointed to the "same folder" that was specified in the Export Web Map GP tool? finally, when you use or setting up the WAB Print widget, can you pls use Firebug or any other web browser developer tool to monitor what are the requests being generated by the widget and are they failing or not getting expected result?
... View more
06-02-2016
05:14 PM
|
1
|
5
|
7483
|
|
POST
|
Thanks Michael Miller. I'm glad i was able to help. Helen Whiteley, it is step# 8 in "Preparing and publishing the service" section in that help that describe how to add that additional task to the printing service in 10.4. WAB printing widget (though i'm not sure which version) looks for that GetLayoutTemplateInfo task in the printing service; if it finds it, it uses metadata from each layout and show text boxes to allow you set values for your custom text elements. This is something new in 10.4. Hope this helps.
... View more
06-01-2016
12:35 PM
|
1
|
8
|
7483
|
|
POST
|
does any of your tables, that is participating in the query, have a field of 'geometry' type? or it is just x & y coordinates are stored in two separate fields?
... View more
04-11-2016
05:42 PM
|
0
|
0
|
3754
|
|
POST
|
Sean, Yes, you are right... the tutorial is using a map and data that similar to Esri topo base map. And the output is a vector output. But it does not matter whether it is a dynamic or cached map service. the logic is identical... (a) you need to have your data locally accessible as FeatureClasses to your print service, (b) the printing service is an arcpy based custom printing service, (c) the arcpy code replaces map service layer with FeatureLayers before exporting to any vector format. hope this helps clear your confusion. otherwise, pls let me know. thanks.
... View more
04-11-2016
05:37 PM
|
0
|
1
|
1640
|
|
POST
|
if your workflow requires you to come data into a feature class, then it is okay. otherwise, you can directly publish a map with query layers as a map service and skip the export.
... View more
04-11-2016
08:59 AM
|
0
|
3
|
3754
|
|
POST
|
the most common reason it happens is because in your webmap you use map service layers. As you know map services draw features on the server side and simply returns image to the client apps.. printing service, being a client of those map services, only draws those images that come back from map services... as a result you will not get vector outputs since output from map services are not vector output to begin with. we have provided a tutorial how you can get vector outputs - it is only when those map services are yours and meet some criteria. Tutorial: Basic web map printing and exporting using arcpy.mapping—Documentation | ArcGIS for Server it is worth noting that when you ask for vector formats like pdf from printing service; printing service return feature layers and/or graphic layers (used in your web map) as vectors as long as they meet certain criteria such as no-transparencies, no picture symbol etc. hope this helps.
... View more
04-08-2016
06:00 PM
|
1
|
3
|
1640
|
|
POST
|
yes, it should work with query layer. query layers are meant to support this kind of complex query. as long as you don't have something in your sql that is not supported by your underline database in sub-queries then you should be fine.
... View more
04-08-2016
11:04 AM
|
1
|
5
|
3754
|
|
POST
|
Thanks Vish. Which version of ArcGIS Server you are using? Will I be able to access that service to repro that in house? I have a feeling that it got fixed recently...
... View more
09-16-2015
09:05 AM
|
0
|
0
|
1767
|
|
POST
|
Vish, Storing credentials with the ExportWebMap Tool should work with non-Esri secured WMTS service too. Could you pls try this in Desktop and have Fiddler (or some other tool) to check what is going on? If that does not help much, I'd suggest you to contact Esri Support and open an incident for further investigation.
... View more
09-15-2015
09:12 AM
|
1
|
2
|
1767
|
|
POST
|
Starting at 10.3.1, both map and feature service supports defining which timezone the date values are stored. This is per service level settings. once you do that, map and feature service will use information to convert date-time values to UTC and you will get correct results in a query output. for more information, please check the help on "dateFieldsTimezoneID" and "dateFieldsRespectsDaylightSavingsTime" in ArcGIS REST API . only caveat for 10.3.1 is that you need to add them manually using Admin API/Site after the service is published... we are planning to improve that experience in future. hope this helps.
... View more
08-27-2015
02:16 PM
|
1
|
4
|
5950
|
|
POST
|
the link you put in your reply takes brings me back to this thread... can you please check the link?
... View more
08-27-2015
11:17 AM
|
0
|
1
|
5412
|
|
POST
|
FYI: case sensitivity in query depends on the underlying database and its settings. Clients like ArcMap or ArcGIS Server simply passes the sql where-clause to the underline database.... are you publishing by copying data on to the server and in that process the data gets copied to a different type of database? that may explain why it works in ArcMap but not on ArcGIS Server.
... View more
08-27-2015
09:58 AM
|
2
|
3
|
5412
|
|
POST
|
Is the datasource a FileGDB when you ran into this issue i.e. pagination fails unless you add ObjectID field? if so, it happens due to a known bug with FileGDB. In general pagination in ArcGIS Server needs Order By field(s), if you don't specify anything in Order By, it uses ObjectId fields as a default field to sort records (pls see the 2nd bullet in "What's new in 10.3" section in ArcGIS REST API help topic). When you specify OutFields (without ObjectID field in there) but nothing in Order By, the sql that goes to the database looks something like 'SELECT F1, F2, F3 FROM TABLE1 ORDER BY ObjectID .... ". FileGDB does not like it when fields in Order By is not part of the SELECT list.
... View more
08-27-2015
09:54 AM
|
1
|
0
|
8276
|
|
POST
|
FileGDB supports pagination starting 10.3.1... to see the complete list of supported databases,, please check "What's New in 10.3.1" and "What's New in 10.3" sections in the ArcGIS REST API help link. Hope this helps.
... View more
08-27-2015
09:34 AM
|
0
|
0
|
1103
|
|
POST
|
I'm not sure I understood this correctly... are you using this in ArcMap or with any web apps? did you happen to try like the following? did it not work? "(" & [FROMLEFT] & "-" & [TOLEFT] & ")"
... View more
02-06-2015
03:44 PM
|
1
|
1
|
999
|
| 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
|