Can I transfer pinning state between Extension Points

Elena O 0 Reputation points
2024-01-09T10:12:11.33+00:00

Hi! I am trying to achieve the following scenario.
I have the taskpane with my office Add-In open in Read state, with Pinnning active. I want the user to be able to hit Reply on the email they are currently reading, thus transferring to Compose state, and have the Compose extension point taskpane open automatically.
I think this could be achieved by transferring the pinning state from the Read Extension Point to the Compose Extension Point, but any way this scenario could be achieved would be great.

Also, as a side note, when closing the taskpane, the pinning state selected by the user before it lost. Any chance the pinning state could persist somehow when the add-in is opened the next time?

Thank you!

Outlook
Outlook
A family of Microsoft email and calendar products.
4,504 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,060 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.