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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How does a optimized link look like?

alexanderh76698
Level 2
Level 2

Hello everyone,

I was asking myself what's the best way to make the most perfekt link element.

For example:

I want to save cars and link them with their owners (Recipients).

So I got this schema:

<srcSchema _cs="Cars (ahae)" created="2017-01-30 16:05:06.705Z" createdBy-id="0" entitySchema="xtk:srcSchema"

           img="xtk:schema.png" label="Cars" labelSingular="Car" lastModified="2017-02-08 14:00:52.599Z"

           mappingType="sql" md5="9868DCF2A5ECFF7A84423884449700D1" modifiedBy-id="0"

           name="car" namespace="ahae" xtkschema="xtk:srcSchema">

  <createdBy _cs="Administrator (admin)"/>

  <modifiedBy _cs="Administrator (admin)"/>

  <element label="Cars" labelSingular="Car" name="car">

    <attribute label="CarID" length="20" name="carID" type="string"/>

    <attribute label="Name" length="20" name="name" required="true" type="string"/>

    <element label="Owner" name="owner" target="nms:recipient" type="link"/>

          <join xpath-det="@id" xpath-src="@CarID">

    <key internal="true" name="carID">

      <keyfield xpath="@carID"/>

    </key>

  </element>

</srcSchema>

What is the best way to optimize this Link?

Best regards,

Alex

1 Accepted Solution
Vapsy
Correct answer by
Employee
Employee

Hi Alex,

This looks to be fine.

Regards,
Vipul

View solution in original post

1 Reply
Vapsy
Correct answer by
Employee
Employee

Hi Alex,

This looks to be fine.

Regards,
Vipul

View solution in original post