POST
|
> I don't know how much has changed between builds, but I do know that I am pulling down ~700 MB for each update Can you please write to the iTunes product manager next....
... View more
02-01-2015
02:16 PM
|
0
|
0
|
676
|
POST
|
Some digging shows that the script which builds the header, including the logo, is found at \themes\<theme name>\widgets\HeaderController\Widget.js. These edits seem to do the trick - edit the application's main config.js file to include a new property logoLink: "logoLink": "http://www.google.com.au", - add this to the \themes\<theme name>\widgets\HeaderController\Widget.js script around line 92: html.setAttr( this.logoLink, 'href', this.appConfig.logoLink ? this.appConfig.logoLink : "#" ); - add the template <a> code into \themes\<theme name>\widgets\HeaderController\Widget.html around the logo image: <a data-dojo-attach-point="logoLink"> <img class="logo jimu-float-leading jimu-leading-margin1" data-dojo-attach-point="logoNode"> </a> It would be nice if someone could explain how to build the logoLink property from the main UI, rather than needing to hack into the config.js file manually.
... View more
01-28-2015
07:12 PM
|
0
|
1
|
381
|
POST
|
In the Attributes section of an application, you can set the app's icon. You can also add a link - this is placed to the right of the subtitle text: How can I add a link to the icon itself, so that clicking on the three coloured blocks navigates somewhere? The icon seems to be loaded dynamically, into this div: <div class="header-section jimu-float-leading" data-dojo-attach-point="headerNode"> <img class="logo jimu-float-leading jimu-leading-margin1" data-dojo-attach-point="logoNode" src="images\logo.png" style="height: 30px; min-width: 30px; margin-top: 5px; cursor: default;"> </div> Which script builds this section of the UI? It should be possible to wrap the whole thing in an <a href> tag. thanks, Steve
... View more
01-27-2015
08:45 PM
|
1
|
2
|
4485
|
POST
|
I was reading the page at Communication between widgets—Web AppBuilder for ArcGIS | ArcGIS and thinking how it wasn't very complete. Then I stumbled across the page at Communication between widgets—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers which is very similar but with more content. It seems there are parallel streams of content at Web AppBuilder for ArcGIS | ArcGIS and Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers Why not just merge them into a single location? Esri documentation is already quite complicated comprehensive so why make it harder on yourselves and us to keep up-to-date? Cheers, Steve
... View more
01-21-2015
09:57 PM
|
0
|
0
|
3749
|
POST
|
The help page at Communication between widgets—Web AppBuilder for ArcGIS | ArcGIS is pretty sparse: As the requirement of reading or sending data between widgets is common, the BaseWidget class supports this programming model. In the constructor of the BaseWidget class, it subscribes the publishData, dataFetched, and noData events. Meanwhile, the BaseWidget class provides the publishData and fetchData methods. If you want the widget to publish data, call the publishData method. If you want the widget to receive data from another widget, call the fetchData method, and write code to override the onReceiveData and onNoData methods to read data. Are there any examples showing how to pass information from one widget to another? Is there an example of how to use publishData and fetchData? The post at Web Appbuilder Communication Between Widgets hints at it, but doesn't show enough code for me to get it working. Thanks
... View more
01-21-2015
09:35 PM
|
1
|
7
|
7567
|
POST
|
Are you able to share a sample application which demonstrates this? thanks
... View more
01-21-2015
08:56 PM
|
0
|
0
|
1139
|
POST
|
I can see via the file system that the files have not changed - C:\arcgis-web-appbuilder-1.0\server\apps\30\widgets\LocalLayerWidget shows the old code. This explains why CTRL-F5 has no effect - it is correctly updating the page based on the latest code. Creating a new app (#31) shows the new code. Can you guys possibly do a quick check? Make an app, and check its code in the arcgis-web-appbuilder-1.0\server\apps\APP_NUMBER\ directory, then make a simple change (eg add an alert) and see if the widget code changes? This definitely suggests that a node-level change needs to occur.
... View more
01-20-2015
04:13 PM
|
0
|
0
|
3163
|
POST
|
The documentation says: "nodemon will watch the files in the directory in which nodemon was started, and if any files change, nodemon will automatically restart your node application." The startup.bat file first changes to the /server directory, then starts up node. I wonder if that means that only files under the /server directory are being monitored by nodemon? 9: SET serverPath=server 10: SET serverjsFile=server.js 18: CD %serverPath% 29: START "Web AppBuilder for ArcGIS" /B %nodeFile% %serverjsFile%
... View more
01-20-2015
03:56 PM
|
0
|
0
|
3163
|
POST
|
Hi Rene, This looks promising. Simply switching out node with nodemon in the startup.bat file doesn't do the trick (ie, the app works but it doesn't automatically pick up changes in the widget.js file), but I'll explore it some more and report back. REM START "Web AppBuilder for ArcGIS" /B %nodeFile% %serverjsFile% START "Web AppBuilder for ArcGIS" /B nodemon %serverjsFile% Cheers, Steve
... View more
01-20-2015
02:49 PM
|
0
|
1
|
3163
|
POST
|
Thanks for the suggestions guys. I'm finding that CTRL-F5 definitely doesn't do the trick. I even tried the "delete everything" option, to no avail. Today I'm finding that Robert's suggestion of re-creating the app is working. I'll keep trying that and see how it goes. This is a bit of a pain, especially when making frequent small changes. If would be great if someone knew a way to refresh the app at the Node.js level Cheers, Steve
... View more
01-20-2015
02:22 PM
|
0
|
3
|
3163
|
POST
|
I'm playing around with Adam Drackley's excellent Local Layer Widget and am making changes in the Widget.js file What is the best way refresh a web app when changes have been made to a widget's JS code? 1) re-loading an existing web app (eg http://localhost:3344/webappbuilder/?id=17) doesn't show the updated code 2) creating a new app from the homepage (http://localhost:3344/webappbuilder) doesn't show the updated code (edit: it seems to work now) 3) closing and reopening the Node window (opened by the startup.bat file) sometimes shows the updated code (but not consistently) Is there a method to load the latest version of a widget's code without restarting the Node server? Thanks, Steve Message was edited by: Stephen Lead
... View more
01-19-2015
08:40 PM
|
0
|
23
|
12681
|
POST
|
Nice one. I wonder if this breaks any Terms of Service? I guess Esri would be within their rights to insist we use AGOL, since they wrote WAB?
... View more
01-15-2015
03:56 PM
|
0
|
1
|
526
|
POST
|
Some enhancement requests for the Query widget: 1. allow a blank value to be used in the query when Ask For Values is specified (the blank value should be flagged as an error at run-time, not when configuring the widget) 2. remove the requirement for the Hint when Ask For Values is specified. There is usually no need for a hint as the dialog is self-explanatory 3. make the "is greater than", "is less than" parameter a variable. 4. in fact, expanding on #1 and #3, most of the options on this dialog could be provided for the user to change at run-time. Eg, select the field, select < or >, input the value, hit Apply Thanks, Steve
... View more
01-14-2015
09:10 PM
|
2
|
0
|
4084
|
POST
|
cool, thanks. I used it for a while then missed a few beta versions. I'm back on it at version 1.0 (it looks pretty good IMHO!)
... View more
01-14-2015
07:18 PM
|
0
|
0
|
822
|
Title | Kudos | Posted |
---|---|---|
1 | 11-17-2014 08:45 PM | |
1 | 03-15-2011 04:23 PM | |
1 | 10-18-2019 12:50 AM | |
3 | 01-22-2019 02:33 PM | |
1 | 09-26-2011 10:36 PM |
Online Status |
Offline
|
Date Last Visited |
10-20-2022
12:19 AM
|