Select to view content in your preferred language

Help Needed with ArcArcade Attribute Rule in Enterprise Environment

1664
11
Jump to solution
06-05-2023 01:21 AM
StefanAngerer
Regular Contributor

Hey folks!

I'm facing a problem with an ArcArcade attribute rule in an enterprise environment and could use your expertise. I have a point feature class where the rule should automatically add another point feature when I place a new one. It works like a charm in a local fgdb, but when I try to use it in an enterprise environment, I keep getting this vague error (attached screenshot). The log files are empty too. Any ideas on how I can get this rule to work?

Thanks a ton for your help!

Cheers,

Stefan

This is my Code:

    // Create right geometry for transition pipeline cp
    var tpGeo = Point({
        x: Geometry($feature).x,
        y: Geometry($feature).y,
        z: -0.90,
        spatialReference: Geometry($feature).spatialReference
        })

    return {  
        'edit': [{
            'className': 'PipelineJunction',
            'adds': [
                {'attributes': {'ASSETGROUP': 50, 'ASSETTYPE': 902}, 'geometry': tpGeo, 'associationType': 'content'}
            ]
        }], 
    }

 

This is the error i recieve:

StefanAngerer_1-1685953301238.png

 

0 Kudos
11 Replies
StefanAngerer
Regular Contributor

This was already updated automatically, so the behaviour arised with the complete name.

Greets,
Stefan

0 Kudos
StefanAngerer
Regular Contributor

Hi Guys,

I managed to solve the problem myself. I had some contingent values on the feature class and because i didn't include the correct attribute combinations with the edits, the new feature couldn't be created. i've now added the correct combinations and it's working again. thanks for the help anyway, i've definitely moved on in the exclusion process!

0 Kudos