Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Can we use more than one "join" tag in the inside a single "element" tag under any schema

Avatar

Avatar
Validate 1
Level 1
anoopa24021992
Level 1

Likes

3 likes

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
anoopa24021992
Level 1

Likes

3 likes

Total Posts

18 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
anoopa24021992
Level 1

12-03-2020

Hi all,


I want to add two links to the same target table, below is the existing structure in the schema.

 

<element integrity="neutral" label="LabelOne" name="companySignaturesLink"
revCardinality="single" revIntegrity="neutral" revLabel="SchemaOne"
target="cus:labelOne" type="link">
<join xpath-dst="@destinationOne" xpath-src="@internalDestOne"/>
</element>
<element integrity="neutral" label="LabelOne" name="companySignaturesLink"
revCardinality="single" revIntegrity="neutral" revLabel="SchemaOne"
target="cus:labelOne" type="link">
<join xpath-dst="@destinationTwo" xpath-src="@internalDestTwo"/>
</element>


Can we add the join in the same <element> tag?


Like the below structure:

<element integrity="neutral" label="LabelOne" name="companySignaturesLink"
revCardinality="single" revIntegrity="neutral" revLabel="SchemaOne"
target="cus:labelOne" type="link">
<join xpath-dst="@destinationOne" xpath-src="@internalDestOne"/>
<join xpath-dst="@destinationTwo" xpath-src="@internalDestTwo"/>
</element>


Can you please let me know which is the good practice?


Many thanks in advance,

Anoop

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

165 likes

Total Posts

382 posts

Correct Reply

134 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

165 likes

Total Posts

382 posts

Correct Reply

134 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

13-03-2020

Hi @anoopa24021992 ,

 

yes, you can use two joins in the element tag.

 

<element desc="State/Province" externalJoin="true" label="State" name="stateLink"
revLink="recipient" target="nms:state" type="link">
<join xpath-dst="@code" xpath-src="location/@stateCode"/>
<join xpath-dst="@countryCode" xpath-src="location/@countryCode"/>
</element>

 

Regards,

Milan

Answers (0)