POST
|
Robert, If I understand correctly, the only way for me to test the configurable portion of my application is to go to " http://your host/webappbuilder/?id=stemapp" select the widget I am working on and test it there, am I right?
... View more
12-01-2020
12:04 PM
|
0
|
2
|
143
|
POST
|
Good afternoon Robert, I have definitely seen it, for example if I want to test the out of the box Filter widget setting what is it that I have to do? " http://your host/webappbuilder/?id=stemapp" is there a way to populate this to go directly to Filter?
... View more
12-01-2020
11:46 AM
|
0
|
3
|
147
|
POST
|
So far all my widget's development has been done on non configurable widgets, the setting file structure is inexistent. I am using Web AppBuilder 2.6. I have not been able to find an example on how to test the setting portion of a widget. Is it something that I need to include in the config.json file in order to access the setting portion of my widget? For example, how would I setup the config.json file if I want to access the setting portion of the Filter widget so that I could test it on the development environment?
... View more
12-01-2020
11:15 AM
|
0
|
5
|
153
|
POST
|
Here is what I have done: ........ var aSearch = "OP LIKE 'something'"; var queryTask = new QueryTask("https://.../MapServer/0"); var query = new Query(); query.returnGeometry = true; query.returnCountOnly = false; query.outFields = ["OP"]; query.where = aSearch; queryTask.execute(query, this.aShowResults); .... aShowResults: function(results){ aCount = results.features.length; if (aCount !== 0) { aExtent = graphicsUtils.graphicsExtent(results.features); } addLayersToMap(); }, ...... function addLayersToMap(){ map.addLayers([.......]); map.setExtent(aExtent); } Your help is really appreciated, you sent me in the right direction!
... View more
11-02-2020
02:11 PM
|
0
|
0
|
63
|
POST
|
I am using Web AppBuilder 2.6 to create a widget. I have an ArcGIS Map Service that contains the name of several companies and their offices' location in north America. The user interface provides a list of the company names, the user selects a company name and the service returns the offices' location for the requested company name and then the new layer is added to the map. In some instances, the offices are located in one state in other instances the offices are located all across North America. My question is how can I find the appropriate extent so that all offices' locations are present under the presented map? In other words, if all returned offices' location are in one state then the map view shows only that state and in the case where the offices' location are allover North America then the map view would show all North America. I understand that I can set the extent programmatically as the map is initialized within the widget. I need a method to find the appropriate extent.
... View more
10-29-2020
02:03 PM
|
0
|
3
|
93
|
POST
|
Thank you for your reply Robert, I have used your Identify 2.5 widget code and I have commented out everything except the code that creates the tab. I will try to add all my code in the striped down version.
... View more
10-29-2020
10:08 AM
|
0
|
0
|
36
|
POST
|
Robert, Looking at your Identify widget, I see that your "startup: function ()" is "(property) startup: type startup" while the "startup" in my widget is "(property) startup: (...agrs: any[]) => void How do I make my "startup" a type of startup?
... View more
10-27-2020
02:32 PM
|
0
|
1
|
132
|
POST
|
Good morning Arne, Robert provided me his "Identify" widget and I have used version 2.5 and it works with my 2.6 WAB environment. I will use it as a guide to resolve my issue and will let you know how I have resolved my issue. I will also try your suggestion. Thank you for your reply it is really appreciated!
... View more
10-22-2020
07:13 AM
|
0
|
0
|
50
|
Online Status |
Offline
|
Date Last Visited |
12-01-2020
11:32 AM
|