POST
|
Hi again Alex, Regarding your last question about "Dropdown lists in JS Maptools cannot overlap the map", the reason a dropdown cannot over the map is that each widget and map tool extension is actually running inside a webBrowser control (for the desktop app)/an iframe (for the browser app), so everything in the extension will be confined in their dedicated area. For your use case, will it be possible to replace the dropdown with another type of control (e.g. some radio buttons?), or what about moving this setting to the configuration UI? Or if the above options are not acceptable, could you share a bit more why this is a must have feature for your extension so that I can submit the info along with this enhancement request? Cheers, Tif
... View more
12-16-2015
02:59 PM
|
0
|
1
|
815
|
POST
|
Hi Alex/Mahmoud , Thanks for your enhancement requests! Regarding your question about the map tool you’re trying to build, map tools don’t know the concept for data sources, as data sources are used to drive the widgets in an operation view. Map tools, on the other hand, deal with the map (e.g. show graphics, set extent). So the concept of data sources and map layers should be treated differently. With that, I rephrased your use case a bit based on my understanding to it. Please let me know if my thinking is along the same direction as yours: In the configuration, implement a selector for the operation view publisher to choose a layer (not a data source). Get a reference (possibly the URL) to the selected layer in the map tool Manipulate the features of the layer by toggling the visibility of the features within the buffer. If my understanding is correct, you should be able to achieve #2 and #3 with the existing API. Tim pointed us to a great sample that illustrates how to select the features within a given geometry, but if you want to display the actual symbols of the features as shown in your screenshot, you can try the following steps: Create a GraphicsLayerProxy up front (preferably in hostReady). It will be used to hold the graphics of the features to be shown on your map (i.e. mapWidgetProxy) (see this tutorial to learn more) Create the buffer and get its geometry (again you can take a look at the tutorial above to learn how to do so) Query for features: Create a QueryTask with the URL to your feature layer (captured from the configuration UI) Create a Query object, pass in the geometry of the buffer as a query parameter Do an QueryTask.execute(query) to get the features (i.e. Graphic objects) from the layer Pass in the features from the step above to GraphicsLayerProxy.addOrUpdateGraphics() With the steps above, you should be able to get the features displayed on the map. For #1, you need to know the URL to the target layer ahead (either by hardcoding it or capturing it from the config UI), and send it into your map tool. This is due to a limitation in our current API that the layer information of a map is not exposed. Please let us know how it goes, and we'd love to hear from you again for other enhancement requests! Tif
... View more
12-16-2015
02:45 PM
|
0
|
1
|
815
|
POST
|
Hi Jonathan, At this point Operations Dashboard doesn't have the capability to expand custom widgets. However, this is one of the features we want to implement as this requirement is already requested by a few customers (including you). Ideally, it will be a property that you can configured in the manifest. Meanwhile, could you tell me a bit more about what kind of custom widget you're building that you want it to be expandable, and how will the "enlarged view" bring benefits to the users of your widget? It will be best if you could share some screenshots, prototypes or even a sample. Any other information you want us to know will be appreciated too. Thanks! Tif
... View more
12-15-2015
09:52 AM
|
0
|
0
|
298
|
POST
|
Hi Simo, Lately we've released another feature action sample that showcase how to export features in an operation view into a CSV file, please check it out at our GitHub repo, and if you have any questions/find any issues, please feel free to submit issues or pull request in the repo, or update us on this thread. Cheers, Tif
... View more
12-15-2015
09:35 AM
|
2
|
1
|
316
|
POST
|
Hi Kelly, What version of the WPF SDK are you using to build your addin? Tif
... View more
12-14-2015
05:41 PM
|
0
|
1
|
207
|
POST
|
Hi Sviva, We came across a similar bug but that one was fixed a while back. Could you check if your basemap has been shared publicly, and if so, will you be able to share with me your operation view so I can take a look? My ArcGIS Online username is tif.geonet in case you need it. Cheers, Tif
... View more
12-14-2015
05:32 PM
|
0
|
8
|
730
|
POST
|
Hi Ben, At this point our extensibility framework isn't capable of detecting theme switching, but this is definitely one of the features we want to do in out future release. For now, you might want to consider adding background color for your extension (see our elevation profile sample). Cheers, Tif
... View more
12-14-2015
05:24 PM
|
1
|
1
|
233
|
POST
|
Hi Cassidy, Desktop Operations Dashboard is deployed using Microsoft's ClickOnce technology, if you want the app to launch directly instead of getting the application file downloaded everything, you can access the Try It/open operation view link use IE. Chrome also has some extensions (e.g. Meta4 ClickOnce Launcher) that support the same user experience. I am not aware of any addon for Firefox doing the same too, but I could be missing something here. Cheers, Tif
... View more
12-14-2015
05:16 PM
|
0
|
0
|
206
|
POST
|
Hi Noppadon, Thanks for sending in the sample. I am able to reproduce this problem using my own data, and it seems to be a bug in our API. I noticed that when this.dataSourceProxy.executeQuery(this.query) is called, the buffer's geometry is already dropped from the params of the request, which possibly explains why all features are returned. I have logged a bug into our system and will work with our developers on this. As you pointed out in another post in the forum, you can use the QueryTask.execute() method as a workaround. I have tried that by replacing the "this.dataSourceProxy.executeQuery(this.query).then(lang.hitch(this, function(results) {}));" block by the following code block, and the table would be populated correctly in the both desktop and browser platforms var url = "<url to your data source>"; var queryTask = new QueryTask(url, null); queryTask.execute(this.query).then(lang.hitch(this, function(results){ this.createTable(results); })); Tif
... View more
12-14-2015
04:40 PM
|
2
|
2
|
535
|
POST
|
Hi Horia, For #1 (get Int value for fields with coded value domains): The value that you receive is probably the domain code. You need to translate it into the domain name. You should be able to find out the domain information from dataSourceProxy.fields[IndexOfTheFieldYouWant].domain, and that will give you a domain object to look up for the info for the parsing. For #2 (field name instead of field alias is retruned), do you have some code snippet that you can share? For #3 (selectFeaturesByObjectIds doesn't work) I will investigate to see if there is a bug preventing selectFeaturesByObjectIds from working correctly. Please note that the supportsSelection property is read only property, could you check if your widget is consuming a selection data source? I just tried the supportsSelection property (not the selectFeaturesByObjectIds method) and it is returning the correct value to me.
... View more
12-14-2015
02:28 PM
|
2
|
2
|
275
|
POST
|
Recently we've added an "Export to CSV" feature action sample to our GitHub repository. It's written using the ArcGIS API for JavaScript and will work in both the Windows and browser platform. Please check it out and if you would like to help improve the sample, we love getting pull requests and issues from you! Tif
... View more
12-09-2015
02:42 PM
|
2
|
1
|
671
|
POST
|
Sure, Horia. Thanks again for the suggestion! I have logged it as another enhancement request in the system. Cheers, Tif
... View more
12-02-2015
02:17 PM
|
0
|
0
|
329
|
POST
|
Hi Horia, The workaround that I mentioned above is for the bug that we observed in the built-in widgets. The option to specify whether a widget is expandable or not is not yet available for custom widgets built with the JavaScript API, regardless of the platform that the widget runs on. And thanks for sending over the screenshot and the use case, I will bring them back to the team for discussion. Cheers, Tif
... View more
12-01-2015
02:32 PM
|
0
|
2
|
329
|
POST
|
Hi Horia, The fact that the expand button is missing from the built-in widgets looks like a bug to me. I did a bit of investigation and the problem seems to be that after a widget is created, the expand button will be hidden. Unfortunately this problem seems to apply to dev mode as well as regular mode. I have logged an issue into our system, but for now an easy workaround will be closing then reopening the view. Regarding the capability to specify if a custom widget is expandable or not, it is indeed in our to-do list. Could you share more details about your widget, and give us some insight on what value the expanded mode will bring to your widget? Thanks, Tif
... View more
12-01-2015
01:10 PM
|
0
|
4
|
329
|
POST
|
Hi Horia, For the browser Dashboard, we're using D3.js to create the charts. This library is highly customizable and the website has a huge number of examples. For Dashboard specific samples, you can also check out the Scatter Plot Widget in our GitHub repo. Please note that in the next few days we will be releasing a few more new samples and some of them will be using D3.js as well. Cheers, Tif
... View more
12-01-2015
12:41 PM
|
2
|
0
|
368
|
Title | Kudos | Posted |
---|---|---|
1 | 12-01-2015 11:36 AM | |
1 | 12-14-2015 05:24 PM | |
1 | 05-27-2016 03:20 PM | |
1 | 04-07-2015 10:55 AM | |
1 | 01-25-2016 09:27 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|