Expand my Community achievements bar.

N cardinality collection link use

Avatar

Level 2

Hello,

I´m trying to understand better the different type of relations that can be set between resources in ACS.

I understand "1 cardinality simple link" and "0 or 1 cardinality simple link", but i am having some trouble with "N cardinality collection link"

Adobe´s videos about defining custom resources say that this link is the opposite to the "1 cardinality simple link", but with one difference: it´s mandatory that one row from the source resource is linked to a row in the target resource.

 

mtrapiello_0-1594846156156.png

 

I made some tests creating a "Orders" resource and also a "Order lines" resource, and defining a "N cardinality collection link" from "Orders" to "Order lines". I was able to create some orders not linked to any order line, so i don´t really understand why Adobe´s documentation say it´s mandatory that every order (in this case) has to be linked to an order line.

Does anyone has an example when using this type of link is useful rather than using a "1 cardinality simple link"?

Thanks and best regards!

Mario

 

1 Reply

Avatar

Level 3

@DavidKangni I saw you respond to another question about linkages, care to try answering this one?