Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 1 Feb 2008 06:19:00 -0800,    group: microsoft.public.exchange.development        back       


Adding OWA document library favorites with Exchange Web Services   
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, 1 Feb 2008 06:19:00 -0800   author:   John Ligtenberg

Re: Adding OWA document library favorites with Exchange Web Services   
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: Sat, 2 Feb 2008 10:51:24 +1100   author:   Glen Scales [MVP]

Re: Adding OWA document library favorites with Exchange Web Servic   
That's clear, thanks Glen
-- 
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: Mon, 4 Feb 2008 01:10:00 -0800   author:   John Ligtenberg

Re: Adding OWA document library favorites with Exchange Web Servic   
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: Tue, 1 Apr 2008 05:56:07 -0700   author:   John Ligtenberg

Re: Adding OWA document library favorites with Exchange Web Servic   
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: Wed, 2 Apr 2008 15:00:03 +1100   author:   Glen Scales [MVP]

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]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us