POST
|
Though not completely related to your situation I found I also received the same error message which had a different cause and solution. Hopefully this will help someone. For me, this message occurred when generating Runtime content where the map contained feature classes that had names beginning with an underscore. After I renamed the feature classes in the geodatabase (removing the preceding _ ) and re-adding them to my MXD I was able to generate the .geodatabase file successfully.
... View more
04-21-2017
09:40 AM
|
0
|
0
|
452
|
POST
|
I re-wrote a variation of the original tool in .NET and posted it here: awarrencaslys/QuickFind.Net · GitHub
... View more
09-16-2014
08:34 AM
|
0
|
0
|
557
|
POST
|
Jian when you say '2.6 doesn't include that functionality' what specifically are you referring to? Is it the rendering? I have been trying (without success) to render a dynamic layer with a table join with a unique value renderer. I was following the example that uses the GenerateRendererTask. It goes into the error callback function on the task 'execute'. In the task 'constructor' I send in the dynamic layer URL. Is this something I should be able to try and get working or is it a current limitation? Thanks
... View more
12-28-2011
02:15 PM
|
0
|
0
|
393
|
POST
|
Anthony, 2.6 doesn't include that functionality. We are working on it and hoping to have it in the next release. What you described is possible even with current JS API as you can talk to REST API directly. But I would recommend to wait for the release. The reason that arcgis.com works is that the URL that you entered returns a regular layer resource which can be added to the map as a featureLayer. The same scenario should work on your own JS API based application. Thanks Jian -- I was trying to do it as a 'map' layer not a feature layer. I used the add feature layer method and I've been able to add both the simple and joined layer dynamically which is great. I'll have to spend some time seeing what I can do with it now but look forward to the next api release. Dec 23 Edit: Jian when you say '2.6 doesn't include that functionality' what specifically are you referring to? Is it the rendering? I have been trying (without success) to render a dynamic layer with a table join with a unique value renderer. I was following the example that uses the GenerateRendererTask. It goes into the error callback function on the task 'execute'. In the task 'constructor' I send in the dynamic layer URL. Is this something I should be able to try and get working or is it a current limitation? Thanks.
... View more
12-22-2011
09:41 AM
|
0
|
0
|
393
|
POST
|
Can anyone tell me if this functionality of adding a dynamic layer was added in the 2.6 javascript api? And if so, how it is done. Or is this still forthcoming? I have been unsuccessful with my own local application testing (with 10.1 beta 2) but I was able to enter a dynamic layer formatted JSON string from my server into the arcgis.com online map builder and successfully add the layer. This the basic syntax I used http://MyServer/agspub/rest/services/MyService/MapServer/dynamicLayer?f=json&layer={"source": {"type": "dataLayer","dataSource": {"type": "table","workspaceId": "Prototype","dataSourceName": "MyDatabase.DBO.MyFeatureClass"}}} This thread seems to indicate that arcgis.com is using the same api http://forums.arcgis.com/threads/45458-ArcGIS.com-Interface-vs-JavaScript-API?p=155160 so I would think I should be able to do the same thing locally in my own application. The test I tried on arcgis.com was for just a simple layer (no symbology or joins). When I tried a JSON string with a join I could not add it this way (no error, but nothing added to the map). However when I enter the full REST URL into my local browser to get the dynamic layer resource, the response looks correct with no errors. The arcgis.com testing was just to see if my JSON was correct. Ultimately I wanted to test the performance of a dynamic layer with a table join with rendering based on the joined table attributes in my own application. Looking at the REST documentation for dynamic layers it looks like it should be possible. Can anyone tell me if what I'm trying to do can be done? Or when the functionality will be available? I seem to be close to success but I'm not quite there. thanks Anthony Warren Cengea Solutions Victoria BC
... View more
12-22-2011
06:59 AM
|
0
|
0
|
393
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|