Attribute Rules in a traditional Versioned Database?

7680
12
Jump to solution
07-08-2021 10:14 AM
KimberlyMeinert
Frequent Contributor

Can you set up attribute rules in ArcPro in a traditional versioned SDE SQL Database?  If so, do you have to unversion the feature first and re-version it after setup?  I set the sequence rule up on the feature class connected as the database owner and it seems like it should work, but it doesn't, so I'm trying to trouble shoot.

When I edit the feature as the owner of the database it simply doesn't do anything, and when i switch to my version it says it can't find the sequence, so tries to run but can't.  Any tips appreciated.

0 Kudos
12 Replies
KimberlyMeinert
Frequent Contributor

Arcade syntax was all wrong.  (I'm new here.)  I followed the video and it apparently wasn't what I needed.  The other post referenced above had a much simpler version without a variable declaration, one line of code.  Now I know...

AnatoliHailemariam
Occasional Contributor

are you able to share "one line of code" that worked for you? Tnx!

0 Kudos
D_Atkins
Frequent Contributor

Pretty late here, but there was a similar question just the other day about NextValueSequence as an Attribute Rule: 

Re: automatic sequential numbering when creating o... - Esri Community

Might be useful, at the least, for future Googlers!

0 Kudos