Last active
September 1, 2016 21:58
SharePoint Online JSOM: Disable Multi Lingual and Remove all UI Languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
var context = SP.ClientContext.get_current(); | |
var web = context.get_web(); | |
//Remove all UI languages | |
web.set_isMultilingual(false); | |
web.update(); | |
context.executeQueryAsync(function(){ | |
console.log("MUI Disabled"); | |
},function(sender,args){ | |
console.log(args.get_message()); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment