[evolution-ews] Add some more fields to be fetched that are not available in Default view.



commit 5c8deeda735101c2a477686b3b6abbfd5d8320d1
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Thu Jun 23 13:41:45 2011 +0530

    Add some more fields to be fetched that are not available in Default view.

 src/addressbook/e-book-backend-ews.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index 24746b8..a9f7e0a 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -88,8 +88,9 @@ struct _EBookBackendEwsPrivate {
 #define ELEMENT_TYPE_SIMPLE 0x01 /* simple string fields */
 #define ELEMENT_TYPE_COMPLEX 0x02 /* complex fields while require different get/set functions */
 
-/* passing field uris for PhysicalAddress, PhoneNumbers causes error, so we use Default view to fetch them. Thus the summary props just have attachments */
-#define CONTACT_ITEM_PROPS "item:Attachments item:HasAttachments"
+/* passing field uris for PhysicalAddress, PhoneNumbers causes error, so we use Default view to fetch them. Thus the summary props just have attachments  and 
+   some additional properties that are not return with Default view */
+#define CONTACT_ITEM_PROPS "item:Attachments item:HasAttachments contacts:Manager contacts:Department contacts:SpouseName contacts:AssistantName contacts:BusinessHomePage contacts:Birthday"
 #define DISTRIBUTION_ITEM_PROPS "item:ItemId contacts:FileAs contacts:DisplayName"
 
 #define PRIV_LOCK(p)   (g_static_rec_mutex_lock (&(p)->rec_mutex))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]