Common API - Office.Ribbon

An interface that contains all the functionality provided to manage the state of the Office ribbon.

requestCreateControlsMRegisters a custom contextual tab with Office and defines the tab's controls. This method only requests that the tab be registered. The actual registration is controlled by the Office application and may not be complete when the returned Promise object is resolved.
requestUpdateMSends a request to Office to update the ribbon. Note that this API is only to request an update. The actual UI update to the ribbon is controlled by the Office application and hence the exact timing of the ribbon update (or refresh) cannot be determined by the completion of this API. For code examples, see Enable and Disable Add-in Commands and Create custom contextual tabs.

© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext