Configuration of ATTRIBUTE_LIST
The values assigned to the ATTRIBUTE_LIST output variable are used to populate format-specific attributes of the Catalog. You use a constraint tag, based on a condition, to modify the ATTRIBUTE_LIST output variable.
The following attributes can be configured for both SUPPLIER and RETAILER organizations
The following format-specific attributes are configurable for the SUPPLIER only:
One format-specific attribute is configurable for the RETAILER only:
Example: Valid Attribute List Output
In the example below, CatalogFormat = 1SYNC, Organization_Type = SUPPLIER, and Deliver_To = Marketplace. A list of format-specific attributes is defined for the ATTRIBUTE_LIST output variable.
These attributes appear under format-specific attributes when the user logs into the 'SUPPLIER' organization, and chooses the Deliver_To option of the 'Marketplace', and the CatalogFormat option '1SYNC,' while creating, viewing, or modifying the Catalog.
For CatalogFormat = 1SYNC
Organization_Type = SUPPLIER and
Deliver_To = Marketplace,
Show the format specific attributes
CLASSIFICATIONSCHEME,DELIVERCATALOG,
OPERATION, SUPPLIERCREDENTIAL, VALIDFROM,
VALIDUNTIL
<constraint>
<name>
MarketPlaceAndCatalogFormatAttributesForTransora
</name>
<description>
Standard format-specific attributes for the
supported Trading partners and catalog
formats applicable for the supplier.
</description>
<condition>
<and>
<eq>
<var>OUTPUT_FORMAT</var>
<const type="string">TRANSORA</const>
</eq>
<eq>
<var>ORGANIZATION_TYPE</var>
<const type="string">SUPPLIER</const>
</eq>
<eq>
<var>DELIVER_TO</var>
<const type="string">MARKETPLACE</const>
</eq>
</and>
</condition>
<action>
<assign>
<var>ATTRIBUTE_LIST</var>
<const type="string">
CLASSIFICATIONSCHEME</const>
<const type="string">
DELIVERCATALOG</const>
<const type="string">OPERATION</const>
<const type="string">
SUPPLIERCREDENTIAL</const>
<const type="string">VALIDFROM</const>
<const type="string">VALIDUNTIL</const>
</assign>
</action>
</constraint>
