|
POST
|
Tony, Did you try ArcGIS Server Printing Service (new at 10.1)? Did it not work for you? The printing service knows how to work with the dynamic layers with a map service. http://resources.arcgis.com/en/help/main/10.2/#/Printing_in_web_applications/0154000004w5000000/ Please let me know if you have any question. Thanks. Tanu
... View more
01-08-2014
07:31 AM
|
0
|
0
|
627
|
|
POST
|
All, You'd not need to restart a service after publishing just to refresh the choice list. The list should get populated during the publishing time. I was unable to reproduce this behavior in-house. I'd recommend you to contact Esri Tech Support and have an analyst take a look at your individual situations. Sorry about the inconvenience. Tanu
... View more
11-22-2013
08:27 AM
|
0
|
0
|
1151
|
|
POST
|
Josh, Currently LabelinglInfo is not supported for layers in featureCollection (aka graphic layers). to draw labels on top of features, you need to have a separate layer (of point type) inside the featureCollection with geometries defining the location where labels will be drawn and text symbols. Here i have attached a json (modified version of yours) that shows how to draw labels. I have also attached the output from a printing service using the json. Thanks. Tanu
... View more
11-20-2013
10:23 AM
|
0
|
0
|
1901
|
|
POST
|
[update] Here is the KB article targeting the Printing Service http://support.esri.com/en/knowledgebase/techarticles/detail/40538
... View more
11-13-2013
06:45 AM
|
0
|
0
|
5234
|
|
POST
|
Aaron, Unfortunately the problem is a server side issue and I can't think of anything that you could do to work around this problem from the client side for a map service layer. Only if it were (a) a featurelayer and (b)all symbols are simple-symbols (not picture marker/fill symbols), it might have worked for you. I will strongly recommend you to talk to the admin of the server running the Printing Service and have the work around implemented. If the server admin absolutely can't do that: can you use png? this particular issue should not exist with png or jpeg. Tanu
... View more
11-13-2013
06:43 AM
|
0
|
0
|
5234
|
|
POST
|
I don't know whether Oracle supports case insensitive searches... having said that... this seems to be wrong choice as we might have to build different WHERE clauses depending on the RDBMS backend (or is UPPER('field name') LIKE UPPER('%term%') truly universal - at least SQL Server and Oracle?) it seems to me that your this particular problem can be solved with the StandardizedQueries - which is enabled by default. This is a new features starting at 10.2. With StandardizedQueries enabled, you DO NOT need to build different WHERE clauses depending on the backend RDBMS, instead your query MUST conform to StandardizedQueries specifications, and ArcGIS Server will do the conversion for you. http://resources.arcgis.com/en/help/main/10.2/index.html#/Supported_SQL_functions_in_ArcGIS_Server/015400000686000000/ e.g. in this case, simply pass in your where-clause as UPPER('field name') LIKE UPPER('%term%') without worrying about the underlying database.
... View more
11-11-2013
08:24 AM
|
2
|
0
|
1210
|
|
POST
|
YL, in case you can figure out all applicable dispatch zones upfront, you can setup your layer's unique-value-renderer with additional values, even when your layer does not have those values. So, you setup your layer's unique value renderer with all possible dispatch zone id/name and publish. As new features with new values get added to the spatial table, a simple refresh from your web app or arcgis.com map will show new features with new symbols. in case you really need to do dynamic rendering on the server side, here are few links that you may find helpful: About Dynamic Layers: http://resources.arcgis.com/en/help/main/10.2/index.html#/About_dynamic_layers/00sq000000n1000000/ JS API sample on changing layers symbology on dynamically: https://developers.arcgis.com/en/javascript/jssamples/renderer_dynamic_layer_change_attribute.html there is also a task that allows you to get unique values renderer with updated values from server side. https://developers.arcgis.com/en/javascript/jsapi/generaterenderertask-amd.html all ArcGIS Web APIs have similar capabilities.
... View more
10-29-2013
07:48 AM
|
0
|
0
|
1045
|
|
POST
|
Starting at 10.1, you can toggle the switch from Desktop or on Manager. Open a service's properties page, go to Parameter page, the option to toggle the switch is inside the "Properties" section. Click "Save and Restart" button on the Manager or in Desktop click OK buttons to save and restart the service (it is NOT needed to restart the entire ArcGIS Server service unlike ArcGIS Server pre-10.1 releases) ... but I was looking for a way so when adding a map service, the schemaLockingEnabled would default to false instead of true. this is not currently supported.
... View more
10-25-2013
09:34 AM
|
0
|
0
|
6813
|
|
POST
|
Jack, This was a Desktop bug (not a server side issue) during publishing which got fixed in 10.2. http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDgyNzY0 Please upgrade your ArcMap to 10.2 that should resolve the issue for you.
... View more
10-24-2013
07:53 AM
|
0
|
0
|
781
|
|
POST
|
I have to use Rest API to get the values for the workaround currently. yes, that is one workaround. As you know, you can always use Visual Studio (or other development environment) to create proxy classes using the map service wsdl (e.g. the link I provided earlier) and then use those proxy classes in your code.
... View more
10-22-2013
08:14 AM
|
0
|
0
|
1057
|
|
POST
|
at 10, you can't get KeyField and ForeignKey Field from a relationship class. (if I'm not mistaken) starting at 10.1, those additional information including cardinality are exposed in MapServer SOAP API's RelateInfo type. click this link http://sampleserver6.arcgisonline.com/arcgis/services/Census/MapServer?wsdl and look for RelateInfo type.
... View more
10-17-2013
09:10 AM
|
0
|
0
|
1057
|
|
POST
|
1) I believe that depends on Oracle settings. the StandardizedQueries recommends that to make it work across all databases. That is the main idea behind StandardizedQueries, so that the end user does not need to worry about the underlying database's flavor - the end user writes a sql query following StandardizedQueries specs, and ArcGIS Server converts that to an appropriate sql statement conforming to the underlying database's syntax etc. 2) StandardizedQueries syntax doesn't allow to specify dateformat, so you are right, the only option you are left with is to disable StandardizedQueries, if it is absolutely necessary to specify the dateformat in the query.
... View more
10-14-2013
08:40 AM
|
0
|
0
|
2440
|
|
POST
|
Joshua, at this point, I'd recommend you to contact Esri Tech Support.
... View more
10-14-2013
08:28 AM
|
0
|
0
|
1300
|
|
POST
|
I'm not sure. When StandardizedQueries is enabled, internally a standardizedQuery-function gets converted to a database-specific-function before the modified query gets sent to the database to process. I don't know which Oracle functions, DATE and TIMESTAMP are mapped to.
... View more
10-11-2013
10:58 AM
|
0
|
0
|
2440
|
|
POST
|
Kevin, Sorry it took me a while to respond. In your case, you should remove "scaleBarOptions" option from the request that going to the printing service. When printing service does not find that element in the request, it does not touch any scale bars elements on the layout. this is how it'd look: {"mapOptions":{"showAttribution":false,"extent":{"xmin":449678.6470890906,"ymin":520631.85906350036,"xmax":632339.5564109093,"ymax":578434.2466682756,"spatialReference":{"wkid":3071}},"spatialReference":{"wkid":3071}},"operationalLayers":[{"id":"lyrBaseEditing","title":"lyrBaseEditing","opacity":1,"minScale":0,"maxScale":0,"url":"http://apwmad0d1600/arcgis/rest/services/PUBLIC/PUBLIC_Base_WTM_INT/MapServer","visibleLayers":null,"layers":[]},{"id":"map_graphics","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[500,400],"dpi":96},"layoutOptions":{"titleText":"Test Title","copyrightText":"in R 2013","customTextElements":[{"Title":"Test Title"},{"Compartment":"22"},{"Text 2":"40 Acres"},{"Text 1":"Ashland"},{"Forester":"Smokey Bear"},{"userId":"KG"},{"TRS0":""},{"TRS1":""},{"TRS2":""},{"TRS3":""},{"Property":"LINCOLN COUNTY FOREST"}],"legendOptions":{"operationalLayers":[{"id":"lyrBaseEditing","subLayerIds":[10,14,15,17,21,22,25,29,30,38,39,41,42]}]}}} The 'scaleBarOptions' in ExportWebMap specs (that Printing service uses) is meant to modify unit (on per request basis) of a scalebar in metric and another in non-metric system. e.g. you can have a scalebar to show units in yards and another in meters or miles and km. It is not designed to modify units of scalebars in the same system but two different units (e.g. mi and yards in your case, or another example where you would want to have two scale bars showing units in 'km' and 'meters').
... View more
10-11-2013
09:24 AM
|
0
|
0
|
1321
|
| 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 |
2 weeks ago
|