Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add Enterprise Keyword field into List using CSOM
private static void AddTaxkeywordFieldInList(List list)
var ctx = list.Context as ClientContext;
var taxKeywordField = ctx.Site.RootWeb.Fields.GetByInternalNameOrTitle("TaxKeyword");
var taxKeywordFieldInList = list.Fields.Add(taxKeywordField);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment