Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / July 2005

Tip: Looking for answers? Try searching our database.

How do I sort contacts by recent activity

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
strazz - 22 Jul 2005 19:47 GMT
I want to be able to sort my contacts by the most recent activity so I know
which ones I haven't contacted in a while.  I am not using Business Contact
manager, I just want it to look at recent emails, journal entries, etc. and
deliver me a list of contacts sorted by the most recent activity entry.
Sue Mosher [MVP-Outlook] - 23 Jul 2005 04:14 GMT
Outlook provides no way to do that, because it stores no data in the
individual contact that could be used to get a last activity date. The
Activities list is built on the fly with a search.
Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook Programming: Jumpstart
     for Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx

> I want to be able to sort my contacts by the most recent activity so I know
> which ones I haven't contacted in a while.  I am not using Business Contact
> manager, I just want it to look at recent emails, journal entries, etc. and
> deliver me a list of contacts sorted by the most recent activity entry.
strazz - 23 Jul 2005 05:46 GMT
Can that search be accessed by a C# .NET addin?  I would just iterate through
each contact, performing the search and then picking the most recent activity
date . Then associate each contact with their respective dates.  Certainly
this data has to be somewhere in the Outlook coding model.

> Outlook provides no way to do that, because it stores no data in the
> individual contact that could be used to get a last activity date. The
[quoted text clipped - 4 lines]
> > manager, I just want it to look at recent emails, journal entries, etc. and
> > deliver me a list of contacts sorted by the most recent activity entry.
Sue Mosher [MVP-Outlook] - 23 Jul 2005 14:43 GMT
The Activities pane search is not exposed programmatically. Instead, you
would need to perform your own deep traversal search of the entire store
using Application.AdvancedSearch. One DASL schema property to use would be
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/853a101f
or
http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8586001f.
These properties will get at least the appointment, journal, and task items
that are explicitly linked. You would need to perform additional searches to
get mail messages to and from the contact and any meetings or task requests
for them.
Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook Programming: Jumpstart
     for Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx

> Can that search be accessed by a C# .NET addin?  I would just iterate through
> each contact, performing the search and then picking the most recent activity
[quoted text clipped - 9 lines]
> > > manager, I just want it to look at recent emails, journal entries, etc. and
> > > deliver me a list of contacts sorted by the most recent activity entry.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.