-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Category
- Feature Request / Domain Model
Describe the domain model extension
Currently the TaxonomyFieldCreation approach has a hard-coded approach to setting the AnchorId for the TaxonomyField. The standard approach of modifying the Field.AnchorId after creation is not supported due to the property not existing on the underlying field type.
This does not allow setting constrained terms for a given field definition and requires do all the hard work through field xml.
Model
Model: Field
Properties: AnchorId
The creation classes are:
Public > FieldTaxonomyOptions
Internal > TaxonomyFieldCreationOptions
Additional Information
Affected tests - ProvisionTaxonomyFieldRequestTests.cs
I would recommend making the ProvisionTaxonomyFieldRequest constructor take an optional (default null) parameter supporting setting the anchorid (Guid? anchorId = null) for backwards compatbility.