|
POST
|
I tested that. Unfortunately, after I copied the app folder, the app is not showing in the WAB developer listing of apps. I also tried to zip it and import it, but it says invalid app.
... View more
06-23-2015
11:41 AM
|
0
|
0
|
2374
|
|
POST
|
When I was coding in Flex, I was able to package the libraries and code (export flash builder project) in a single file (fxp) at work and import in at home's flash builder to continue working on my projects. Is there are any similar process with WAB? Can I install WAB at two locations and copy the app folder from one location to paste it at another location to continue working on my project? Thank you.
... View more
06-11-2015
04:24 PM
|
0
|
7
|
6359
|
|
POST
|
ok, I solved the mystery. I finally got the LocalLayer in the configs folder. The instructions that comes with the LocalLayer widget says to add the reference to the widget in: "open the client\stemapp\themes\TabTheme\layouts\default\config.json in a text editor...." However, Rebecca's "Web AppBuilder Developer Edition–Customization Resource List" correctly points out to add the reference in default AND layout1 folders. That made the difference. I guess I learnt two lessons. Do not add customized widgets unless you add one ESRI's widget first to initiate creation of the configs folder. Second, Read Rebecca's list. THANK YOU Robert and Rebecca for your time.
... View more
06-03-2015
01:23 PM
|
1
|
1
|
608
|
|
POST
|
The problem is that there is no LocalLayer folder in the configs folder. This is the steps from the beginning. 1. Install the LocalLayer in the appbuilder 1.1 and performed the json modifications per instructions. 2. Created new app. The LocalLayer widget is visible in the widgets area. 3. Added bookmark widget and saved map. The configs folder is now visible. 4. Customized the LocalLayers to include a feature service. I don't know how to include the LocalLayer in the configs folder to apply Robert's code to implement definitionExpression. Ideas? Thank you.
... View more
06-03-2015
12:35 PM
|
0
|
3
|
1867
|
|
POST
|
Yes, is there now. I have bookmark widget under the new folder configs and one under the widgets folder. When I created the other app, I didn't add any widgets and I just installed the LocalLayer by following the instructions. In the LocalLayer instructions there is no mention of the configs folder. By not installing any of the ESRI's widgets, I guess the configs folder will not be created. I think the instructions for the LocalLayer should reflect the fact that if this is the first widget to be installed, that the configs folder will not be created. Please let me know if I am mis-reading the situation. Thank you.
... View more
06-03-2015
11:40 AM
|
1
|
5
|
1867
|
|
POST
|
No, everything is new. I just started the migration from flex and I am new on web appbuilder. So, I downloaded the 1.1 from the esri website and create the app. Everything went without a glitch until you made me aware of the missing folder. I am wondering how many other users are missing the folder and don't know about it. Is there another site (like github) that I can download the 1.1 and I will re-create the app to check if the config folder exist? Thank you.
... View more
06-03-2015
07:37 AM
|
0
|
7
|
1867
|
|
POST
|
ok, this is bizarre. I reinstalled the 1.1 version and still the configs folder is not there!!!!
... View more
06-02-2015
04:03 PM
|
0
|
9
|
1867
|
|
POST
|
Well that's weird. I downloaded the arcgis-web-appbuilder-1.1.zip file from the website and the filename indicates is the 1.1 version. when you unzip, the buildnum.txt shows the build number as : 2015-03-16_18-39-33_#354 Is this the 1.1 version?
... View more
06-02-2015
01:14 PM
|
0
|
11
|
1867
|
|
POST
|
You mean: C:\arcgis-web-appbuilder-1.1\server\apps\4\widgets\LocalLayer? Yes, I do. There is no configs folder under the app id.
... View more
06-02-2015
12:55 PM
|
0
|
13
|
3120
|
|
POST
|
Robert, the widget.js script I posted is indeed from the response marked as answer. and I changed the json to: "definitionExpression": "DIST=10", but still no filtering. Thanks.
... View more
06-02-2015
12:41 PM
|
0
|
15
|
3120
|
|
POST
|
Hello Robert. I applied a definitionexpression but it does seem to be working. Ideas? Thanks. My service is a feature service and I added this script in widget.js ....... lLayer = new FeatureLayer(layer.url, lOptions); if(layer.hasOwnProperty('definitionExpression')){ lOptions.definitionExpression = layer.definitionExpression; } lLayer.on('load',function(evt){ ...... and in json: "url": "http://10.112.5.83/arcgis/rest/services/Biology/CNDDB/MapServer/0", ....... ....... "definitionExpression": [ {"id":0, "sql": "DIST=10"}], .......
... View more
06-02-2015
11:28 AM
|
0
|
17
|
3120
|
|
POST
|
Yes, That's correct. However, in my case where I have multiple layers is a lot easier to modify the definition expression in a configuration file rather than creating a map for each case. Thank you.
... View more
06-02-2015
08:15 AM
|
0
|
0
|
3851
|
|
POST
|
Thank you. Robert's response to your question provided the info I was looking for.
... View more
05-29-2015
08:42 AM
|
0
|
0
|
3851
|
|
POST
|
Thank you. I see how is done in the code. I was hoping to see a configuration file (perhaps json file)that you can define the layers that you use in the map and the definition expression to define which datasets to display. I am trying to migrate to JS from FLEX where you can do this in the configuration file. Suggestions?
... View more
05-27-2015
08:14 AM
|
1
|
4
|
3851
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM | |
| 1 | 01-05-2026 01:35 PM | |
| 1 | 12-30-2025 10:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|