Mitdasein in the experience of encountering the customer in our common having been cast into the opening of beyng

Sunday, March 09, 2008

Got .NET and can't un-get it?

You may need the .NET Framework cleanup tool.

Saturday, March 08, 2008

BCM V3 Logging

You can enable logging from menu Help | About Business contact Manager for Outlook, check the checkbox for "Enable Logging for Business Contact Manager".

After turning on logging, when you see a BCM error message, you can open the logging file in XP on folder Document and Settings\\local settings\temp\bcmlog_v3.log; on Vista users\\AppData\Local\Temp\BCMLog_V3.log. The latest logged messages will be at the bottom of the file.

Thursday, March 06, 2008

Setting a user property on a new Account in VBS

Here's a short script that creates an Account and sets the Active property to true. Have Outlook/BCM running in the profile you want to use.


Dim olYesNo
olYesNo = 6

Dim objOL
Dim objNS
Dim objFolder

Set objOL = CreateObject("Outlook.Application")
Set objNS = objOL.GetNamespace("MAPI")
set objBCMFolder = objNS.Folders("Business Contact Manager")
set objBCMObjectsFolder = objBCMFolder.Folders("Business Objects")
set objBCMAccountsFolder = objBCMObjectsFolder.Folders("Accounts")

' create new account
set newAccount = objBCMAccountsFolder.Items.Add("IPM.Contact.BCM.Account")

' give it a name
newAccount.FullName = "accountname"

' create an Active property,
' because it doesn't exist yet
set uProperties = newAccount.UserProperties
set newProp = uProperties.Add("Active", olYesNo)

' we could use newProp but let's confirm that UserProperties
' can be accessed through the ItemProperties array
set iProperties = newAccount.ItemProperties
iProperties("Active").Value = 1

newAccount.Save()

Sunday, March 02, 2008

Aladdins Office Documents

Create Office documents from BCM. Integrates with BCM's history folder!