Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise): InvalidRibbonDefinition: InvalidRibbonDefinition RichApi.Error: InvalidRibbonDefinition #631

Closed
AbhishekKatariya9 opened this issue Nov 7, 2023 · 1 comment

Comments

@AbhishekKatariya9
Copy link

Question

I am trying to disable ribbon using office js library. while running below code I am getting this error
ERROR: Uncaught (in promise): InvalidRibbonDefinition: InvalidRibbonDefinition
RichApi.Error: InvalidRibbonDefinition

Code: Office.ribbon.requestUpdate({ tabs: [ { id: 'TabCustom', groups: [ { id: 'Tab.Group2', controls: [ { id: 'Dataverse', enabled: false, }, ], }, ], }, ], });

@alison-mk
Copy link
Contributor

Hi @AbhishekKatariya9, thank you for submitting. We use Github issues to report bugs with the samples in this repository, and it looks like your question uses code that is not from one of the samples in this repository.

For programming questions like this, we suggest you go to Stack Overflow and see if your question has already been asked or ask a new question. Stack Overflow has an active community of developers that regularly provide feedback and guidance.

Since this isn't a bug, I will close this issue. Let me know if you have any questions!

Alison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants