Microsoft Content Management Server - Custom Sort Order

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > July 2006 > Custom Sort Order





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 Custom Sort Order
Arjuna

2006-07-25, 7:39 am

Hi,

Using the Site Manager I right click on a channel, go to the "Sorting" tab
and specify a custom sort order for the channels within the selected channel.
My question is how do I get this sort order programtically, I know there are
a lot of sort methods in the ChannelCollection class but I am not sure which
one to use.



Thanks

Arjuna.
Stefan [MSFT]

2006-07-25, 7:39 am

Hi Arjuna,

the sort order is defined by the SortOrdinal property of each posting and
channel in the collection.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:DA55ED96-7415-4C31-BB67-5CB30474516D@microsoft.com...
> Hi,
>
> Using the Site Manager I right click on a channel, go to the "Sorting" tab
> and specify a custom sort order for the channels within the selected
> channel.
> My question is how do I get this sort order programtically, I know there
> are
> a lot of sort methods in the ChannelCollection class but I am not sure
> which
> one to use.
>
>
>
> Thanks
>
> Arjuna.



Arjuna

2006-07-25, 7:39 am

Hi Stefan,

When I check the SortOrdinal property of the Channel I always get a 0.

Thanks
Arjuna.

"Stefan [MSFT]" wrote:

> Hi Arjuna,
>
> the sort order is defined by the SortOrdinal property of each posting and
> channel in the collection.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:DA55ED96-7415-4C31-BB67-5CB30474516D@microsoft.com...
>
>
>

Stefan [MSFT]

2006-07-25, 1:18 pm

Hi Arjuna,

and for the postings in this channel?

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:F6DA8548-884B-472D-AF93-CD9E4D80CFE4@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> When I check the SortOrdinal property of the Channel I always get a 0.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>


Arjuna

2006-07-26, 1:17 am

Hi Stefan,

For this also I get 0. All the postings have 0.

Thanks
Arjuna.

"Stefan [MSFT]" wrote:

> Hi Arjuna,
>
> and for the postings in this channel?
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:F6DA8548-884B-472D-AF93-CD9E4D80CFE4@microsoft.com...
>
>
>

Stefan [MSFT]

2006-07-26, 7:19 am

Hi Arjuna,

then the items in this channel have not been sorted.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:9BD04B1C-615F-4E14-9602-10F2F7676A4E@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> For this also I get 0. All the postings have 0.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com