|
POST
|
In you screen shot, your rule type is Junction-Junction, not containment.
... View more
05-07-2024
03:35 AM
|
0
|
0
|
2012
|
|
POST
|
View from the UN properties: MikeMillerGIS_0-1715006591446.png
... View more
05-06-2024
07:43 AM
|
0
|
0
|
1283
|
|
POST
|
I am not sure, hard to troubleshoot with a dataset to see what is going on.
... View more
05-01-2024
05:33 PM
|
0
|
1
|
2216
|
|
POST
|
Yes, you should be able to create a new sheet and use it just like a domain
... View more
05-01-2024
05:31 PM
|
0
|
0
|
1300
|
|
POST
|
Did you add IsSubnetworkController null to the CAV list?
... View more
04-26-2024
05:50 AM
|
0
|
0
|
1595
|
|
POST
|
Expects($feature, 'DATE_INSPECTION');
if ($originalfeature.DATE_INSPECTION == $feature.DATE_INSPECTION) {
return
}
var fs = FeatureSetByRelationshipName($feature, "OCGIS.DPW_TESTING_REL", ['DATE_1', 'GLOBALID'], false);
var parent_feat = First(fs);
if (IsEmpty(parent_feat)) {
return;
}
if (parent_feat.DATE_1 > $feature.DATE_INSPECTION) {
return
}
return {
"edit": [
{
"className": "OCGIS.DPW_TESTING",
"updates": [{
"globalID": parent_feat.globalid,
"attributes": {
"DATE_1": $feature.DATE_INSPECTION
}]
}
]
}
... View more
04-25-2024
09:47 AM
|
0
|
1
|
2656
|
|
POST
|
You are trying to access a row that not listed in the FeatureSet, make sure you list all the fields you need to use on the parent feature in the 3rd parameters var fs = FeatureSetByRelationshipName($feature, "OCGIS.DPW_TESTING_REL", ['DATE_1', 'GLOBALID'], false); to var fs = FeatureSetByRelationshipName($feature, "OCGIS.DPW_TESTING_REL", ['DATE_INSPECTION ', 'GLOBALID'], false); But then you are mixing fields later on in the return statement. What date fields are on the parent and what are on the child?
... View more
04-25-2024
09:44 AM
|
0
|
0
|
2661
|
|
POST
|
A picture would help, but I think so. The batch trace just stores starting locations in a table. It allows you to group those starting points by a value. It then runs 1 trace for each group. The build starting points help generate those groups.
... View more
04-25-2024
07:32 AM
|
0
|
0
|
1127
|
|
POST
|
Yes this rule would be assigned to the child table. As for code changes, that is an exercise for the reader.
... View more
04-25-2024
07:31 AM
|
0
|
2
|
2670
|
|
POST
|
You only need and E-J-E if you do not want the Edge to end with a Junction. Also, for this rule to be enforced(create a Error Feature), you need to ensure you do not have an E-J rule for those AG/ATs. Lets use a pipe example. I want a Pipe to connect to a Pipe through a Union. I never want a Pipe to end at a Union(if so, water would be flowing into the ground). So I could use a Pipe To Pipe Via Union.
... View more
04-25-2024
02:53 AM
|
0
|
0
|
1732
|
|
POST
|
This should work. If the parent features date is less than the edited child feature, update the parent. Expects($feature, 'DATEFIELD');
if ($originalfeature.DATEFIELD == $feature.DATEFIELD) {
return
}
var fs = FeatureSetByRelationshipName($feature, "RELNAME", ['DATEFIELD', 'GLOBALID'], false);
var parent_feat = First(fs);
if (IsEmpty(parent_feat)) {
return;
}
if (parent_feat.DATEFIELD > $feature.DATEFIELD) {
return
}
return {
"edit": [
{
"className": "PARENTFCNAME",
"updates": [{
"globalID": parent_feat.globalid,
"attributes": {
"Size": $feature.DATEFIELD
}]
}
]
}
... View more
04-25-2024
02:37 AM
|
0
|
4
|
2684
|
|
POST
|
This one is a little harder, be easier to write if you can share a sample dataset. The most performant, would be that we query the table the related record is using the foreign key to get the other records. We then create a sort function by date to get the current date. Then use that key or FSbyRelationship to get the parent record and update it if needed.
... View more
04-24-2024
12:38 PM
|
0
|
6
|
2730
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 2 | 07-07-2026 06:45 AM | |
| 1 | 06-26-2026 09:15 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|