All,
I just installed WAB 1.1 Developer Edition and went through the instructions for loading the custom widget, however a few things popped up:
1. There is no \client\builder\predefined-apps\default2DApp\ folder. I did find a config.json file in client\stemapp\predefined-apps\default so I added the code to this file.
2. I can load the widget and connect to my services, but once I have them added, nothing is actually added to the map. So there is very clearly something still wrong.
Has anyone had this issue, or know what I could be doing wrong? I don't have a proxy as my services are not secured, and are actually on the same test machine as the WAB.
Thanks!
Solved! Go to Solution.
Leah,
You might want to check out this post for details: Tips for using the custom LocalLayer widget with WAB-Dev edition
It seems to me the issue is related to where you added the widget in your json code. I documented how I did the install, which is working for me. Here are the details:
Leah,
You might want to check out this post for details: Tips for using the custom LocalLayer widget with WAB-Dev edition
It seems to me the issue is related to where you added the widget in your json code. I documented how I did the install, which is working for me. Here are the details:
I did all of this and read through the document. Do you have that default2D folder in your directory?
This is where I found the config...since there was no pre-defined apps folder in my other location:
I do not have the default2D folder.
Here is the modification that I made in the cofig.json file in the client\stemapp\predefined-apps\default\config.json file:
"widgetOnScreen": {
"widgets": [{
"uri": "widgets/LocalLayer/Widget",
"visible": true
},
Okay, I re-did everything and it is working now!!! Thanks for the very quick reply!!
No problem!