Alex Carter
Posts: 40
Joined: 2019-02-21
|
I have seen a couple of forum posts referencing this however they don't seem to fully answer the question of how you get the form data from the previous inline window that was open.
Articles here:
Article 1
Article 2
This blog post states it is possible to determine if the user clicked the "pop out" button using the InspectorActivate event:
Blog 1
When I click the "pop out" button on an inline reply I'd like to maintain all form selections and set them in the new Inspector window that opens. I have hooked into the InspectorActivate event, but how do you determine if the user has clicked "pop out" and maintain data entries between form instances? |
|
Andrei Smolin
Add-in Express team
Posts: 17500
Joined: 2006-05-11
|
Hello Alex,
See the ADXOutlookAppEvents.ExplorerInlineResponseCloseEx event to get the moment when the user clicks that button.
Consider architecting the form so that it doesn't have any data. Instead, the form should display data from a store - a class instance located in your add-in module. In this case, closing the inline response will require your form to display data from the store.
Regards from Belarus (GMT+3),
Andrei Smolin
Add-in Express Team Leader |
|
Alex Carter
Posts: 40
Joined: 2019-02-21
|
Ah OK sounds pretty doable! Looking into I think I'll maybe index the store by the ConversationID and ConvertationIndex as the EntryID changes as you move it between folder's etc. Will update this post once I have managed to get a working version in place in case anybody else is interested. |
|
Andrei Smolin
Add-in Express team
Posts: 17500
Joined: 2006-05-11
|
Great!
Regards from Belarus (GMT+3),
Andrei Smolin
Add-in Express Team Leader |
|