Setting “Allow Fill-In” on taxonomy fields with CSOM

SharePoint taxonomy term sets can be open, allowing users to enter new values in the taxonomy picker. For this to work you also need to enable Allow ‘Fill-in’ choices in the site column settings for the managed metadata field connected to the term set. It took me a while to figure out how to enable this programatically using the client side object model (CSOM). The trick is to first cast the field to a TaxonomyField so you can edit the taxonomy specific properties on the field:

This entry was posted in Development and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *