How to set a 1 to 1 relationship correctly?
I've found other thread with the same question, but answer was not clear enough for me.
I need to link "nms:recipients" (or our extended abc:recipients table) and abc:agents. Both have the column codinterno. It is a PK in both schemas.
So in my abc:recipients (extension schema), accorind to docs, I should add Database mapping | Adobe Campaign:
<element integrity="own" label="Extension" name="extension" revCardinality="single" revLink="recipient" target="cus:extension" type="link"/>
So, my "1 to 1 link" should be:
<element integrity="own" label="Agents" name="Agents" revCardinality="single" revLink="recipient" target="abc:agents" type="link"/>
Right?
1.- So how can I specify the relationship is done based on codinterno that is a PK on both schemas?
2.- You only modify the recipients schema in this case, or should I add something to the abc:agents schema?