Create a taxonomy for product categories
To support the category relationship structure in a Dynamics 365 Commerce catalog, you need to create a taxonomy definition for the Dynamics 365 Commerce Connector called DVC.ProductCategory. To this taxonomy, you need to add the following fields to support category data synchronization:
-
D365CategoryRecordId
-
DVCProductToCategoryRelation
-
D365EntityTranslations
To create the DVC.ProductCategory taxonomy:
-
On the menu bar, click Manage.
-
On the Manage page, click Taxonomy.
-
On the Taxonomy page, click New taxonomy.
-
In the New taxonomy dialog box, do the following:
-
In the Name field, enter DVC.ProductCategory.
-
In the Label (English) field, enter D365 Product Category.
-
-
Click Create.
-
On the DVC.ProductCategory taxonomy details page, click Show definition.
-
Click New Group and, in the New member group do the following:
-
In the Name field, enter D365Commerce.
-
In the Label (English) field, enter D365 Commerce
-
-
Click Save.
To add the D365CategoryRecordId member to the D365 Commerce group:
-
In the left pane, select the D365 Commerce.
-
To add a new member, click New member.
-
In the New member dialog box, next to PROPERTY, click Select.
-
From the data type list, select String and click Next.
-
In the New member dialog box, on the General Information tab, do the following:
-
In the Name field, enter D365CategoryRecordId.
-
In the Label (English) field, enter D365 Category Record Id.
-
Ensure the Multilanguage switch is inactive (Off).
-
Ensure the Unique switch is inactive (Off).
-
Click the Include in content switch to make it active (On).
-
Ensure the Include in autocomplete switch is inactive (Off).
-
Click the Allow Updates switch to make it active (On).
-
Ensure the Boost switch is inactive (Off).
-
Ensure the Secured switch is inactive (Off).
NoteWhile it is not necessary for the connector to operate, this field is sensitive to sync operations. As a result, consider securing it once the connector security group is created.
-
From the Content type list, select Single line.
-
-
-
Click Save. The D365CategoryRecordId member is added to the D365 Commerce group.
-
Repeat steps 2-6 to add the following members, click Apply Changes, and then click Publish to confirm your changes.
Type |
Name |
Label |
Settings |
---|---|---|---|
Property - String |
DVCProductToCategoryRelation |
DVCProductToCategoryRelation |
Multilanguage - OffUnique - OffInclude in content - OffInclude in autocomplete - OffAllow Updates - OnBoost - OffSecured - OffContent type - Single line |
Property - String |
D365EntityTranslations |
D365 Entity Translations |
Multilanguage - OffUnique - OffInclude in content - OffInclude in autocomplete - OffAllow Updates - OnBoost - OffSecured - OffContent type - Single line |