POST
|
This is probably what you are looking for Joe, Batch Calculation / Validation Rules which can be executed through the Evaluate method in error inspector in Pro or through the REST end point. Video here https://community.esri.com/t5/attribute-rules-videos/create-publish-and-work-with-batch-calculation-and-validation/m-p/976977#M10
... View more
01-13-2021
01:50 PM
|
2
|
4
|
2163
|
POST
|
Hard to tell from the script whats going on, but I modified the script to be more readable and less error prune by using the inline sql semantics so it takes care things for us like adding single quotes or dates predicates You get the error on that line because thats when Arcade actually executes the query filter, make sure that the stationId is actually a valid globalId. //get the guid of the table feature being updated
var lstationId = $feature.LStationID;
var filter_query = "GlobalID = @lstationId";
//find the lift station layer
//$datastore is the current geodatabase
//get the GlobalId and STATIONNAME field
var related_fs = FeatureSetByName($datastore, 'gisdmz.SDECB.wwLiftStation',['GlobalID','STATIONNAME'])
//get the guid of the table feature being updated
var filter_query = "GlobalID = @lstationId";
//find the station by filtering on the Guid
var related_filter = Filter(related_fs, filter_query)
var output = ''
for (var related_row in related_filter)
output += related_row.STATIONNAME
return {
"result": output
}
... View more
01-13-2021
01:48 PM
|
1
|
1
|
685
|
POST
|
Hey guys, if you want to stay up to date with all our new attribute rules video make sure to save this YouTube playlist, https://www.youtube.com/playlist?list=PLGZUzt4E4O2I-L8Dh8gIfWUeCcyz9hLLx We will keep updating it with content frequently. -Hussein
... View more
01-13-2021
01:17 PM
|
4
|
7
|
1400
|
POST
|
Learn how to use the getUser function in ArcGIS Pro 2.7 to create an attribute rule that can prevent editing by certain users. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:15 PM
|
4
|
2
|
2813
|
POST
|
Learn about a new capability with ArcGIS Pro 2.7 and Enterprise 10.9 that enables you to update multiple fields with a single attribute rule. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:13 PM
|
1
|
0
|
1788
|
POST
|
Learn how to use the gdbVersion Arcade function in ArcGIS Pro 2.7 to create an attribute rule that can perform logic based on the connected version. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:11 PM
|
1
|
0
|
736
|
DOC
|
Source code for What's New in Attribute Rules in 2.7
... View more
11-30-2020
01:05 PM
|
10
|
3
|
7175
|
POST
|
Hey Jeff can you view this ? https://www.youtube.com/watch?v=QPV_ydeoVY0
... View more
09-29-2020
08:51 AM
|
1
|
0
|
3322
|
POST
|
Yup you can do this with a calculation rule easily. constrain prevent edits, calculation changes the state of the row.
... View more
09-25-2020
02:03 PM
|
0
|
1
|
2794
|
POST
|
Yes it is possible, create a constraint attribute rule on an update trigger and use $feature to query the related table to see if object still exist in the related table and block the edit if the object has been severed from the parent. if you found a row that means the object still related, if you didn't that mean the object has just been recently removed and as a result you can block that by return false.
... View more
09-25-2020
01:43 PM
|
0
|
3
|
2794
|
BLOG
|
Yes you can perform that task with Attribute Rules using Arcade as a language to write the script. Attribute Rules are currently not available for offline collector use. This will come in the future. Today you can make edits through collector directing to a feature service that has layers with attribute rules and those rules will get executed. that being said , If you take the map offline make edits and then sync back at the time of sync the attribute rules will be executed.
... View more
09-21-2020
08:25 AM
|
0
|
0
|
2058
|
POST
|
In this video we will learn how to create and work with Validation Attribute Rules, This video is follow up of this one Video Link : 6806 where we learned how to create and publish and enable the validation capability.
... View more
09-18-2020
03:35 PM
|
0
|
0
|
855
|
POST
|
In this video we will learn how to create and work with Batch Calculation and Validation Attribute Rules. We will explore the Validation Capability on ArcGIS Enterprise, Error Inspector and much more! Data can be found here: how_to_batch_rules.zip To learn more about Validation Attribute Rules watch this video Video Link : 6807
... View more
09-18-2020
03:29 PM
|
1
|
1
|
1399
|
POST
|
Hey Joe You can use FeatureSetByRelationshipName to read related records, and you can use DML to update features from other tables. This blog might help Advanced Attribute Rules – Editing features on another class with attribute rules
... View more
09-18-2020
03:26 PM
|
2
|
2
|
2617
|
POST
|
Here is some more content (video form) on generating unique id Video Link : 6803
... View more
09-18-2020
03:22 PM
|
1
|
0
|
1715
|
Title | Kudos | Posted |
---|---|---|
1 | 08-08-2022 10:29 AM | |
1 | 03-11-2024 01:09 PM | |
1 | 03-08-2024 10:51 AM | |
1 | 03-08-2024 10:16 AM | |
1 | 02-27-2024 09:15 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|