POST
|
There is a "ToLocal" function within Arcade expressions that I was able to use.
... View more
03-22-2019
07:02 AM
|
2
|
0
|
1201
|
POST
|
Thanks this worked for me as well. Is there a way to tell it that this is UTC time, and that it should adjust to whatever time zone the user is in when displaying? For example, my expression converts text (2019-03-19 20:00:00, UTC) to Tue Mar 19 2019 20:00:00 GMT-0500 (Central Daylight Time) even though it doesn't convert it to CDT.
... View more
03-19-2019
01:03 PM
|
2
|
1
|
1201
|
POST
|
Try changing the Aggregate Statistics to 1 minute from 30 minutes.
... View more
03-04-2019
08:10 AM
|
0
|
1
|
1820
|
POST
|
Yes that's correct values show two decimal zeros in the pop-up. In the configure attributes I do have zero decimal places selected: In the actual db the GRIDCODE field is a double.
... View more
01-11-2019
07:17 AM
|
1
|
3
|
18836
|
POST
|
I have the following Arcade expression. However, it does not round to the nearest whole number. It always produces a number with two decimal places. Not sure if I am doing something wrong? Thanks. var grid = $feature.GRIDCODE*10 var roundedValue = Round(grid, 0) roundedValue
... View more
01-10-2019
01:33 PM
|
0
|
12
|
23506
|
POST
|
I am using WAB Developer 2.9. Yes I made the change in the app widget: WebAppBuilderForArcGIS\server\apps\2\widgets\LayerList\LayerListView.js When you tested did you include my setTime code also? My setTimeout code is at line 280.
... View more
10-05-2018
11:15 AM
|
0
|
2
|
946
|
POST
|
Thanks Robert. I edited that function, but I'm not seeing any difference. I cleared the cache too. No errors.
... View more
10-05-2018
10:30 AM
|
0
|
4
|
946
|
POST
|
Hello, I have added the following code to the LayerList widget to automatically expand the legend of the layers when the web app is loaded. It works fine. However, I don't like that it "highlights" or gives a light grey background to the second of the two layers. Since the layers are scale dependent I feel like you can't tell the difference when the text turns from light grey (layer not visible on the map) to black text (layer visible on the map). Is there a way to remove this as the default? I have included a screen capture as well. I am using WAB Developer Version 2.9. Thanks. //bind event Added setTimeout code to automatically expand legend. setTimeout(lang.hitch(this, this._onRowTrClick, layerInfo, imageShowLegendDiv, layerTrNode, tableNode, {}), 300);
... View more
10-05-2018
08:10 AM
|
0
|
6
|
1065
|
POST
|
Sure it is a public service from NWS: Layer: Day 1 Convective Outlook (ID: 1) Possible values are 2, 3, 4, 5, 6, and 7.
... View more
07-17-2018
09:05 AM
|
0
|
2
|
3547
|
POST
|
I am trying to use an Arcade expression to display coded values in a popup in ArcGIS Online, but it is not working. I am using the code from the decode example. It does not display in the popup. No error message is given in the popup. var code = $feature.dn; var decodedValue = Decode(code, 2, 'Non-Severe', 3, 'Marginal', 4, 'Slight', 'Other'); I am not the author of the map service. The dn field is an esriFieldTypeDouble. Thank you.
... View more
07-17-2018
08:45 AM
|
0
|
4
|
4287
|
POST
|
No sorry filter still not working. No console errors.
... View more
02-15-2018
12:09 PM
|
0
|
2
|
1415
|
Title | Kudos | Posted |
---|---|---|
5 | 11-01-2023 07:21 AM | |
1 | 06-22-2021 06:58 AM | |
1 | 01-11-2019 07:17 AM | |
1 | 04-04-2016 11:08 AM | |
1 | 07-30-2019 12:47 PM |
Online Status |
Offline
|
Date Last Visited |
03-05-2024
07:49 AM
|