Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

73
Views
Is there a way to to close current taskpane in outlook web add-in?

I was wondering if there was a way to close a taskpane programmatically in an outlook web add-in.

I followed this link : https://docs.microsoft.com/en-us/office/dev/add-ins/develop/show-hide-add-in

But Office.addin.hide() and Office.addin.showAsTaskpane() are not working.

Can someone help me?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

@OutlookAdd-insTeam-MSFT answered my question.

You simply have to use: Office.context.ui.closeContainer()

about 4 years ago · Juan Pablo Isaza Report

0

Use the Office.context.ui.closeContainer() which closes the UI container where the JavaScript is executing.

The behavior of this method is specified by the following:

  • Called from a UI-less command button: No effect. Any dialog opened by displayDialogAsync will remain open.

  • Called from a task pane: The task pane will close. Any dialog opened by displayDialogAsync will also close. If the task pane supports pinning and was pinned by the user, it will be un-pinned.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!