Microsoft Content Management Server - Display the MCMS channel at my server

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2007 > Display the MCMS channel at my server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Display the MCMS channel at my server
ynevet@gmail.com

2007-08-12, 7:16 pm

Hi folks,

How can I find out all the channels at my MCMS2002 server by some
object in ASP.NET?

For example: Displaying a list of the channels in some table in my
asp.net page.

Any CMS object?

Thanks.

Yair

niroshan

2007-08-13, 1:19 pm

try this

Channel chCurrentChannel = (Channel) CmsHttpContext.Current.RootChannel
(this will give you the root channel object "/Channels")

write a function to display all subchannels under the root channel.

foreach Channel subChanel in chCurrentChannel.Channels

Response.write (subChanel .DisplayName)













<ynevet@gmail.com> wrote in message
news:1186945367.209358.182950@l70g2000hse.googlegroups.com...
> Hi folks,
>
> How can I find out all the channels at my MCMS2002 server by some
> object in ASP.NET?
>
> For example: Displaying a list of the channels in some table in my
> asp.net page.
>
> Any CMS object?
>
> Thanks.
>
> Yair
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com