|
|
|
date: Fri, 1 Feb 2008 06:19:00 -0800,
group: microsoft.public.exchange.development
back
Re: Adding OWA document library favorites with Exchange Web Servic
Hi Glen,
I tried this:
Dim hidden_messages
Set hidden_messages = non_ipm_rootfolder.HiddenMessages
Dim objMessage
Set objMessage = hidden_messages.Add( "", "",
"IPM.Configuration.Owa.DocumentLibraryFavorites" )
objMessage.Update
But when I try to access the document library favorites through OWA, I get
an error message:
Exception type: Microsoft.Exchange.Data.Storage.CorruptDataException
Exception message: The configuration object data is corrupted. Field =
UserConfigurationType.
Any ideas?
John
--
John Ligtenberg
"Glen Scales [MVP]" wrote:
> Sure its just another store item like any email obviously this would be
> supported (neither would modifying it)
>
> Cheers
> Glen
>
> "John Ligtenberg" wrote in
> message news:9719A808-2C56-4F38-B1F3-AF7709516D93@microsoft.com...
> > Hello Glen,
> >
> > In your script you state:
> >
> > "IPM.Configuration.Owa.DocumentLibraryFavorites storage item only gets
> > created the first time the user click on the documents link in OWA so the
> > item wouldn't be there normally if the user has not logged onto OWA or has
> > never clicked this link."
> >
> > Is it possible to add this storage item programatically if it's not there,
> > using CDO?
> >
> > --
> > John Ligtenberg
> >
> >
> > "Glen Scales [MVP]" wrote:
> >
> >> No you can't do it with EWS because you can't access hidden items using
> >> EWS
> >> The document links themselves are stored in a storage item with a
> >> messageclass of IPM.Configuration.Owa.DocumentLibraryFavorites in the
> >> associated folder collection (hidden items collection) of NON_IPM_Subtree
> >> root of a mailbox. You can do this okay if you use one of the other
> >> Exchange
> >> API's if your using C# it should work okay from C#. Modifying them is of
> >> course completely unsupported I posted a script to do this a while ago
> >> that
> >> might help
> >> http://gsexdev.blogspot.com/2007/10/adding-document-favorite-links-for.html
> >>
> >> Cheers
> >> Glen
> >>
> >> "John Ligtenberg" wrote in
> >> message news:59571E54-4049-4493-BC5E-A70B265AD742@microsoft.com...
> >> > Hello,
> >> >
> >> > Is it at all possible to add OWA document library favorites with
> >> > Exchange
> >> > Web Services using Exchange 2007?
> >> > And if so, does anyone have an example of how to do this, e.g. with C#?
> >> >
> >> > Thanks,
> >> > John Ligtenberg
> >>
> >>
> >>
>
>
>
date: Thu, 3 Apr 2008 01:00:02 -0700
author: John Ligtenberg
Re: Adding OWA document library favorites with Exchange Web Servic
What you will need to do is compare an item that you create to one the OWA
creates using a Mapi editor like OutlookSpy or MFCmapi and do a property by
property comparison to work out what's different. It maybe that you need to
set other properties on that object for it to be valid.
Cheers
Glen
"John Ligtenberg" wrote in
message news:36F64723-FA2D-4FA9-89B9-EF5709DE6E61@microsoft.com...
> Hi Glen,
>
> I tried this:
>
> Dim hidden_messages
> Set hidden_messages = non_ipm_rootfolder.HiddenMessages
>
> Dim objMessage
> Set objMessage = hidden_messages.Add( "", "",
> "IPM.Configuration.Owa.DocumentLibraryFavorites" )
>
> objMessage.Update
>
>
>
> But when I try to access the document library favorites through OWA, I get
> an error message:
>
> Exception type: Microsoft.Exchange.Data.Storage.CorruptDataException
> Exception message: The configuration object data is corrupted. Field =
> UserConfigurationType.
>
> Any ideas?
>
> John
>
>
>
>
>
> --
> John Ligtenberg
>
>
> "Glen Scales [MVP]" wrote:
>
>> Sure its just another store item like any email obviously this would be
>> supported (neither would modifying it)
>>
>> Cheers
>> Glen
>>
>> "John Ligtenberg" wrote in
>> message news:9719A808-2C56-4F38-B1F3-AF7709516D93@microsoft.com...
>> > Hello Glen,
>> >
>> > In your script you state:
>> >
>> > "IPM.Configuration.Owa.DocumentLibraryFavorites storage item only gets
>> > created the first time the user click on the documents link in OWA so
>> > the
>> > item wouldn't be there normally if the user has not logged onto OWA or
>> > has
>> > never clicked this link."
>> >
>> > Is it possible to add this storage item programatically if it's not
>> > there,
>> > using CDO?
>> >
>> > --
>> > John Ligtenberg
>> >
>> >
>> > "Glen Scales [MVP]" wrote:
>> >
>> >> No you can't do it with EWS because you can't access hidden items
>> >> using
>> >> EWS
>> >> The document links themselves are stored in a storage item with a
>> >> messageclass of IPM.Configuration.Owa.DocumentLibraryFavorites in the
>> >> associated folder collection (hidden items collection) of
>> >> NON_IPM_Subtree
>> >> root of a mailbox. You can do this okay if you use one of the other
>> >> Exchange
>> >> API's if your using C# it should work okay from C#. Modifying them is
>> >> of
>> >> course completely unsupported I posted a script to do this a while ago
>> >> that
>> >> might help
>> >> http://gsexdev.blogspot.com/2007/10/adding-document-favorite-links-for.html
>> >>
>> >> Cheers
>> >> Glen
>> >>
>> >> "John Ligtenberg" wrote in
>> >> message news:59571E54-4049-4493-BC5E-A70B265AD742@microsoft.com...
>> >> > Hello,
>> >> >
>> >> > Is it at all possible to add OWA document library favorites with
>> >> > Exchange
>> >> > Web Services using Exchange 2007?
>> >> > And if so, does anyone have an example of how to do this, e.g. with
>> >> > C#?
>> >> >
>> >> > Thanks,
>> >> > John Ligtenberg
>> >>
>> >>
>> >>
>>
>>
>>
date: Fri, 4 Apr 2008 11:31:03 +1100
author: Glen Scales [MVP]
|
|