|
POST
|
Sorry I think I may have said the wrong tool. I used the Create Address Locator Tool. Try that one. -Stan
... View more
04-01-2015
09:45 AM
|
0
|
6
|
2753
|
|
POST
|
I am not currently using ArcGIS Pro very much. All I did was open a project and under the Analysis menu clicked the tools button. I searched for geocode and selected the Geocode Address tool and did it the same way as you would in ArcMap. -Stan
... View more
04-01-2015
09:30 AM
|
1
|
8
|
2753
|
|
POST
|
I am wondering how long the result of the PrintingTools task remains on ArcGIS Server? I know the print out link is temporary but what is the default time for it to clear out the print job? -Stan
... View more
04-01-2015
09:26 AM
|
0
|
2
|
3598
|
|
POST
|
Brandon, You can create that same geocoder in ArcGIS Pro. There is a check box to enable suggestions. I created my locators there and put then on a 10.2.1 server and it works just fine in Web AppBuilder. -Stan
... View more
03-31-2015
06:37 AM
|
0
|
10
|
2753
|
|
POST
|
Steven Cathcart, When I try to go to that map url I get challenged for credentials for you organization.
... View more
03-30-2015
07:52 AM
|
0
|
0
|
2953
|
|
POST
|
The 1k limit should only be the number of graphics drawn on the map not the projection issue. Have you taken a sample of the same data and just paired down the number of features? Do you get the same result or did that fix it? -Stan
... View more
03-26-2015
04:20 PM
|
0
|
0
|
1951
|
|
POST
|
Jason Klrkland, Two more things to help out with this. 1. Here is the code to have the attribute table widget open at start: Root config.json make this change this "positionRelativeTo": "browser", to this "positionRelativeTo": "map", add this "openAtStart": "true", together it will look like this {
"uri": "widgets/AttributeTable/Widget",
"positionRelativeTo": "map",
"version": "1.1",
"id": "widgets/AttributeTable/Widget_11",
"position": {
"left": 0,
"top": 0
},
"name": "AttributeTable",
"openAtStart": "true",
"label": "Attribute Table"
}, 2. Here is the code needed to have the table open when the widget is opened \widgets\AttributeTable\Widget.json replace this._closeTable(); with this this._openTable(); The place for this is varying on what version of WAB, but it is around line 200 in v1.0 or 122 in v1.1 Robert Scheitlin, GISP posted this fix here Re: Open Attribute Table Widget on start? attrUtils.readLayerInfosObj(this.map).then(lang.hitch(this, function(layerInfosObj) {
this.own(on(
layerInfosObj,
'layerInfosIsShowInMapChanged',
lang.hitch(this, this.onLayerInfosIsShowInMapChanged)));
this.own(layerInfosObj.on(
'layerInfosChanged',
lang.hitch(this, this.onLayerInfosChanged)));
this._createBar();
// this._closeTable();
this._openTable();
})); Now to just figure out how to maximize the table to use all the space.
... View more
03-26-2015
10:37 AM
|
0
|
0
|
3023
|
|
POST
|
Jason Klrkland, Unfortunately as of now you can not make these changes in AGOL. I believe one day we will be able to add custom widgets to AGOL. Cross your fingers and make a wish. -Stan
... View more
03-25-2015
06:50 PM
|
0
|
1
|
3023
|
|
POST
|
Jason Klrkland, Just to get you started here is how to move it off of the bottom. In your main config.json file at the root of your application move this chunk of code {
"uri": "widgets/AttributeTable/Widget",
"positionRelativeTo": "browser",
"version": "1.1",
"id": "widgets/AttributeTable/Widget_11",
"position": {
"left": 0,
"top": 0
},
"name": "AttributeTable",
"label": "Attribute Table",
"config": "configs/AttributeTable/config_Attribute Table.json"
}, To the bottom widget pool. It would look something like this: .....
"widgetPool": {
"panel": {
"uri": "themes/FoldableTheme/panels/FoldablePanel/Panel",
"positionRelativeTo": "map",
"position": {
"top": 5,
"right": 5,
"bottom": 5
}
},
"widgets": [
{
"uri": "widgets/Legend/Widget",
"version": "1.1",
"id": "widgets/Legend/Widget_13",
"index": 2,
"name": "Legend",
"label": "Legend"
},
{
"uri": "widgets/AttributeTable/Widget",
"positionRelativeTo": "browser",
"version": "1.1",
"id": "widgets/AttributeTable/Widget_11",
"position": {
"left": 0,
"top": 0
},
"name": "AttributeTable",
"label": "Attribute Table",
"config": "configs/AttributeTable/config_Attribute Table.json"
},
...... It will now be available as a widget to open in the header. The down side is it does not maximize automatically. You need to click the arrow to open the attribute table and then you can expand it to the top. It will stay that way even if you close the widget so you can open it where you left off. -Stan
... View more
03-25-2015
12:05 PM
|
2
|
4
|
3023
|
|
POST
|
Also if you did not want to see the little image flashing every time it reloads the just add this in the onRefreshButton function this.showRefreshing(false); like this around line 1555 onRefreshButton: function() {
if (this.layersIndex > -1) {
if (this.grids[this.layersIndex]) {
this.grids[this.layersIndex].clearSelection();
}
if (this.graphicsLayers[this.layersIndex]) {
this.graphicsLayers[this.layersIndex].clear();
}
this.setSelectedNumber();
if (this.config.layerInfos[this.layersIndex]) {
this.config.layerInfos[this.layersIndex].loaded = false;
this.startQuery(this.layersIndex, this.config.layerInfos[this.layersIndex].extent);
}
}
this.showRefreshing(false); //added this
}, -Stan
... View more
03-25-2015
11:24 AM
|
0
|
0
|
1026
|
|
POST
|
Jason Klrkland, If you go into the \widgets\AttributeTable\Widget.js file and add setInterval(lang.hitch(this, this.onRefreshButton),3000); // setInterval(expression,milliseconds); I added it right after the refresh button is called around line 1492, but I am sure it could be called other places as well. It would look something like this. this.refreshButton = new Button({
label: this.nls.refresh,
showLabel: true,
iconClass: "esriAttributeTableRefreshImage",
onClick: lang.hitch(this, this.onRefreshButton)
});
setInterval(lang.hitch(this, this.onRefreshButton),3000); // setInterval(expression,milliseconds);
toolbar.addChild(this.refreshButton); This calls the refresh of the attribute table every 3 seconds. I did notice that if the attribute table has lots of features or tables to load it takes a little longer. Also this will continue to refresh the attribute table even when it is closed. This would be great to have in the AGOL version too. With a little more work I am sure you could add it as a button to toggle the refresh option. -Stan
... View more
03-25-2015
10:06 AM
|
1
|
0
|
1026
|
|
POST
|
This discussion is taking place on another page Load In-Panel Widget onStart of the application
... View more
03-25-2015
07:46 AM
|
0
|
0
|
630
|
|
POST
|
I have not set up my own custom theme yet, but it looks like Nat may be referencing the config in the root of the application and Sam is referencing \themes\FoldableTheme\layouts\default\config.json -Stan
... View more
03-25-2015
07:39 AM
|
0
|
1
|
1389
|
|
POST
|
I have tested this and it works great for me. Did you try to add the "openAtStart": true, to the main config file in the root of the application NOT in the \widgets\Legend\config.json? This config.json file is at the same level as your index.html file. By the way, if you notice for the legend widget, the main config file does not even reference a legend config file by default. {
"uri": "widgets/Legend/Widget",
"version": "1.1",
"id": "widgets/Legend/Widget_13",
"index": 2,
"name": "Legend",
"label": "Legend"
}, If you change a default attribute for the widget then it will create a new config file in configs/Legend/config_Legend.json and add the line of code to reference that new config. {
"uri": "widgets/Legend/Widget",
"version": "1.1",
"id": "widgets/Legend/Widget_13",
"index": 2,
"name": "Legend",
"label": "Legend",
"config": "configs/Legend/config_Legend.json"
}, Add the "openAtStart": true to this file in the Legend widget and it should work. If not then try clearing your browser cache and reload. As I am looking at this I realize that this works for the default Foldable Theme and not for the Tab Theme. Is that the issue you are having? For the Tab Theme here is how to get the side panel to open at start: in the file: \themes\TabTheme\widgets\SidebarController\widget.js make this one change on about line 61 startup: function() {
this.inherited(arguments);
this.createTabs();
//this.widgetManager.minimizeWidget(this);
this.widgetManager.maximizeWidget(this);//changed this
}, This maximizes the side panel at startup. Not sure how to tell it what widget to open first, but if you put the one you want open at the top then it will load in first. -Stan
... View more
03-23-2015
09:48 AM
|
5
|
2
|
3237
|
|
POST
|
Martin Mimeault You just need to add the "openAtStart": true, to the main config.json file in the root of the application. {
"uri": "widgets/Legend/Widget",
"version": "1.1",
"id": "widgets/Legend/Widget_13",
"index": 4,
"name": "Legend",
"label": "Legend",
"openAtStart": true
}, -Stan
... View more
03-19-2015
03:10 PM
|
0
|
8
|
3237
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-29-2015 06:36 AM | |
| 1 | 06-30-2015 09:27 AM | |
| 1 | 04-20-2015 10:23 AM | |
| 1 | 06-23-2015 11:01 AM | |
| 1 | 05-19-2015 02:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-23-2026
03:12 PM
|