POST
|
They were. The Developer Edition hadn't even been conceived yet. It was hot news two months later.
... View more
06-10-2015
06:43 PM
|
1
|
0
|
914
|
POST
|
Rebecca, My model is to make a basic app with the WAB, and then customize the heck out of it in the server/apps/<app#> folder. When I'm ready to deploy, I copy it to the server and modify env.js to point to the api: apiUrl = '//js.arcgis.com/3.13'; Sometimes I copy my widgets back to the client/stemapp folder to make sure they won't foul up the works if someone wants to use them in the WAB. I have half a dozen apps on my web server, some of them available for the public, and never had a problem with the one appid on my PC. To me, the appid is just a nuisance. I know I'm going rogue, but it works for me. I found it amusing that Esri would brag about building an app without writing a single line of code at the 2014 Dev Summit which is attended almost exclusively by people who make a living writing code. Larry
... View more
06-10-2015
06:33 PM
|
3
|
2
|
2092
|
POST
|
Jill, Not sure if this helps or not, but each person building the app could have their own WAB Developer Edition, and then publish their apps to the same server. The trick would be to put a library of custom widgets on the server for all to copy into their own StemApp. Larry
... View more
06-10-2015
06:14 PM
|
0
|
4
|
2092
|
POST
|
Andrew, The Print Widget in WAB uses this pattern. It was basically the print widget written by David Spriggs when he was at Esri. It is in the Configurable Map Viewer (CMV). Esri essentially put a wrapper around it in WAB. My Print Plus Widget was originally for the CMV. I ported it to WAB in just a few hours following the same pattern Esri had used with David Spriggs' Print WIdget. Larry
... View more
06-09-2015
06:58 PM
|
1
|
0
|
829
|
POST
|
Andrew, I've modified the Bookmark Widget to do just what you want, I think. I didn't edit the widget code, but used Dojo's aspect oriented programming (aspect.before, aspect.after, aspect.around) to modify its appearance. These modifications are in my "headless" Acme Widget. Look on this page: Larrys Custom WAB Widgets and More. For now, you would need to download the entire app to see the Acme Widget code. Anvil is an example of a "headless" widget that only has a few lines of code in it. You would need to find the Bookmark Widget code in the app and put that code into Anvil. Larry
... View more
06-09-2015
09:17 AM
|
2
|
3
|
555
|
POST
|
Anand, Robert is absolutely correct. I use this technique to modify the appearance/behavior of half a dozen of Esri's widgets without modifying their code. I have also found that when Esri updates a widget, this technique is pretty easy to troubleshoot if the functionality ceases to work. Larry
... View more
06-08-2015
07:30 AM
|
1
|
1
|
1049
|
DOC
|
Chad, I haven't tested with the LocalLayer Widget. If it adds the layers to the map object (this.map), then this widget should work with those layers. Keep in mind, the Map Tips only work with feature layers, not with dynamic layers or cached layers. Can you give me a link to test? Larry
... View more
06-05-2015
02:37 PM
|
0
|
0
|
7128
|
POST
|
Chad, I started on this widget a couple of weeks ago, but have only been able to work on it on weekends. I think the hardest parts are done now, so maybe I'll have something soon to show you soon. Larry
... View more
06-05-2015
10:41 AM
|
0
|
1
|
1033
|
POST
|
Jeff, This is more of a technique than an answer. I use the Chrome Developer Tools to play around with CSS styles until I find what works. Then it's a simple matter of editing the appropriate CSS file. IE and FireFox have similar functionality, but I prefer Chrome. Larry
... View more
05-30-2015
12:18 PM
|
2
|
10
|
684
|
BLOG
|
Mark, The Esri logo is by default, 65px wide and 32px high. You can change this with a CSS selector in the css/style.css file of any widget that loads on startup: .map .logo-med { background-size: 32px 18px; background-repeat: no-repeat; } You can turn it off this CSS selector: map .logo-med { display: none; } Larry
... View more
05-29-2015
09:57 AM
|
1
|
0
|
13107
|
POST
|
Try this: this.panelManager.closePanel(this.id + '_panel'); // To close the panel
this.panelManager.showPanel(this.id + '_panel'); // To show the panel
this.panelManager.minimizePanel(this.id + '_panel'); // To minimize the panel
this.panelManager.maximizePanel(this.id + '_panel'); // To maximize the panel Larry
... View more
05-28-2015
02:00 PM
|
1
|
1
|
1264
|
POST
|
Tim, Chrome Developer Tools are showing this: 1. The one that works is getting init.js from http://js.arcgis.com/3.12/init.js 2. The one that isn't working is trying to get init.js from http://timw1984.github.io/http://timw1984.github.io//jsapi/jsapi/init.js and showing a 404 file not found error. Larry
... View more
05-28-2015
01:51 PM
|
1
|
1
|
1186
|
POST
|
Brandon, I added a bit of code to make it stand alone. You will find it here. Larry
... View more
05-25-2015
10:57 AM
|
1
|
0
|
654
|
DOC
|
2/18/2017 - updated download link The Acme Widget in the Hamilton County WAB Viewer is a "headless" widget that adds lots of functionality and modifies the behavior and/or appearance of a lot of Esri Widgets (without modifying their code). The Anvil series of widgets are simplified versions of the Acme Widget, demonstrating just one or two nuggets of functionality. This widget is a sample of how to create a "headless" widget for the Wed AppBuilder (WAB). By "headless," I mean it is invisible and it is loaded at startup. This sample adds map tips on feature layers. There is no live sample for this widget, as it is invisible. I called it AnvilMapTips because the original "headless" widget I wrote is called Acme, and I wanted to stay with the Roadrunner theme. This widget is configured for two layers, "Parcels" and "Address Points (E911)". You will need to modify the config.json to use feature layers from your map. Use layer titles (not ids or names) and the field names (not the aliases) for that layer. If you want to drop this widget into the WAB and configure it in an app, you will need to copy its folder into the client\stemapp\widgets folder and then add it to the client\stemapp\predefined-apps\default \config.json file. If you want to add this widget to an app you have already built with the WAB, then add it to the main config.json file like this: "widgetOnScreen": { "widgets": [ { "uri": "widgets/AnvilMapTips/Widget", "position": { "left": -1000, "bottom": -1000 }, "version": "1.1", "id": "widgets/AnvilMapTips/Widget_101", "positionRelativeTo": "map", "name": "AnvilMapTips", "label": "Anvil Map Tips" }, . . . . . . ], "panel": { "uri": "jimu/PreloadWidgetIconPanel", "positionRelativeTo": "map" } }, . . . . . . AnvilMapTips-1.1-2015-5-25.zip https://community.esri.com/docs/DOC-9623-anvilmaptips-11-2015-5-25zip Larrys Custom WAB Widgets and More
... View more
05-25-2015
10:54 AM
|
3
|
32
|
15112
|
POST
|
Brandon, The first part (7 lines) is all that goes into the config file. The rest goes into the widget. If you like, I could put the map tips together in the Anvil Widget I posted and you could download it. I can help as little or as much as you need. Larry
... View more
05-23-2015
05:09 PM
|
3
|
2
|
654
|
Title | Kudos | Posted |
---|---|---|
1 | 05-22-2015 11:01 AM | |
1 | 07-15-2015 09:38 AM | |
1 | 02-27-2015 07:00 AM | |
1 | 07-15-2015 10:23 AM | |
1 | 08-03-2015 07:45 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|