MS CMS - change Sort Ordinal by programing
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > MS CMS - change Sort Ordinal by programing




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    MS CMS - change Sort Ordinal by programing  
estelle@xagoon.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-31-05 07:51 AM

Hi all,

Does somebody know if i can change the Sort Ordinal property of a
posting or a channel by programming.
I saw that there is Get and Set on the property SortOrdinal, but when i
try to write on it, it doesn't work (when i open the site manager, it
didn't sort how i wanted).
I also tried to do an "update" directly in the database of the CMS, in
the table "Node" but it doesn't work and it's a little dangerous to do
this.

I would want the users to be able to change the order of the postings
and the channels of the site without opening the Site Manager. Does
somebody has an idea ?

Thanks for your help,

Estelle






[ Post a follow-up to this message ]



    Re: MS CMS - change Sort Ordinal by programing  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-31-05 12:49 PM

Hi Estelle,

yes this can be done.
In SiteManager you will not see the effect.
Even not in code if you don't use the SortByOrdinal method on the
collection.

About your directly modifying the database:

You successfully managed to get an unsupported system.
Any direct modification to the database causes the application to become
unsupported.

See here for details:
http://blogs.technet.com/stefan_gos.../16/396647.aspx

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
----------------------


<estelle@xagoon.com> wrote in message
news:1125472469.970162.137580@g43g2000cwa.googlegroups.com...
> Hi all,
>
> Does somebody know if i can change the Sort Ordinal property of a
> posting or a channel by programming.
> I saw that there is Get and Set on the property SortOrdinal, but when i
> try to write on it, it doesn't work (when i open the site manager, it
> didn't sort how i wanted).
> I also tried to do an "update" directly in the database of the CMS, in
> the table "Node" but it doesn't work and it's a little dangerous to do
> this.
>
> I would want the users to be able to change the order of the postings
> and the channels of the site without opening the Site Manager. Does
> somebody has an idea ?
>
> Thanks for your help,
>
> Estelle
>







[ Post a follow-up to this message ]



    Re: MS CMS - change Sort Ordinal by programing  
estelle@xagoon.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-31-05 12:49 PM

Ok Stefan
Thanks a lot!

Estelle






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:18 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register