How does a optimized link look like? | Community
Skip to main content
Level 2
February 9, 2017
Solved

How does a optimized link look like?

  • February 9, 2017
  • 1 reply
  • 1481 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vraghav

Hi Alex,

This looks to be fine.

Regards,
Vipul

1 reply

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
February 24, 2017

Hi Alex,

This looks to be fine.

Regards,
Vipul