POST
|
Hi Robert, I've been having trouble creating a new web service, so I was trying the one that was used with flexviewer. That web service however is SOAP. I asked the guy who developed it what the input parameter name was and he said it wasn't named. William
... View more
02-06-2017
01:41 PM
|
0
|
9
|
1417
|
POST
|
Hi Robert, I have a couple questions. If I use XML instead of JSON, is the following format correct? var requestHandle = esriRequest({
url: 'your rest service url',
content: {
xmlContent: xmlContent
},
handleAs: "xml",
timeout: 10000
},{useProxy: true, usePost: false, disableIdentityLookup: true});
requestHandle.then(requestSucceeded, requestFailed); If I'm running Web AppBuilder on my desktop, can I still test this functionality? Thank you for your help. William
... View more
02-06-2017
01:01 PM
|
0
|
11
|
1417
|
POST
|
Hi Robert, I have a very basic web service. How do I send the search criteria collected from a widget with JavaScript to that web service? William
... View more
01-26-2017
07:37 AM
|
0
|
14
|
1417
|
POST
|
The widget attached to this thread is from the stemapp folder.
... View more
01-25-2017
02:37 PM
|
0
|
2
|
438
|
POST
|
Hi Robert, Initially, I was just modifying your widget in an app. When I realized I needed a separate widget, I transferred to working in the stemapp. William
... View more
01-25-2017
02:35 PM
|
0
|
0
|
438
|
POST
|
Robert, I do see an eLabels widget in the add widget dialog when I create a new app, but when I click OK, I get the error above. William
... View more
01-25-2017
02:23 PM
|
0
|
5
|
438
|
POST
|
Hi Robert, After I manually add eLabels to that config.json, I don't have a problem, or I haven't encountered one yet. The issue is I have to manually add that and the widget's config.json. (I did notice that the i_search.png cannot be found when I click Edit Default Search Symbology, but that happens in the eSearch widget too.) William
... View more
01-25-2017
02:01 PM
|
0
|
7
|
1450
|
POST
|
Robert, When you say the main config.json, are you talking about the ../client/stemapp/config.json or ../client/stemapp/widgets/eLabels/config.json? I did not make any changes to either of these files. William
... View more
01-25-2017
01:22 PM
|
0
|
9
|
1450
|
POST
|
Yes. The HTML, CSS, JSON and JS. The FeatureActionManager.js is indicated in the error message, so I don't know if that has something to do with it or not.
... View more
01-25-2017
12:36 PM
|
0
|
11
|
1450
|
POST
|
Hi Robert, I want to include the original eSearch widget, but also a modified one in the same app. Web AppBuilder does not add an additional eSearch widget folder when I add a second eSearch widget, only a separate config file. I believe I changed all the necessary instances of 'eSearch' and 'esearch' in the widget to 'eLabels' and 'elabels', respectively. I can manually add the config folder/file for the eLabels widget and add it to the main config file, it would just be more convenient to use WAB. William
... View more
01-25-2017
12:21 PM
|
0
|
13
|
1450
|
POST
|
Hello, I renamed Robert's Enhanced Search Widget after making some changes. I am able to go through the setup in web appbuilder, but when I click OK to complete the widget's configuration, I get the error below and no option to save the changes. The widget is copied to the app, but no config file is saved. I've removed my code and just changed the widget name in all the files (attached), and I've tried restarting WAB multiple times, but the problem persists. Any help is greatly appreciated. Thank you. William TypeError: Cannot read property 'en-us' of undefined init.js:113
at Object.<anonymous> (FeatureActionManager.js?wab_dv=2.2:174)
at Object.forEach (init.js:70)
at Object.registerWidgetFeatureActions (FeatureActionManager.js?wab_dv=2.2:162)
at Object.<anonymous> (FeatureActionManager.js?wab_dv=2.2:207)
at init.js:63
at visitBigSection (utils.js?wab_dv=2.2:120)
at Object.visitElement (utils.js?wab_dv=2.2:85)
at Object.c.visitElement (ConfigManager.js?wab_dv=2.2:177)
at Object._reRegisterWidgetActions (FeatureActionManager.js?wab_dv=2.2:204)
at Object._onAppConfigChanged (FeatureActionManager.js?wab_dv=2.2:252) "TypeError: Cannot read property 'en-us' of undefined
at Object.<anonymous> (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/FeatureActionManager.js?wab_dv=2.2:174:82)
at Object.forEach (http://js.arcgis.com/3.18/init.js:70:348)
at Object.registerWidgetFeatureActions (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/FeatureActionManager.js?wab_dv=2.2:162:15)
at Object.<anonymous> (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/FeatureActionManager.js?wab_dv=2.2:207:28)
at http://js.arcgis.com/3.18/init.js:63:209
at visitBigSection (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/shared/utils.js?wab_dv=2.2:120:13)
at Object.visitElement (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/shared/utils.js?wab_dv=2.2:85:5)
at Object.c.visitElement (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/ConfigManager.js?wab_dv=2.2:177:19)
at Object._reRegisterWidgetActions (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/FeatureActionManager.js?wab_dv=2.2:204:19)
at Object._onAppConfigChanged (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/FeatureActionManager.js?wab_dv=2.2:252:14)
----------------------------------------
rejected at a (http://js.arcgis.com/3.18/init.js:108:174)
at h (http://js.arcgis.com/3.18/init.js:107:438)
at g.then.c.then (http://js.arcgis.com/3.18/init.js:110:152)
at Object._onWidgetPoolChanged (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/ConfigManager.js?wab_dv=2.2:285:72)
at f.<anonymous> (http://js.arcgis.com/3.18/init.js:63:209)
at f.c [as onbuilder/widgetPoolChanged] (http://js.arcgis.com/3.18/init.js:119:79)
at Function.h.emit (http://js.arcgis.com/3.18/init.js:124:331)
at Function.h.emit (http://js.arcgis.com/3.18/init.js:125:443)
at f.emit (http://js.arcgis.com/3.18/init.js:117:218)
at Object.publish (http://js.arcgis.com/3.18/init.js:169:289)
----------------------------------------
Error
at g.then.c.then (http://js.arcgis.com/3.18/init.js:110:97)
at Object._onWidgetPoolChanged (http://pcName.domainName:port/webappbuilder/apps/6/jimu.js/ConfigManager.js?wab_dv=2.2:285:72)
at f.<anonymous> (http://js.arcgis.com/3.18/init.js:63:209)
at f.c [as onbuilder/widgetPoolChanged] (http://js.arcgis.com/3.18/init.js:119:79)
at Function.h.emit (http://js.arcgis.com/3.18/init.js:124:331)
at Function.h.emit (http://js.arcgis.com/3.18/init.js:125:443)
at f.emit (http://js.arcgis.com/3.18/init.js:117:218)
at Object.publish (http://js.arcgis.com/3.18/init.js:169:289)
at Object.<anonymous> (http://pcName.domainName:port/webappbuilder/builder/main.js?wab_dv=2.2:2111:232)
at f.<anonymous> (http://js.arcgis.com/3.18/init.js:63:209)"
... View more
01-25-2017
11:24 AM
|
0
|
15
|
2729
|
POST
|
Hi, I need to send information from my WAB app to a non-ArcGIS database, run a query and return the results back to my app. From what I see online, using only JavaScript is not a secure idea. It looks like I need an intermediary, which my employer would like to be Visual Basic. If someone has successfully done this, please let me know how I might go about it. Any help is appreciated. Thank you for your time. William
... View more
01-12-2017
02:35 PM
|
0
|
41
|
6712
|
POST
|
Hi Prasad, I don't know how to include a preexisting widget inside another widget. If you haven't developed the widget yet, you could develop the widget in one of the subwidgets. However, there would be no config.json, manifest.json or nls/string.js. You might want to post a new question on GeoNet. Something like "Is there a way to include one or more widgets inside another widget?" or "Is there a way to include out of the box widgets as sub-widgets of a custom widget?" If you do start a new post, please add a link to it here. I'd like to know the answer, and I'm sure others would too. If you want, I can even ask the question and post a link here. William
... View more
12-29-2016
12:38 PM
|
1
|
0
|
895
|
POST
|
Hi Prasad, I'm not sure I know what you mean by link. If you mean how to open a widget from a tab, please see the updated Widget.js and Widget.html in the attached zip file. I added two buttons to the first tab. Each button opens a different widget. If you meant something else, please elaborate. William
... View more
12-28-2016
08:09 AM
|
1
|
2
|
895
|
Title | Kudos | Posted |
---|---|---|
1 | 12-28-2016 08:09 AM | |
1 | 11-28-2016 08:34 AM | |
1 | 11-28-2016 08:39 AM | |
1 | 12-07-2016 06:14 AM | |
1 | 12-08-2016 08:44 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|