|
POST
|
Arne, See this post: https://community.esri.com/thread/167981#comment-833694
... View more
08-13-2020
10:17 AM
|
1
|
2
|
1594
|
|
POST
|
Martin, There is already an example of publishing data from the SingleQueryResult.js in that file. Look at the _openAttributeTable method.
... View more
08-12-2020
05:26 AM
|
0
|
0
|
1502
|
|
POST
|
Damon, This is a normal workflow. To help you understand. The client/stemapp folder is the "base" and all apps that are created are clones of the base "stem cell". So you begin your custom widget development in the client/stemapp/widgets folder but as soon as you add your widget to an app then you are working with a clone of the stemapp in the server/apps/[app#] folder and there is no longer any connection between the two.
... View more
08-12-2020
05:20 AM
|
1
|
1
|
1729
|
|
POST
|
Brain, That does not make sense based on the warning message you posted above. And Like you said earlier even stranger yet is I don't get that arning youing your link provided.
... View more
08-11-2020
12:04 PM
|
0
|
1
|
2803
|
|
POST
|
Brain, That sounds like your json mime type is not configured properly. the json mime type should be configured as "application/json"
... View more
08-11-2020
05:19 AM
|
0
|
3
|
2803
|
|
POST
|
Brain, The only error I am seeing on those to test site links is an svg mime type issue. Seems like your web server does not have the svg mime type configured.
... View more
08-10-2020
02:31 PM
|
0
|
5
|
2803
|
|
DOC
|
Matt, Not that I know of. The widget opens the AT widget then calls the _openResultInAttributeTable method. Using this line in the _drawResults method: this.attWidget._openTable().then(lang.hitch(this, this._openResultInAttributeTable, currentLayer)); Even if I comment out the opening of the AT Widget,when I publish the data (the layer info) to the AT Widget it automatically open the widget.
... View more
08-10-2020
11:32 AM
|
1
|
0
|
23744
|
|
DOC
|
Matt, No there is no option to have it add the results to the AT widget but not open the AT widget automatically.
... View more
08-10-2020
10:55 AM
|
0
|
0
|
23745
|
|
POST
|
Brain, There is nothing in my code that has any concern about what level the user is.... Not sure what kind of issue you are running into.
... View more
08-10-2020
08:58 AM
|
0
|
0
|
4291
|
|
POST
|
Michael, 1. Q: What is the function of "isOpening" property? A: I have not used that property before. 2. Q: What exactly is the cause of the race conditions? and how does the setTimeout handle it? A: Your code is requesting that the widget is to be closed before something (not sure what) is completed in the widgets code or base code is complete. Using the timeout causes the request to close to delay for so many milliseconds thus allowing what ever the race condition is to be resolved. 3. Q: .... A: widget shifting up and down... Are you using the launchpad theme? Again this is a timing issue and using an alert is a modal type dialog and thus blocks user interaction with the app. I normally use the jimu message dijit instead. 4. Q: Why if I use "closePanel(this.id + '_panel')" instead of closeWidget(this), I get an unwanted behavior - I do see the alert only on each 2nd click of the widget? A: I am not sure. I have always had the exact opposite experience. Using closeWidget would sometimes remove the widget but leave the panel still open.
... View more
08-10-2020
08:55 AM
|
1
|
1
|
2189
|
|
POST
|
Michael, Sounds like it may be a race condition (timing). You should try: setTimeout(lang.hitch(this, function () {
PanelManager.getInstance().closePanel(this.id + '_panel');
}), 500);
... View more
08-09-2020
01:28 PM
|
2
|
3
|
2189
|
|
POST
|
Sanchi, The Id of the widget is not going to be something like "form" You can run your app and right click your widget and inspect the dom objects to find the id of your widgets panel.
... View more
08-09-2020
01:20 PM
|
0
|
0
|
1913
|
|
POST
|
David, I almost seems like you are trying to a featurelayer object from a sublayer of a ArcGISDynamicMapServiceLayer. If that is the case then that is the issue.
... View more
08-06-2020
11:45 AM
|
1
|
1
|
4877
|
|
POST
|
David, It sounds like the "subLayerID" you are searching for is returning null. Have you done a simple test like this: console.log(this.layerStructure.getNodeById(subLayerID)); If you are not getting a null from getNodeById and you are actually getting the node object back then you can try this code to get to the layer object from the node: var foundLayer = this.layerStructure.getNodeById(subLayerID);
// if(foundLayer !== 'undefined') {
if(foundLayer) {
var featureLayer = foundLayer._layerInfo.layerObject;
}
... View more
08-06-2020
07:52 AM
|
0
|
3
|
4877
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|