B
Brad Covell
I'm currently developing an application that will import account and contact
information into BCM from an Access database. I tried originally to import
using the built-in tool but there are some items like the ability to link
contact information within Access to the account being imported. Along with
some other fields that didn't really map well, so I started on a project to
do a custom import.
I am currently able to import a lot of the information the samples provided
on msdn were great. However, I'm trying to import the Account Number and
Active properties http://msdn2.microsoft.com/en-us/library/bb267853.aspx
But the following doesn't have an AccountNumber property.
Am I missing something or shouldn't the AccountNumber and Active property
work? Is there a way around this?
Thanks
Brad
//account object is a DictionaryEntry that I populated with the Access
database information.
Outlook.ContactItem newAccount =
(Outlook.ContactItem)accounts.Items.Add("IPM.Contact.BCM.Account");
newAccount.FullName = account["accountname"]; //works
newAccount.FileAs = account["accountname"]; //works
newAccount.AccountNumber = account["accountnumber"]; //doesn't like this,
even though it's documented that this should work, same thing for Active
newAccount.Active = true; //fails
newAccount.OfficeLocation = account["officelocation"]; //works
information into BCM from an Access database. I tried originally to import
using the built-in tool but there are some items like the ability to link
contact information within Access to the account being imported. Along with
some other fields that didn't really map well, so I started on a project to
do a custom import.
I am currently able to import a lot of the information the samples provided
on msdn were great. However, I'm trying to import the Account Number and
Active properties http://msdn2.microsoft.com/en-us/library/bb267853.aspx
But the following doesn't have an AccountNumber property.
Am I missing something or shouldn't the AccountNumber and Active property
work? Is there a way around this?
Thanks
Brad
//account object is a DictionaryEntry that I populated with the Access
database information.
Outlook.ContactItem newAccount =
(Outlook.ContactItem)accounts.Items.Add("IPM.Contact.BCM.Account");
newAccount.FullName = account["accountname"]; //works
newAccount.FileAs = account["accountname"]; //works
newAccount.AccountNumber = account["accountnumber"]; //doesn't like this,
even though it's documented that this should work, same thing for Active
newAccount.Active = true; //fails
newAccount.OfficeLocation = account["officelocation"]; //works