|
POST
|
I have a form to add two text questions together. I have the First and Last name in one question and address in another. The calculation I am using is ${prop_owner_name1}+", "+${project_address} This calculation works as expected in both Survery123 Connect and the ArcGIS Survey123 app however if I were to open the survey in a web browser, the answer gives a NaN. I am using Survey123 connect 3.13.251
... View more
12-15-2021
02:34 PM
|
1
|
3
|
1633
|
|
POST
|
@albanajpaul_itotem Does this post help? https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/generate-data-for-interactive-charts-using-arcade-in-popups/
... View more
11-23-2021
05:04 PM
|
0
|
0
|
1426
|
|
POST
|
@albanajpaul_itotem How are you adding the data? If via a webmap try renaming the fieldname there.
... View more
11-23-2021
03:06 PM
|
0
|
2
|
1433
|
|
POST
|
@BrentGrossman I added to the element visibility: hidden;
... View more
11-19-2021
02:17 PM
|
1
|
3
|
3269
|
|
POST
|
@BrentGrossman You can hide the button using css. But that would be fore all layers. One other way would be to disable creating features on the service.
... View more
11-19-2021
01:56 PM
|
1
|
5
|
3289
|
|
POST
|
@KalleSchmitz You need to make sure that the webmap, layers and Builder app all are shared publicly.
... View more
11-09-2021
06:53 AM
|
2
|
1
|
1111
|
|
POST
|
@jcarlson I got it to work once. When I test I get the results I want but the script picker now gives me this error
... View more
10-22-2021
09:08 AM
|
0
|
0
|
1073
|
|
POST
|
@jcarlson I think you were almost right. This is what I got to work // Filter records with empty values (future dates)
var filt = Filter(fs, "REEDER_Percent_FULL IS NOT NULL")
// Sort filtered records for most recent first
var sorted = OrderBy(filt, "Date_ DESC")
// Return top record
return First(sorted) If you modify your post I will mark yours as correct
... View more
10-22-2021
09:03 AM
|
1
|
2
|
2046
|
|
POST
|
@jcarlson var portal = Portal("PortalID");
var fs = FeatureSetByPortalItem(
portal,
"Numbers",
1,
[
"Date_",
"W_F_MGD",
"E_F_MGD",
"TOTAL_W_E_MGD",
"TID_FLOW_MGD",
"REEDER_Percent_FULL",
"TAP_FLOW_MGD",
"PLANT_PRODUCTION_MGD",
"last_edited_date"
],
false
);
// Filter records with empty values (future dates)
var filt = Filter(fs, "REEDER_Percent_FULL IS NOT NULL OR REEDER_Percent_FULL <> ''")
// Sort filtered records for most recent first
var sorted = OrderBy(filt, "Date_ DESC")
// Return top record
return First(sorted) Here is my full code minus the portal login info
... View more
10-22-2021
08:40 AM
|
0
|
4
|
2048
|
|
POST
|
@jcarlson Thank you for your continued help on this. I am not sure the "AND" is the issue. I added the change and this is what I get. I think the problem is that the "filt" var is defined but then not put into the result. I would think that the "sorted" var would need to reference the "filt" var at some point.
... View more
10-22-2021
07:56 AM
|
0
|
0
|
1081
|
|
POST
|
@jcarlson I am now getting data to display but it is still showing the Null data. How does the var filt apply to the sorted layer?
... View more
10-21-2021
01:28 PM
|
0
|
2
|
1105
|
|
POST
|
@jcarlson // Filter records with empty values (future dates)
var filt = Filter(fs, "REEDER_Percent_FULL IS NOT NULL REEDER_Percent_FULL <> ''")
// Sort filtered records for most recent first
var sorted = OrderBy(fs, "Date_ DESC")
// Return top record
return First(sorted) This is what I have so far. I am getting this error: Execution Error:Expected "*", "+", "-", "/", "AND", "OR", [ \t\n\r], or end of input but "R" found.
... View more
10-21-2021
07:52 AM
|
1
|
1
|
1127
|
|
POST
|
Thanks for the link. One issue I have is that I have pre added dates for the year so I cannot pick the max date but maybe I can get it to work with todays date.
... View more
10-20-2021
03:03 PM
|
1
|
7
|
2123
|
|
POST
|
@jcarlson I am trying to do this in a data expression.
... View more
10-20-2021
01:53 PM
|
0
|
9
|
2152
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:53 PM | |
| 1 | 08-24-2022 09:40 AM | |
| 1 | 07-19-2018 04:41 PM | |
| 1 | 04-05-2024 03:12 PM | |
| 1 | 07-04-2024 11:42 AM |