In Sharepoint 2010 and 2013, there are some existing functions to deal with the ribbon. Below an example of what we can do: // we need the file “sp.ribbon.js” SP.SOD.executeOrDelayUntilScriptLoaded(function () { // use PageManager var pm = SP.Ribbon.PageManager.get_instance(); // define a function to call when the ribbon is loaded var DoSomethingWithRibbon=function(ribbon) { // For […]
Play with ribbon on Sharepoint
- Post author By Aymeric
- Post date
- Categories In Astuce, Niveau intermédiaire, Programmation
- No Comments on Play with ribbon on Sharepoint