B
back2grid
Hi,
I add a couple of UserProperties to taskitems. but these properties are lost
once i shutdown and open outlook again. The code that adds property is
Outlook.UserProperty prop = null;
prop = item.UserProperties.Find("Project",missing);
if(prop == null)
{
prop =
item.UserProperties.Add("Project",Outlook.OlUserPropertyType.olText,missing,missing);
}
prop.Value = projectName;
Properties are also added to the folder. Using the field chooser i can see
the userproperty and its value. Once i close my outlook app and open it
again. i can see the same customproperty in the task view. when
programmatically it shows that the taskItem has 0 userproperties..
thanks
I add a couple of UserProperties to taskitems. but these properties are lost
once i shutdown and open outlook again. The code that adds property is
Outlook.UserProperty prop = null;
prop = item.UserProperties.Find("Project",missing);
if(prop == null)
{
prop =
item.UserProperties.Add("Project",Outlook.OlUserPropertyType.olText,missing,missing);
}
prop.Value = projectName;
Properties are also added to the folder. Using the field chooser i can see
the userproperty and its value. Once i close my outlook app and open it
again. i can see the same customproperty in the task view. when
programmatically it shows that the taskItem has 0 userproperties..
thanks