|
POST
|
Hi, Yes, flying higher seems to fix this issue. Thanks!
... View more
04-25-2023
10:52 AM
|
1
|
1
|
1806
|
|
POST
|
See the image below. This is a flight over some lagoons that I only half finished, but the part I did finish did not come out that great. Is there a recommended way to fly when there is a lot of water? It seems like it can't stitch together the tiles and so data is missing. Should I maybe do this from a higher altitude (I thought I was high to begin with)? Or maybe lower?? Less overlap or more?? Any help is appreciated.
... View more
04-17-2023
12:13 PM
|
0
|
7
|
1862
|
|
POST
|
Is it possible to use Arcade to show a custom message once a feature is selected in the map? For example, from the feature selected, I would like to show a message that indicates if there is any outstanding work that needs to be done (based on some business lgoic that would look at the related inspection records for that feature). We are currently using ArcPad to do this, but with transitioning to Field Maps we are trying to replicate as much functionality as possible. Thanks
... View more
04-03-2023
08:12 AM
|
0
|
1
|
605
|
|
POST
|
But for some reason this does work.....so strange that this (and my first one) work in the Arcade Editor, but only one of them works in the actual app. GetUser(FeatureSetByName($datastore, 'Manhole Inspections')).username; "Manhole Inspections" is the name of the table where the attribute being edited exists.
... View more
04-03-2023
05:47 AM
|
2
|
1
|
4311
|
|
POST
|
Hi, So I'm trying to populate a field using an expression. Just to fill it in with the logged in username, so a fairly basic one line expression, which compiles and works fine in the Arcade Editor on the AGOL Field Maps Early Access designer. GetUser($layer).username; For some reason when running the app (using iOS), I get the "Failed to Calculate" error on that expression and it won't let me save the record. Any ideas??
... View more
04-03-2023
05:23 AM
|
0
|
13
|
4840
|
|
POST
|
Ha ha!! Ok @JohannesLindner I finally got it working. Apparantly when you set a DEFAULT value on a field when you share that to AGOL, it automatically populates all the <Null> values with that default value....at least that seems to be what is happening....so NOT the Attribute rules. Anyways, all is good now and the Arcade symbology is working ok.
... View more
03-30-2023
12:42 PM
|
0
|
1
|
1486
|
|
BLOG
|
Hi, Does this have any effect on sharing layers to AGOL? For example, if I have a rule on a related inspection table, that updates the parent feature whenever an insert or update happens, would the rule automatically trigger when sharing the data to AGOL? I am finding that when creating a hosted feature service in AGOL, that the attributein my parent feature class is getting updated, and this is the only explanation I can think of. See the last few posts on this thread if you want more background: https://community.esri.com/t5/arcgis-pro-questions/symbolizing-unique-values-with-wildcards/m-p/1273703#M67409
... View more
03-30-2023
11:10 AM
|
0
|
0
|
6563
|
|
POST
|
Hi @JohannesLindner . So I think I see why my symbology in AGOL isn't working, but I can't really explain why. So, it looks like when I share my data as a weblayer out of ArcGIS Pro, the INSP_STATUS field on the data is getting upated. I do have Attribute Rules on the related table that has the inspections information. Do you think for some reason that is getting triggered when I share the data? Otherwise, I don't understand how that INSP_STATUS field is getting populated. In my Attribute Rule, I have it set to update the INSP_STATUS in the parent records field whenever a new inspection record is created/updated. For some reason, I am seeing all records in the published hosted feature layer with that attribute populated. Here is ArcGIS Pro: And then the same feature in AGOL:
... View more
03-30-2023
10:49 AM
|
0
|
0
|
1498
|
|
POST
|
Thanks....yes, I tried both with FeaturesetByName and FeaturesetByRelationshipName, but get the same results either way. I'll add some console messages and try to figure this out. Thanks for your help!
... View more
03-28-2023
11:30 AM
|
0
|
0
|
1096
|
|
POST
|
That doesn't seem to be an option for me. Maybe because I'm using an Arcade expression for the symbology? And the features are there. You can see the labelling. They just aren't being symbolized.
... View more
03-28-2023
10:56 AM
|
0
|
1
|
1523
|
|
POST
|
Hi @JohannesLindner . Sorry to bug you yet again, but after setting up this Arcade powered symbology and publishing this feature class as a hosted feature layer in our Enterprise ArcGIS Online account, a lot of the symbols are not actually showing. The ones with an INSP_STATUS do show up, but the ones with no INSP_STATUS are just not visible. They are there, as evidenced by the labelling, but you just can't see them. Does ArcGIS Online/Portal not support Arcade expressions?? Even using the web layer directly in ArcGIS Pro, I see the same results.
... View more
03-28-2023
10:28 AM
|
0
|
1
|
1530
|
|
POST
|
Hi @JohannesLindner . So I'm using the code below which kind of works for updating multiple fields in the child object based on the matching field in the parent, but it only works when I update the child, not when the child is first created. (I do have both the update and insert triggers checked). Is there something I am missing in order to get it to work when the records is first created?? var parent_fs = FeatureSetByRelationshipName($feature, "SAN_Manhole_To_SAN_Manhole_Inspection");
var key = $feature.FACILITYID;
parent_fs = Filter(parent_fs, "FACILITYID = @key");
var manhole = First(parent_fs);
if (manhole == null) {return};
// get the manhole feature
//var manholes = FeaturesetByName($datastore, 'SAN_Manhole', ['LOCATIONDESCRIPTION', 'SETTLEMENTAREA', 'LOCALMUNICIPALITY', 'DEPOTAREA'], false);
//var facility_id = $feature.FACILITYID;
//var manhole = First(Filter(manholes, 'FACILITYID = @facility_id'));
//if (manhole == null) {return};
var atts =
{
"LOCATIONDESCRIPTION": manhole.LOCATIONDESCRIPTION,
"SETTLEMENTAREA": manhole.SETTLEMENTAREA,
"LOCALMUNICIPALITY": manhole.LOCALMUNICIPALITY,
"DEPOTAREA": manhole.DEPOTAREA
};
return {"result": {"attributes": atts}};
... View more
03-28-2023
08:36 AM
|
0
|
1
|
2015
|
|
POST
|
Here is the final product. It's working nicely! // for features without INSP_STATUS, return the subtype
if(IsEmpty($feature.INSP_STATUS)) {
var subtypes = ["MaintenanceHole", "InspectionMH", "BackFlow", "DiversionMH", "FlapGateMH"]
var i = $feature.SubtypeCD - 1
return subtypes[i]
}
// for features with INSP_STATUS = YES
if ($feature.INSP_STATUS == "YES")
{
return "YES"
};
// for features with INSP_STATUS = WR LOW
if ($feature.INSP_STATUS == "LOW")
{
return "LOW"
};
// for features with INSP_STATUS = WR HIGH
if ($feature.INSP_STATUS == "HIGH")
{
return "HIGH"
};
// for features with INSP_STATUS = CR
if ($feature.INSP_STATUS == "CR")
{
return "CR"
};
... View more
03-28-2023
06:17 AM
|
0
|
0
|
1541
|
|
POST
|
Thanks Johannes. Arcade to the rescue again! I will check this out and see if I can get it to work.
... View more
03-28-2023
05:46 AM
|
0
|
0
|
2953
|
| 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
|