Solved

How to locate conflicts in an Exchange public folder?

Posted on 2006-06-11
3
271 Views
Last Modified: 2010-04-08
Hi

does any one know how to locate all conflicts in a Exchange public folder. Is there an attribute that identifies them?
0
Comment
Question by:rcameroon
  • 2
3 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 16883940
Greetings, rcameroon.

> all conflicts
What do you consider to be a conflict?

Cheers!
0
 

Author Comment

by:rcameroon
ID: 16886445
Sorry should have been more specific - a save conflict - meaning when 2 post items  are saved at the same time in replicated public folders.

When we are running a utility over the public folder it is erroring - so I need to remove all save conflicted messages before continuing.


0
 
LVL 76

Accepted Solution

by:
David Lee earned 125 total points
ID: 16892603
There is a Conflicts object that is a property of every public folder post.  The code below will loop through a folder and display a dialog-box for every item that is in conflict.  Let me know if you need instructions on using code in Outlook.

Sub CheckConflicts()
    Dim olkObject As Object, _
        olkConflict As Outlook.Conflicts, _
        olkFolder As Outlook.Items
    Set olkFolder = Application.ActiveExplorer.CurrentFolder.Items
    For Each olkObject In olkFolder
        Set olkConflict = olkObject.Conflicts
        If olkConflict.Count > 0 Then
             MsgBox "Post: " & olkObject.Subject & vbCrLf & "is involved in a conflict."
        End If
    Next
    Set olkObject = Nothing
    Set olkConflict = Nothing
    Set olkFolder = Nothing
End Sub
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question