|
POST
|
In serivces, you can make the apply edits call to the Association table. You can use the Request module.
... View more
11-13-2023
03:35 AM
|
0
|
1
|
1997
|
|
POST
|
When posting code, please use the code snippet. This should get you closer: // Get the global ID of the point feature being inserted
var globalId = $feature.globalid;
// Find the corresponding feature in the BCC_JuneSnapShot feature class
var snapshotFeatureClass = FeatureSetByName($datastore, "BCC_JuneSnapShot");
var filteredFeatures = Filter(snapshotFeatureClass, "pointGuid = @globalId");
if (Count(filteredFeatures) != 0) {
return $feature.field;
}
var copy_feature = dictionary($feature);
copy_feature['geometry'] = $feature.geometry
return {
"result": $feature.field,
"edit": [
{
"className" : "BCC_JuneSnapShot",
"adds" : [copy_feature ]
}
]
}
... View more
11-09-2023
11:24 AM
|
0
|
0
|
3107
|
|
POST
|
Take a look at this article - https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm
... View more
11-09-2023
09:22 AM
|
0
|
1
|
1399
|
|
POST
|
You need to return the edit, setting it on $feature does not affect the feature
... View more
11-09-2023
08:57 AM
|
0
|
3
|
1404
|
|
POST
|
You will need to adjust the logic to not null out the project number and just remove it from the ; delimited list. but I would start to ensure the logic is working. Make a delete only rule like this and ensure it is working var ProjA = FeatureSetByName($datastore, "Projects_A", ["GlobalID"], true)
var IntProj = Intersects(ProjA, $feature)
var updates = []
for (var proj in IntProj) {
psuh(updates, {
'GlobalID': proj.GlobalID,
'attributes': {'project_number':null}
})
}
return {
'result': $feature.project_number,
'edit': [{
'className': 'Projects_A',
'updates': updates
}]
}
... View more
11-09-2023
08:43 AM
|
0
|
1
|
2690
|
|
POST
|
This will do it for you -https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/migrate-relationship-class-tool.htm
... View more
11-09-2023
08:40 AM
|
1
|
0
|
902
|
|
IDEA
|
Pretty sure this is because on Service, it uses an Async process. F/MGDB do not support an async process. From the help: ALL_SUBNETWORKS_IN_TIER—All subnetworks in the tier will be updated. This option uses asynchronous processing to update the subnetworks using the system UtilityNetworkTools geoprocessing service. The service is reserved for utility network geoprocessing tasks and has a longer default timeout setting. This is the default.
... View more
11-09-2023
05:51 AM
|
0
|
0
|
1007
|
|
POST
|
Since you want the calculated M for that location, I am guessing that https://developers.arcgis.com/arcade/function-reference/geometry_functions/#nearestcoordinate will not work? All the logic you need to get the nearest points and the two bounding vertex to calculate the M is in this rule: https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/SplitIntersectingLine.md
... View more
11-09-2023
03:43 AM
|
1
|
0
|
2553
|
|
POST
|
Without seeing the rule you used, I am not sure. The script I posted should work. The return edits of the delete, should update those features.
... View more
11-09-2023
03:39 AM
|
0
|
3
|
2697
|
|
POST
|
Can you post a screen shot of the error? What version of ArcGIS Pro and untools are you using?
... View more
11-08-2023
02:20 AM
|
0
|
0
|
3478
|
|
POST
|
Check the properties of those validation layers. What are the connection properties?
... View more
11-03-2023
02:13 AM
|
1
|
0
|
2661
|
|
POST
|
The embedded tool help has the following info, which matches what you are seeing: To define distance, add/populate a double field in the B_Rules table, "association_distance". This value will be used as a search tolerance for features that match the rule. If this field does not exist, or the values are null, then a default of 5 units will be used. Rows with a negative association_distance will be excluded from processing. I added an issue to get this added to the web help.
... View more
11-03-2023
02:10 AM
|
0
|
1
|
1087
|
|
POST
|
When posting code, make sure add as a code snippet. Makes it much easier to read. If you are just trying to null out the features values, it is a simple change to your code. You will need a seperate attribute rule or you can use the edit context var ProjA = FeatureSetByName($datastore, "Projects_A", ["GlobalID"], true)
var IntProj = Intersects(ProjA, $feature)
var updates = []
var proj_num = iif($editcontext.editType == "DELETE",null,$feature.project_number)
for (var proj in IntProj) {
psuh(updates, {
'GlobalID': proj.GlobalID,
'attributes': {'project_number':proj_num}
})
}
return {
'result': $feature.project_number,
'edit': [{
'className': 'Projects_A',
'updates': updates
}]
}
... View more
11-01-2023
05:58 AM
|
0
|
5
|
2751
|
|
POST
|
My guess is your network is in a corrupt state. Do you have any maps open in your project? What version of ArcGIS Pro are you using? I would start a brand new ArcGIS Pro session, with no maps and try the process.
... View more
11-01-2023
05:48 AM
|
0
|
0
|
731
|
|
POST
|
How many Bulk meters do you have? You can definitely change to a sink, but if you have a lot of meters, it maybe more trouble than it is worth. Are you going to maintain pressure zones? If not, just promote your tanks to controllers of the system tier. The other option, if you are going to maintain pressure zones, remove the system tier.
... View more
11-01-2023
05:47 AM
|
0
|
1
|
949
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 07-07-2026 06:45 AM | |
| 1 | 06-26-2026 09:15 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|