Hi - it was brought to my attention that my post didn't go through correctly yesterday, so here's my second creack:
I want to write an attribute rule that will place a point in feature class B at the exact same location as one that is created in feature class A. I think this is fairly straightforward, but I must be missing something because I get an error that is simple 'Invalid function arguments.' No further details. The expression itself evaluates fine.
var pf = Geometry($feature)
var t = $feature.AssetType
return {
edit: [{
"className": "epgdb.Parks.RecPts",
"adds": [{
"attributes": {
"type": t
},
geometry: pf
}]
}]
}
I'll flesh this out a little later, but I kind of just want to get it started. Any ideas for what is eluding me?
Happy mapping,
- Zach