CurrentView.XML provides incorrect XML

B

Brian Kelly

I am trying to manipulate the CurrentView.XML to ensure that every time I
navigate to a "Deleted Items" page I see the "From" column and every time I
get to a "Sent Items" folder, I see a "To" column (trying to work around
problem described here:
http://www.office-outlook.com/outlook-forum/index.php/m/171124/#msg_171124).

In general, the code works fine, but sometimes the XML returned by
"CurrentView.XML" is incorrect.

For example, while looking at a particular view in which I can clearly see
the "To" column displayed, I can walk through my code and see that the
returned XML does not contain the "To" field, it contains the "From" field.

<column>
<autoresize>0</autoresize>
<heading>From</heading>
<prop>urn:schemas:httpmail:fromname</prop>
<type>string</type>
<width>184</width>
<style>padding-left:3px;;text-align:left</style>
</column>

Something is apparently cached somewhere (?) or otherwise corrupt. In fact,
this may even be the cause of the misbehavior in the first place, I suppose.

Regardless--does anyone know a way to get CurrentView.XML to reflect what is
actually shown in the current view?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top