none
Retrieve Outlook lite recent recipient list RRS feed

  • Question

  • Team,

    Am new to the OWA integration with Android. In our application we are using Global Address List search evertime.

    But in outlook OWA lite version, on a email compose there is a list that contains recent recipients. Is there any way to get the recent recipients through API for my android application ?  Because if so, then i can search in recent list and then go for the GAL search.

    Kindly provide some advice.

    Edit : To be more precise, we are developing an Enterprise application, where users mail, events will be synchronized with our application. But while creating a meeting request, i should search for recent contacts instead of whole address list.

    Thanks.


    Monday, January 27, 2014 9:22 AM

All replies

  • What version of Exchange are you using ? What API are you using to access the mailbox ?

    In 2010,13 the OWA autocomplete Cached is held in an FAI (Folder associated Item) with a MessageClass of IPM.Configuration.OWA.AutocompleteCache in the FAI collection of the Root mailbox folder.

    You can get this item using EWS using the GetUserConfiguration operation see http://msdn.microsoft.com/en-us/library/office/dd899439(v=exchg.150).aspx eg

      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Header>
          <t:RequestServerVersion Version="Exchange2010_SP2" />      
        </soap:Header>
        <soap:Body>
          <m:GetUserConfiguration>
            <m:UserConfigurationName Name="OWA.AutocompleteCache">
              <t:DistinguishedFolderId Id="root" />
            </m:UserConfigurationName>
            <m:UserConfigurationProperties>All</m:UserConfigurationProperties>
          </m:GetUserConfiguration>
        </soap:Body>
      </soap:Envelope>

    Cheers
    Glen

    Wednesday, January 29, 2014 4:31 AM
  • Thank you, Glen. 

    But we were using EAS 12.1 and 14.1 API supporting Exchange server 2007 and 2010. So is there a way for using the same for EAS 14.1. From your answer i can understand, that i cannot use it on EAS 12.1 but if any way to handle the same for EAS 14.1.

    Thanks. 

    Wednesday, January 29, 2014 5:34 AM
  • I'm not sure if you can access Folder Associated Items using ActiveSync as I'm don't use that particular API, AutoComplete is an Outlook and OWA feature and is actually implemented differently between the two see http://support.microsoft.com/kb/2679568 (so if your users manly use the desktop version of Outlook then its not a solution).

    Against a 2010 server you could make an EWS request from a mobile device to get that particular item which maybe one workaround if you really need this feature (but still it would be read only as OWA also maintains the list).

    Cheer
    Glen

    Thursday, January 30, 2014 3:12 AM