Hi team,
What is the meaning of integrity, revlink and revcardinality in the links while creating schema. Do we need to specify those while creating the links and what are the cases in which we need to specify those? Kindly clarify this. and please provide an example.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Kumar_27 ,
While creating the link, the following attributes are mandatory to define: label, name, target, and type.
Other attributes you can add depends on your link definitions/structure and few attributes are added automatically.
Example,
revCardinality:
This is Optional. If you want to create a one to one link between 2 schema, you need to define revCardinality="single" . If you haven't addet revCardinality, it will consider those 2 schema has 1 to Many relationship.
Integrity:
This defines, If you delete a record from schema-1, then what action to be made on schema-2 record, which is linked with schema-1.
Lets say you have 2 schema, country and recipient. If you delete a record (Country-A) from country schema, what should happen to the recipient records linked with Country-A? This can be defined using integrity. Possible values are as below:
revLink:
To give a name of reverse link from the target schema (deduced automatically by default)
For more information, you can refer this documentation
~ ParthaSarathy S
Hi @Kumar_27 ,
While creating the link, the following attributes are mandatory to define: label, name, target, and type.
Other attributes you can add depends on your link definitions/structure and few attributes are added automatically.
Example,
revCardinality:
This is Optional. If you want to create a one to one link between 2 schema, you need to define revCardinality="single" . If you haven't addet revCardinality, it will consider those 2 schema has 1 to Many relationship.
Integrity:
This defines, If you delete a record from schema-1, then what action to be made on schema-2 record, which is linked with schema-1.
Lets say you have 2 schema, country and recipient. If you delete a record (Country-A) from country schema, what should happen to the recipient records linked with Country-A? This can be defined using integrity. Possible values are as below:
revLink:
To give a name of reverse link from the target schema (deduced automatically by default)
For more information, you can refer this documentation
~ ParthaSarathy S