|
POST
|
You can filter your layers in the AGOL (or PORTAL) map used in your app.
... View more
05-28-2015
03:49 PM
|
0
|
2
|
3053
|
|
DOC
|
This line wasn't a last comma. I passed the widget.js file in Closure Compiler Service to see errors and there were 2 "last comma" errors but not in the lines that were in the build-report.txt (strange !). After removing this 2 errors, it works like a charm for js. I have some parts of my widget's css that doesn't pass yet in compiler but i will fix this. Thanks Junshan Liu !
... View more
05-25-2015
03:58 PM
|
0
|
0
|
12672
|
|
POST
|
Hi, You may start "from scratch". For the polygon drawing, use the draw toolbar directly : Draw | API Reference | ArcGIS API for JavaScript (The draw widget uses a wab dijit : drawBox which is too advanced for your simple needs). PS : in a wab widget, you can access the map with this.map
... View more
05-25-2015
03:27 PM
|
1
|
1
|
3436
|
|
DOC
|
Thanks, An error : Widget.js.uncompressed.js:45: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. name: 'Url', Google closure compiler failed to minify the Widget.js.uncompressed.js By using in _app.profile.js 'comments' for optmize and layerOptimize (instead of closure), it works. I will try to find what is wrong in my js file for google closure (I will made some test directly with google closure).
... View more
05-21-2015
05:29 PM
|
0
|
0
|
12672
|
|
POST
|
+1 with Tom : to use bootstrap with dojo, use dojo-bootstrap ! Dojo-bootstrap supports typeahead : Typeahead - Dojo Bootstrap After referencing dojo-bootstrap in dojoConfig (-> in the wab init.js : you can see it in Tom's example https://github.com/tomwayson/web-appbuilder-bootstrap/blob/master/src/init.js#L161 ), you just have to call what you need in your widgets (in Tom's example : https://github.com/tomwayson/web-appbuilder-bootstrap/blob/master/src/widgets/BootstrapTest/Widget.js#L11 ).
... View more
05-20-2015
03:24 PM
|
1
|
1
|
739
|
|
DOC
|
I don't manage to include custom widgets in build. It seems the Widget.js compression failed. After build, the file content is just : //>>built If i watch in buildOutput\app-packages on build, i can see that the Widget.js.uncompressed.js is correct so i assume this is the js compression which failed. If i replace the builded Widget.js content by Widget.js.uncompressed.js content, it works. Any idea or advice ? Example of widget with this problem : magis-nc/esri-webappbuilder-widget-url · GitHub
... View more
05-19-2015
05:44 PM
|
0
|
0
|
12672
|
|
DOC
|
Thanks Junshan Liu ! It's a great tool ! Will this scripts be included and maintain with wab's releases ? Or maybe available on github ? NB 1 : I've tested it on a simple app and more than twice less files are loaded. Great ! NB 2 : for installation of dojo's dependencies (in arcgis-js-api), i have add it with bower : Add to the buildScripts folder : - .bowerrc file : { "directory": "../arcgis-js-api" } - bower.json file : { "name": "wab-builderscripts-dojo", "version": "0.1", "dependencies": { "dijit": "1.10.4", "dojo": "1.10.4", "dojox": "1.10.4", "util": "dojo-util#1.10.4" }, "devDependencies": {} } And then, add in build.bat the bower's dependencies installation after node modules installation : cmd /c "npm install" cmd /c "bower install" You must have bower installed in node.js (npm install -g bower).
... View more
05-18-2015
10:50 PM
|
0
|
0
|
12672
|
|
POST
|
It's now ok for IE >= 10 and could work on IE 9 (depending on IE security's settings). (HTML5 browsers with support for data in href were allready OK)
... View more
05-17-2015
04:57 PM
|
0
|
0
|
3436
|
|
POST
|
Hi Daniel, I will work on this problem this week. At this time, the browser choose to open it as a file or in a tab. I will try to force it as a file.
... View more
05-10-2015
05:28 PM
|
0
|
0
|
3436
|
|
POST
|
Leighton, The folder must be Url and not url. In wab >= 1.1, you must copy the config.json file (with Url widget) in client\stemapp\predefined-apps\default folder.
... View more
04-26-2015
05:19 PM
|
0
|
1
|
3422
|
|
POST
|
Hi, In map, you have methods to disable navigation : Map | API Reference | ArcGIS API for JavaScript disableClickRecenter() None Disallows clicking on a map to center it. disableDoubleClickZoom() None Disallows double clicking on a map to zoom in a level and center the map. disableKeyboardNavigation() None Disallows panning and zooming using the keyboard. disableMapNavigation() None Disallows all map navigation except the slider and pan arrows. disablePan() None Disallows panning a map using the mouse. disableRubberBandZoom() None Disallows zooming in or out on a map using a bounding box. disableScrollWheelZoom() None Disallows zooming in or out on a map using the mouse scroll wheel. disableShiftDoubleClickZoom() None Disallows shift double clicking on a map to zoom in a level and center the map. hidePanArrows() None Hides the pan arrows from the map. hideZoomSlider() None Hides the zoom slider from the map. https://developers.arcgis.com/javascript/jsapi/map.html#hidezoomslider
... View more
04-23-2015
04:10 PM
|
2
|
2
|
3444
|
|
POST
|
Hi George, The drawBox dijit use a graphic layer. You can access the graphicLayer in the draw widget with : this.drawBox.drawLayer Maybe you could add your kmz export functionnality to the non-official eDraw widget magis-nc/esri-webappbuilder-widget-eDraw · GitHub This widget has allready a "json export/import" functionnality.
... View more
04-09-2015
03:56 PM
|
1
|
0
|
2984
|
|
POST
|
Hi all, I agree with Tom. Github is a great tool, even with no-developper people in mind With github : For end-users: - you can release versions with a zip (a production zip, even with minified files or widget if you want). You can share this zip link in geonet. - you can have a readme.md in your github repo to show user-friendly documentation on installation, use or configuration. And even embed the release zip link and demo link in this readme.md. This readme can be a great "entry point" to your widget for non-developpers. It can be the only link you share in geonet. For developpers : - you allow developpers who want to contribute to your widget to use the very cool (and simple) github workflow : fork -> modify -> pull request. For you, a pull request allow you to see very easily the modifications submited (diff between your version and the submitted version) and to accept it (or decline or discuss) in one click ! - if your commit's descriptions are clear, you have a very easy way to show improvments and debugs
... View more
04-09-2015
03:50 PM
|
3
|
0
|
1877
|
|
POST
|
It could be a network issue (script http://js.arcgis.com/3.9/ not loaded !). Try with your browser developer's console opened and watch network trafic.
... View more
04-07-2015
04:48 PM
|
0
|
0
|
3050
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-17-2015 05:03 PM | |
| 1 | 05-20-2015 03:24 PM | |
| 1 | 04-09-2015 03:56 PM | |
| 1 | 12-14-2014 08:10 PM | |
| 1 | 11-26-2014 04:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-08-2025
03:52 PM
|