I am trying to create a taxonomy column within JSOM , I am nearly there but I have set the type to :

var fieldSchema = `<Field Type="TaxonomyFieldTypeMulti" 
                           DisplayName="Session Topics"
                        Group="Limited Document Library" />`;

and the allow multiple values is still not ticked within the column settings.

I have seen that there is a AllowMultipleValues switch that needs turning on to true, and this should set the tick.

I cannot seem to find it and also I am not sure where to set it.

I have casted the column to :

txField = ctx.castTo(field, SP.Taxonomy.TaxonomyField);  

and I still cannot find the property to set it, to true.

Any ideas ??

1 Answer 1


try the below code, I have added Mult="TRUE" this we used to use in our old codes

var fieldSchema = <Field Type="TaxonomyFieldTypeMulti" 
                         DisplayName="Session Topics"
                         Group="Limited Document Library" />;
  • Excellent, I was going the wrong way after reading that it cannot be set in xml. thanks a lot. Jan 27, 2020 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.