I have one button. When I click on the button I want owa pane to close
window.close ();
I tried but owa pane didn't close
after
Office.context.mailbox.ClosePane();
I tried but owa pane didn't close
how can I do it?
If you are looking to hide taskpane in OWA, you can try out Office.context.ui.closeContainer to do that.