0

I'm designing a data survey application.

I created a fire hydrant feature class named devBorne_geom. This feature class contains only the geometry and cannot contain survey fields as I want them to be independent from the main feature class

I added a devBorne_attrib table containing all the attributes i need for my app. It does contain a BorneID field to be linked against the devBorne_geom.GlobalID field

I defined a relationship class between these two tables. Its defined as composite, one-to-one, with Forward notifications.

enter image description here

My problem is that, in arcMap(happens in arcGIS Pro too), when I'm editing devBorne_geom features, I'm able to add multiple devBorne_attrib records for a given devBorne_geom feature, despite having a one-to-one relationship. enter image description here

Is there something I'm doing wrong?

EDIT

Following J.R's suggestion, in ArcCatalog, I customized the relation like this, enforcing a 0 to 1 relation between the origin and the destination

enter image description here

This modification didn't prevent from adding multiple records, but ArcMap's Validate Feature tool did flagged features having more than one devBorne_attrib. I now have to figure out how to do it in ArcGIS Pro

enter image description here

1 Answer 1

2

In your first image you can see the ''rule'' tab (next to the general tab shown), it's in this tab that you can set rules to enforce the 1-1 cardinality.

2
  • Added an edit to my post to illustrate your suggestion
    – Goldorak84
    Jul 11, 2018 at 15:36
  • 1
    if your image is your final setup, you could try to also specify the origin cardinality. (not sure it change anything but who know...)
    – J.R
    Jul 11, 2018 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.