|
POST
|
Your attribute rule is correct, the problem is the order of operations and how the relationship record is created. This is something we are trying to address. Relationships are created after attribute rules. When you add the related record, the related foreign key `.PARENTGUID` is not populated, so when the insert attribute rule gets triggered, the foreign key .PARENTGUID is null, which of course will fail to find the parent and fail the edit. Two workarounds, you can add the relationship record directly to the table and during that insert fill in the parentGUID , this will cause the Insert trigger to have the parentGuid and the rule should work. Another workaround is to make the attribute rule on update and tell users to make a physical update to the related record (update a field etc.. ) to force trigger the update attribute rule. I understand the workarounds might not be ideal, we are working on a solution not sure how long it will take though.
... View more
10-13-2022
09:43 AM
|
0
|
1
|
1339
|
|
POST
|
The only way to run an attribute rule manually is to use batch calculation rule using Evaluate method. For your use case however, I think you can still use immediate calculation rule and have a special field in the class (call it trigger (true or false)) when creating a feature have the trigger default to false and only when you flip the trigger field to true the rule can execute. The rule will look something like this if ($feature.trigger == 'true') return NextSequenceValue('seq');
return; This is another way you can execute the rule manually.
... View more
10-06-2022
08:38 AM
|
3
|
1
|
6371
|
|
POST
|
Yes that would be helpful thanks. I want to know where the problem actually is and fiddler log will help (fields map might be sending incorrect request and I want to capture that), try reproducing in Pro, do the same edit there and see if you see the behavior. Try excluding from application eval too and test again in fields map ,
... View more
08-25-2022
02:13 PM
|
1
|
0
|
2765
|
|
POST
|
Hey Oliver , can you share the attribute rules with the following information? Attribute rule script: Attribute rules properties (whether its excluded from client eval, triggers etc.. ) Pro release: Server Release: SQL Server release: Dataset registration (unversioned/branch/ traditional) Fiddler logs (if Exclude from client evaluation is disabled (unchecked) ) I couldn't reproduce on my end, creating a feature with the rule succeeds on my sqlserver instance with latest software succeeds. It could be a bug in specific version of the software but hard to tell without a specific repro.
... View more
08-25-2022
01:10 PM
|
0
|
2
|
2772
|
|
POST
|
if you remove "Text" function and send native dates it works for me when the text function is there the template replacement gets confused with the data type. Let me know if that works
... View more
08-25-2022
11:20 AM
|
0
|
4
|
2790
|
|
POST
|
Here is a filegdb example which a calculation rule updates the X and Y fields with the point's geometry coordinates on insert and update. We assign the field as empty so we can update multiple fields in one shot. The rule is simple var g = Geometry($feature);
var x = g.x;
var y = g.y;
return {
"result": {
"attributes": {
"x": x,
"y": y
}
}
} the rule
... View more
08-08-2022
10:29 AM
|
1
|
0
|
5017
|
|
POST
|
Think of the dictionary you are authoring as creating an association from $feature to whatever feature you specified in the update_class. Specifying FROMTERMINAL means here you are trying to create an association from the $feature so that terminal should exist on that feature. If the terminal you are connecting to is at the device then use ToTerminal. and you can safely use the string name A blog detailing this can be found here. https://www.esri.com/arcgis-blog/products/utility-network/electric-gas/advanced-attribute-rules-creating-utility-network-associations-with-attribute-rules/ As Mike said, you can also use ^UN_Association if you want more control. (create associations between two assets other than $feature. Hope that helps
... View more
08-03-2022
04:57 PM
|
0
|
1
|
1793
|
|
POST
|
Hey Manniej, can you share the bug number? we can follow up if you are still running into this issue.
... View more
07-29-2022
04:45 PM
|
0
|
1
|
2259
|
|
POST
|
There is a known bug in 10.9.1 (can be tracked with BUG-000151193) will be addressed in 10.9.1 Geodata management Patch 2.
... View more
07-29-2022
04:42 PM
|
0
|
0
|
4243
|
|
POST
|
This is a known bug in 10.9.1 (can be tracked with BUG-000151193) will be addressed in 10.9.1 Geodata management Patch 2.
... View more
07-29-2022
04:40 PM
|
0
|
0
|
1192
|
|
POST
|
Here is the bug number for this issue BUG-000151105 thanks!
... View more
07-28-2022
12:54 PM
|
0
|
0
|
2804
|
|
IDEA
|
I think I wrote a blog when we first introduced `Domain` Arcade function on how to do that. https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/domain-subtypes-and-the-schema-arcade-functions-in-arcgis-pro-2-6/ The code is subtype agnostic but you should be able to get the Domain at the subtype level by passing the subtype code.
... View more
07-25-2022
05:28 PM
|
0
|
0
|
1922
|
|
POST
|
It looks like a bug reading the shape_length st function in the client side. I assume you are consuming the SQL Server feature class through a feature service? I can't reproduce this when running direct connect. We will look into it, meanwhile as a workaround, try Excluding the Attribute rule from application evaluation and restart the service, that should do it. That will skip the client side evaluation and only do server side which we know it works.
... View more
07-21-2022
09:53 AM
|
0
|
1
|
3147
|
|
POST
|
Sorry took me a while to get back, this has been addressed in Pro 3.0. Unfortunately this cannot be back ported to 2.x because it was breaking change in the CIM model.
... View more
07-08-2022
08:17 AM
|
0
|
3
|
2864
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | a month ago | |
| 1 | 03-19-2026 09:52 AM | |
| 1 | 03-19-2026 06:18 AM | |
| 3 | 01-26-2026 02:25 PM | |
| 3 | 01-05-2026 03:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|