Adding Custom Columns to Outlook Explorer

Add-in Express™ Support Service
That's what is more important than anything else

Adding Custom Columns to Outlook Explorer
 
Leon H H




Posts: 17
Joined: 2010-04-06
So, I tried the approach you suggested and added the following lines into an event handler of the ribbon button:

[CODE] Outlook.Explorer currentExplorer = AddinModule.CurrentInstance.GetOutlookApp().ActiveExplorer();
Outlook.View currView = currentExplorer.CurrentView as Outlook.View;
string currXml = currView.XML;

I run it without editing of cells being enabled and saved XML string.
Then I enabled the cell editing in the UI (View > ViewSettings . OtherSettings)
Then I run the Outlook again and saved the XML string in a different file.

Then I compared two text files: There was no difference.
I repeated all of the above but there is no difference.
Where do I go from now?
Posted 10 Aug, 2022 21:09:05 Top
Andrei Smolin


Add-in Express team


Posts: 18338
Joined: 2006-05-11
Hello Leon,

It looks like you've made a mistake. Recheck how you get the XMLs, save them to files, and how you compare the files.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Aug, 2022 08:44:08 Top
Andrei Smolin


Add-in Express team


Posts: 18338
Joined: 2006-05-11
Changing that UI setting does change the XML of the view in which that check box is checked/unchecked.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Aug, 2022 08:45:50 Top