How to change field element attribute using JSOM?

%3CLINGO-SUB%20id%3D%22lingo-sub-1183087%22%20slang%3D%22en-US%22%3EHow%20to%20change%20field%20element%20attribute%20using%20JSOM%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183087%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20create%20a%20JavaScript%20app%20that%20allows%20me%20to%20change%20the%20attribute%20of%20an%20field%20element%20for%20an%20existing%20column.%26nbsp%3B%20For%20example%2C%20I%20want%20to%20change%20'%3CSPAN%3EAllow%20unlimited%20length%20in%20document%20libraries%3A'%20to%20Yes%20(true)%20for%20a%20document%20library%20field%20that%20has%20the%20type%20'Multiple%20lines%20of%20text'.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20know%20how%20to%20use%20JavaScript%20to%20create%20fields.%26nbsp%3B%20I%20just%20want%20to%20know%20how%20to%20modify%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1183087%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

I want to create a JavaScript app that allows me to change the attribute of an field element for an existing column.  For example, I want to change 'Allow unlimited length in document libraries:' to Yes (true) for a document library field that has the type 'Multiple lines of text'.

 

I know how to use JavaScript to create fields.  I just want to know how to modify it.

0 Replies