3

Is it possible to set-up the app manifest in such way, that when a condition is met, the side pane of an add-in opens automatically when the object is opened?

I.e. when the user opens an event in Outlook calendar, and the event has some text in the description, the add-in pane is opened each time the user opens the event form?

1 Answer 1

3

Is it possible to set-up the app manifest in such way, that when a condition is met, the side pane of an add-in opens automatically when the object is opened?

Office.js Add-ins are designed to be invoked by end user. You cannot open task pane by using manifest or JS. So the answer on your question is no, you cannot open task pane automatically based on condition met.

Possible work around (not the solution to your question through) would be to implement a pinnable taskpane in Outlook. This would gives to your user choice to keep your add-in open all the time when navigating from one appointment to another, but still depend on user choice to keep the pane open. Please read more about Implement a pinnable taskpane in Outlook and the announcement in the MSDN blog

I.e. when the user opens an event in Outlook calendar, and the event has some text in the description, the add-in pane is opened each time the user opens the event form?

This has work around as well. You may have rules in the manifest file, when your add-in will be available (not invoked, but available to user). Still user choice to click on the add-in or not. Please see Activation rules for Outlook add-ins for more information.

Update:

Thanks to @EduardoCMB comment, the feature is now available for Word, Excel and PowerPoint. There are list of "best practices" on when and how to use the feature. Please refer to the documentation ... Automatically open a task pane with a document

Sign up to request clarification or add additional context in comments.

4 Comments

Thanks for the clear answer on that! I have a little offtopic question - is there any estimate when the side-pane add-in support will be available for Outlook for Mac? 15.31 still doesn't have it, altough it had it in the insider program...
@alekkowalczyk Unfortunately, I am not aware of this availability. I know they told something about December of 2016, and the feature was in the fast insider, but when it has to be out I am not sure. Sorry.
@alekkowalczyk the feature is being worked on officespdev.uservoice.com/forums/…
I think this is now possible for Word, Excel and Powerpoint (learn.microsoft.com/en-us/office/dev/add-ins/develop/…) but still not possible for Outlook. There is a UserVoice request for this too (officespdev.uservoice.com/forums/…).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.