TB.One > Import & Export > Master Data Import via TB.Cat/XML > TB.Cat - XML Structure > TBCATALOG > PRODUCTDATA > PRODUCT > ARTICLEDATA / ARTICLE > A_COMPONENTDATA

A_COMPONENTDATA

Components on article level (see also P_COMPONENTDATA) are different for each article but do not create variants. If you provide article components, each article must contain a value.

 

EXAMPLE:
A USB flash drive forms variants based on memory size - 32 GB and 64 GB. Depending on the memory size, the speed is also different - 32 and 45 MB/s respectively. There are no variants with 64 GB and 32 MB/s or 32 GB and 45 MB/s. In this case, the speed could be transferred as an article component.

ATTENTION:
If you transmit components via A_VARIANTDATA (variant dimension) and A_COMPONENTDATA (additional, informative article property), you should not reference the same component in both nodes.

In that case, the value you provide for A_COMPONENTDATA would be interpreted as the "long text" of the variant dimension (the corresponding field can be seen in the UI by opening the tab "Article properties" in the article detail menu). However, the standard procedure is to only transmit a brief description (= variant value). Therefore, you should avoid referencing the same component twice.

 

 

a_componentdata

 

NODE

REQUIRED

DATA TYPE

DESCRIPTION

A_COMPONENTDATA

Y

XML

Article components

A_COMPONENT

N

CHAR(255)

Definition of each article component

A_COMPONENT[identifier]

N

ENUM

Indicator for referencing (key or name)

A_COMPONENT[key]

N

CHAR(50)

Value stored in the identifier assignment statement

A_COMPONENT[name]

Y

CHAR(100)

Value stored in the identifier assignment statement

VALUE

Y

TEXT

Contains the component value in the indicated language (see below)

VALUE[xml:lang="Sprache"]

Y

ISO language code/"x-default"

Defines the component value's language. "x-default" references the default language configured in TB.One

 

EXAMPLE:

<A_COMPONENTDATA>

<A_COMPONENT identifier="key" key="collar">

<VALUE xml:lang="x-default">V-Ausschnitt</VALUE>

<VALUE xml:lang="en-US">V-neck</VALUE>

</A_COMPONENT>

</A_COMPONENTDATA>

or

<A_COMPONENTDATA>

<A_COMPONENT identifier="key" key="collar" name="Kragen">

<VALUE xml:lang="x-default">V-Ausschnitt</VALUE>

<VALUE xml:lang="en-US">V-neck</VALUE>

</A_COMPONENT>

</A_COMPONENTDATA>


For further information, see also:

Master data import via XML - overview

XML structure overview - TB.Cat 1.4

XML structure overview - TB.Cat 1.2/1.3

Examples: XML for TB.Cat 1.4 or TB.Cat 1.2/1.3