|
POST
|
Hi, I'm trying to show related records in a pop-up. According to this blog ( https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/rolling-out-related-records-in-map-viewer/ ) article, I should be able to do this, but for some reason I do not have the option to "Add Content - Related Records". See screenshot below. Can anyone explain what might be going wrong here?? Here are the details on the webservice I am using. I can view the features, and modify the features fields in the pop-up. Just no access to the related table for some reason. ArcGIS REST Services Directory Login | Get Token Home > services > Works > Valves_Over_Inspections (MapServer) Help | API Reference JSON | SOAP Works/Valves_Over_Inspections (MapServer) View In: ArcGIS JavaScript ArcGIS Online Map Viewer ArcGIS Earth ArcMap ArcGIS Pro View Footprint In: ArcGIS Online Map Viewer Service Description: Map Name: Valves Over Inspections Legend All Layers and Tables Dynamic Legend Dynamic All Layers Layers: Valves Over Inspected (0) Valves Over not Inspected (1) Watermain (2) Mapbook Grids (3) Tables: Valve_Inspections (4) Description: Copyright Text: Spatial Reference: 26917 (26917) Single Fused Map Cache: false Initial Extent: XMin: 670900.4892873524 YMin: 4861540.759367962 XMax: 671264.1504525405 YMax: 4861797.333926209 Spatial Reference: 26917 (26917) Full Extent: XMin: 632250.5783000002 YMin: 4845167.040200001 XMax: 706521.8962000003 YMax: 4932435.0529 Spatial Reference: 26917 (26917) Units: esriMeters Supported Image Format Types: PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP Document Info: Title: Map Author: Comments: Subject: Category: Keywords: AntialiasingMode: Fast TextAntialiasingMode: Force Supports Dynamic Layers: true MaxRecordCount: 2000 MaxImageHeight: 4096 MaxImageWidth: 4096 Supported Query Formats: JSON, geoJSON, PBF Supports Query Data Elements: true Min Scale: 0 Max Scale: 0 Supports Datum Transformation: true Child Resources: Info Dynamic Layer Supported Operations: Export Map Identify QueryDomains QueryLegends Find Return Updates
... View more
11-02-2023
12:13 PM
|
0
|
24
|
5360
|
|
POST
|
Hi, Yes, I've been playing with this and creating, recreating, many times, always with the same result. It is not timestamping properly. Is this maybe an undiscovered bug? If someone else has enabled editor tracking and gotten it to work successfully can you please post here so I can try to troubleshoot this a bit more. It really makes no sense what I see happening. Thanks,
... View more
11-02-2023
11:56 AM
|
0
|
0
|
764
|
|
POST
|
Just wondering if anyone else has seen this with editor tracking in Pro. It seems like all edits are getting timestamped with exactly the same time as the first edit made. For example: 1. I created a new feature at 5:24:22PM, so created_date and last_edited_date say that. 2. I go back to that same feature, update an attribute, but the last_edited_date stays the same. 3. I go to a new feature, update an attrubute and the last_edited_date updates to 5:24:22PM even though the time I made the edit is actually 5:28:00PM. Is anyone else seeing this same behaviour? This seems to happen in a FGDB as well as on our SDE server. It seems like the very first time an edit is made is being applied to all edits afterwards. Thanks,
... View more
10-31-2023
10:30 AM
|
0
|
3
|
799
|
|
POST
|
Hmmm....I wonder why the page I was looking at was different than the one you linked to?? Anyways, that works...thanks!! I am trying to test something in editor tracking that don't seem to be correct. If I update a field I can see the "last_edited_date" field update, but it doesn't update with the current date/time....instead it seems to be updating with the date/time that I started the edit session. So if I start the edit session at say 11:00:00AM, and make the edit 5 minutes later, it still populates with 11:00:00AM. Do you see this behaviour also?? Is this a known issue with Pro?? I don't remember editor tracking ever working this way with ArcMap.
... View more
10-31-2023
08:21 AM
|
0
|
1
|
1422
|
|
POST
|
Hi, Not sure what is going. I am following the instructions here (https://pro.arcgis.com/en/pro-app/3.0/help/editing/enable-or-disable-editor-tracking.htm#GUID-DDF021C6-C504-4FFF-AFD0-B2A658942F50) to setup Editor Tracking in a FGDB, but I do not have the "Editor Tracking" option even showing up in the Feature Class Properties window. Is there a setting somewhere I am missing?? This is what I see.
... View more
10-31-2023
08:05 AM
|
0
|
3
|
1492
|
|
POST
|
For what it's worth we are on Enterprise v10.8.1 and apparently REST services v 10.9.1
... View more
10-18-2023
09:35 AM
|
0
|
0
|
524
|
|
POST
|
It's so weird that everything works in the expression builder but not in the actual webmap. Have you ever heard of a firewall, McAfee or VPN causing issues with things like this? I'm running out of ideas as to why this isn't working.
... View more
10-18-2023
07:55 AM
|
0
|
1
|
527
|
|
POST
|
Hi @JohannesLindner . Do you need a specific version of Portal for the "Expects" statement to work? Please see the issue I am having here. I'm just looking through random threads looking for answers. https://community.esri.com/t5/arcgis-online-questions/arcade-not-working-in-pop-up/m-p/1338803#M55130
... View more
10-18-2023
07:50 AM
|
0
|
0
|
1152
|
|
POST
|
And breaking things down a bit further, even if I do this, I cannot get anything to display in the pop-up but it does display in the expression editor. var related = FeatureSetByRelationshipName($feature, "GISWRKS1.WORKS.INSPECTIONS_Valve_Inspection");
//return "Relate"
var output = count(related) //`Previous Inspection`;
//return "var setup"
//if (count(related) != 1) output += "s";
return output Would there be some reason why the function "Count" might cause it to crash??
... View more
10-18-2023
07:24 AM
|
0
|
0
|
2721
|
|
POST
|
Hi Ken, Thanks for the insight. While all of the code works in the expression builder, it seems like all of the code in lines 4, 5 and 7 is not working. If I do this I can get the output to say "Previous Inspection" in the map pop-up, but in the expression builder it always shows me the results I actually want. Why would it show up differently in the expression builder than in the map? I am using the same feature in the map that the expression builder is using. var related = FeatureSetByRelationshipName($feature, "GISWRKS1.WORKS.INSPECTIONS_Valve_Inspection");
//return "Relate"
var output = `Previous Inspection`;
//return "var setup"
//if (count(related) != 1) output += "s";
//return "First loop"
for (var rec in related) {
output += `${TextFormatting.NewLine}• ` + Text(rec.INSP_DATE, 'DD/MM/YYYY')
}
return output
... View more
10-18-2023
05:56 AM
|
0
|
0
|
2724
|
|
POST
|
Yes, using output or a data dictionary the result is the same. If I find that feature that is showing up when I click the "Test" button in the expression builder, still nothing shows up in the pop-up. See screenshots below. I really have no idea what is going on and why this isn't working.
... View more
10-17-2023
11:40 AM
|
0
|
1
|
2750
|
|
POST
|
Hi Ken, I have no idea what version our Portal is but it's definitely not the most recent version. It's managed by our IT department. As for the expression, I only have the one expression in that Text element. Whether returning a dictionary or a value, I cannot get it to work in the Pop-Up. var related = FeatureSetByRelationshipName($feature, "GISWRKS1.WORKS.INSPECTIONS_Valve_Inspection");
var output = `${count(related)} Previous Inspection`;
if (count(related) != 1) output += "s";
for (var rec in related) {
output += `${TextFormatting.NewLine}• ` + Text(rec.INSP_DATE, 'DD/MM/YYYY')
}
return {
type: 'text',
text: output
}
... View more
10-17-2023
10:54 AM
|
0
|
1
|
2755
|
|
POST
|
So based on this question (https://community.esri.com/t5/arcgis-online-questions/arcade-expression-correct-but-doesn-t-show-up-in/m-p/1240075), I have modified my code to return a dictionary instead of a value, but still no luck. Again it works in the expression builder, but not in the pop-up. I'm also noticing that I don't even have the option to add "Arcade Expression" in my pop-up. Is this maybe a problem with our Portal?? @JohannesLindner
... View more
10-17-2023
10:15 AM
|
0
|
1
|
2758
|
|
POST
|
Hi, The following Arcade expression seems to be working in the Expression builder, but after saving and adding to a pop-up nothing gets displayed. Any ideas as to what might be going on??
... View more
10-17-2023
07:40 AM
|
0
|
12
|
3319
|
|
POST
|
We are still on Pro 2.9, and I just got a new development machine. I only seem to be able to install the latest 3.1 SDK through Visual Studio. Does anyone know how to install an older SDK within Visual Studio?? I checked in MyEsri, but I do not see anything there.
... View more
10-03-2023
08:16 AM
|
0
|
2
|
2017
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-18-2023 08:57 AM | |
| 1 | 04-19-2018 05:53 AM | |
| 1 | 04-13-2018 10:07 AM | |
| 1 | 04-13-2018 10:04 AM | |
| 1 | 04-13-2018 05:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-20-2025
03:53 PM
|