Solved

How to locate conflicts in an Exchange public folder?

Posted on 2006-06-11
3
243 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Resolve DNS query failed errors for Exchange
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
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: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now