POST
|
Hi, I have been working on a custom Arcade expression that displays a table of related inspections in the popup for a feature in ArcGIS Online Map Viewer. The code is working perfectly in the Map Viewer, but when I try to use it in ArcGIS Field Maps, I'm encountering an error (Error code 7018) that states "Arcade expression is invalid". I've included the Arcade code below for reference: var parentGlobalID = $feature.GlobalID; var tbl = "<table border='1' cellpadding='5' cellspacing='0' style='width:100%; direction:rtl;'>"; tbl += "<tr style='background-color: #D3D3D3;'><th>Inspection Date</th><th>Inspector Name</th><th>Status</th></tr>"; // Get related records sorted by date var relatedRecords = filter(FeatureSetByName($map, "Inspections", ["InspDate","InspReporterName","InspStatus"], false), 'ShepardParentGlobalID = @parentGlobalID',); if (Count(relatedRecords) > 0) { for (var i in (OrderBy(relatedRecords, "InspDate DESC",))) { var rowBackgroundColor = "background-color: #CCFFCC;"; // add backround to row if InspStatus is "Not Valid" if (i.InspStatus == "Not Valid") { rowBackgroundColor = "background-color: #FFCCCC;"; } // format date field to DD/MM/YYYY var formattedDate = Text(Date(i.InspDate), 'DD/MM/YYYY'); tbl += "<tr style='" + rowBackgroundColor + "'><td style='text-align:center;'>" + formattedDate + "</td><td style='text-align:center;'>" + i.InspReporterName + "</td><td style='text-align:center;'>" + i.InspStatus + "</td></tr>"; } } else { tbl += "<tr><td colspan='3'>Inspections not found</td></tr>"; } tbl += "</table>"; return { type : 'text', text : tbl //this property supports html tags } Has anyone encountered a similar issue or has insights on what might be causing this error specifically in ArcGIS Field Maps? Any help or suggestions would be greatly appreciated. Guy Nizry
... View more
09-22-2023
12:34 AM
|
0
|
7
|
1446
|
POST
|
Hi Shwu-jing Jeng, Thanks for your quick respond. Sorry for my late respond, I was out of the office. I opened a support ticket few days ago on this subject. When I provided the map details I've been told that my map include tiled cache layer that is not shared publicly - this is a known issue which prevent the map from loading in Survey123. Hope it will be fixed soon. Guy
... View more
09-21-2020
07:16 AM
|
1
|
0
|
399
|
POST
|
We are experiencing some issues with the webmap that linked to the survey. Our survey linked to custom web map which is set as the default basemap. Most of the times it doesn't show up when the user is trying to locate the spot of the survey. Instead it arrives as a grey background: The map is shared only with authorized group of users, the same one that authorized to work with a survey it linked to. Does anyone have any suggestions?
... View more
09-15-2020
10:23 PM
|
0
|
2
|
459
|
POST
|
Hi Shengdi Thanks for your quick respond. I used a list widget pointing a feature class with multiple attachments to each feature. Guy
... View more
08-27-2020
03:12 AM
|
0
|
2
|
1081
|
POST
|
Hi Shengdi Thank you for logging this issue. I found another similar issue with image navigation arrows when using locale=he.
... View more
08-27-2020
01:55 AM
|
0
|
4
|
1081
|
POST
|
The navigation arrows in the list widget are upside down when using locale=he. Hope you can fix it soon. Screenshot:
... View more
08-11-2020
02:56 AM
|
0
|
8
|
1177
|
POST
|
Thanks Owen for the information and your prompt response. I hope there will be a way in future release to force the Hebrew locale in Storymap Collection (as in Storymap) for readers who use other language settings in browser/OS or AGOL account. It will be very useful. Thanks, Guy ᐧ בתאריך יום ד׳, 13 במאי 2020 ב-15:44 מאת Owen Evans <geonet@esri.com >: GeoNet, The Esri Community | GIS and Geospatial Professional Community <https://community.esri.com/?et=watches.email.thread> Re: Url parameter locale is not working with Storymap inside Storymap Collection reply from Owen Evans <https://community.esri.com/people/OEvans-esristaff?et=watches.email.thread> in ArcGIS StoryMaps - View the full discussion <https://community.esri.com/message/928666-re-url-parameter-locale-is-not-working-with-storymap-inside-storymap-collection?commentID=928666&et=watches.email.thread#comment-928666>
... View more
05-13-2020
08:27 AM
|
0
|
0
|
605
|
POST
|
Hi I'm trying to use the new Storymap inside Storymap Collection. The Storymap is in Hebrew and in order to have the text direction from right to left I'm adding ?&locale=he to the end of the url address of the published Storymap. It works great for a single Storymap, and also for the Storymap Collections entrance page, I get Hebrew interface and text direction is from right to left as expected, but when entering one of the Storymaps inside the Collection the direction is changed back to left to right. Is there something I can do to force the story map Hebrew locale inside a Storymap Collection?
... View more
05-13-2020
03:17 AM
|
0
|
2
|
696
|
POST
|
Custom to my organization. ᐧ בתאריך יום ג׳, 31 במרץ 2020 ב-20:00 מאת James Tedrick <geonet@esri.com >: GeoNet, The Esri Community | GIS and Geospatial Professional Community <https://community.esri.com/?et=watches.email.thread> Re: Survey123 Report - Location Question Problem reply from James Tedrick <https://community.esri.com/people/JTedrick-esristaff?et=watches.email.thread> in Survey123 for ArcGIS - View the full discussion <https://community.esri.com/message/919039-re-survey123-report-location-question-problem?commentID=919039&et=watches.email.thread#comment-919039>
... View more
03-31-2020
10:04 AM
|
0
|
0
|
364
|
POST
|
Hi James, Thanks for your help. No, I try the simplest way, just with the question ($), no scale or zoom specifications. Guy ᐧ בתאריך יום ג׳, 31 במרץ 2020 ב-1:33 מאת James Tedrick <geonet@esri.com >: GeoNet, The Esri Community | GIS and Geospatial Professional Community <https://community.esri.com/?et=watches.email.thread> Re: Survey123 Report - Location Question Problem reply from James Tedrick <https://community.esri.com/people/JTedrick-esristaff?et=watches.email.thread> in Survey123 for ArcGIS - View the full discussion <https://community.esri.com/message/918797-re-survey123-report-location-question-problem?commentID=918797&et=watches.email.thread#comment-918797>
... View more
03-30-2020
10:08 PM
|
0
|
2
|
364
|
POST
|
Hi I'm having trouble creating a report that has a location question (map) in it. The report cannot be generated and after a few minutes the following error message is received: ${EventLocation} is the point location question in the form. When I delete the location question from the template, the report is generated successfully. Any Ideas what can be the issue, and how to fix it? Thanks, Guy
... View more
03-29-2020
05:02 AM
|
0
|
4
|
439
|
POST
|
I managed to understand what was causing the problem. The calculated field includes fields with relevant expression. When I removed these fields from the calculation, the web form submitted the calculated sum as expected. Does the web form not support calculated fields that point to fields with relevant? If it not supported, is there a workaround to make it work?
... View more
03-26-2019
04:21 AM
|
0
|
1
|
572
|
Title | Kudos | Posted |
---|---|---|
1 | 09-21-2020 07:16 AM | |
2 | 07-19-2017 10:32 PM | |
4 | 02-11-2019 10:24 AM | |
6 | 02-11-2019 10:24 AM | |
6 | 02-04-2019 04:39 AM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|