Re: Discussion Boards - Sorting
From: Mike Walsh [MVP] (englantilainen_at_hotmail.com)
Date: 02/25/04
- Next message: Christian Holthe: "Moving a file"
- Previous message: <-- tropski puh -->: "Re: Language translation problem"
- In reply to: Gregg Smith: "Re: Discussion Boards - Sorting"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 09:33:16 +0200
I was faster than I thought I would be.
It's up now - in the Tutorial section as "Changing the Sort Order for the
Threaded View of a Discussion Field". (Section VI Item 8)
Mike Walsh, Helsinki, Finland
"Gregg Smith" <SharePoint_MSDN@hotmail.com> wrote in message
news:ufAGomx%23DHA.340@tk2msftngp13.phx.gbl...
> Excellent link Iyaz. I have made a submission for the WSS FAQ and explains
> how to do this permenantly for all discussion boards. It should be going
up
> sometime this week.
>
> "Iyaz" <iyaz@invalid.msn.com> wrote in message
> news:etpKP6v%23DHA.1792@TK2MSFTNGP12.phx.gbl...
> > Check this white paper out:
> >
>
http://office.microsoft.com/assistance/preview.aspx?AssetID=HA010990371033&CTT=4&Origin=CH063547431033
> > -Iyaz
> > "Gregg Smith" <SharePoint_MSDN@hotmail.com> wrote in message
> > news:esw$RFv#DHA.2836@TK2MSFTNGP11.phx.gbl...
> > > Tom.....very close. Add the Title FieldRef first
> > >
> > > "Tom Goddard" <tom.goddard@rts-group.com> wrote in message
> > > news:5077c005.0402240744.650cceb6@posting.google.com...
> > > > I'd love to get to that point, but I'm not quite there yet. When I
> > > > modify the schema sorting with this code:
> > > >
> > > > ...
> > > > <FieldRef Name="ThreadID" Ascending="FALSE"></FieldRef>
> > > > <FieldRef Name="Title"></FieldRef>
> > > > <FieldRef Name="Ordering"></FieldRef>
> > > > ...
> > > >
> > > > (added the middle line based on Gregg's suggestion)
> > > >
> > > > Close. It appears to properly present top level discussions sorted
as
> > > > I wish, but replies are erratic - some go in the thread as expected,
> > > > other reply postings appear at the top level. Strange.
> > > >
> > > > I obviously don't fully understand the various "FieldFef"s that are
> > > > available, and how they behave. Is there any doc or reference
> > > > material on this? Gregg got me a lot closer but still need some
help.
> > > >
> > > > Thanks
> > > >
> > > > "Mike Walsh [MVP]" <englantilainen@hotmail.com> wrote in message
> > > news:<eUwd#bp#DHA.2524@tk2msftngp13.phx.gbl>...
> > > > > Do you feel like putting this in a text suitable for *directly*
> > posting
> > > as a
> > > > > FAQ item called "How do I sort discussion threads?"
> > > > >
> > > > > Or shall we wait for a bit more testing ?
> > > > >
> > > > > Mike Walsh, Helsinki, Finland
> > > > > WSS FAQ at wss.collutions.com
> > > > > Please post questions to the newsgroup only.
> > > > >
> > > > >
> > > > > "Gregg Smith" <SharePoint_MSDN@hotmail.com> wrote in message
> > > > > news:OTRv6sk%23DHA.3428@tk2msftngp13.phx.gbl...
> > > > > > I jsut tested it and it seems to work fine.
> > > > > >
> > > > > > "Gregg Smith" <SharePoint_MSDN@hotmail.com> wrote in message
> > > > > > news:uobRlYk%23DHA.2424@TK2MSFTNGP11.phx.gbl...
> > > > > > > The threaded view is closed so you can't get into it via
normal
> > > methods
> > > > > of
> > > > > > > the GUI. I haven't had much success in replicating the
threaded
> > view
> > > > > style
> > > > > > > with customizations in a new view. You might want to look at
the
> > > SCHEMA
> > > > > for
> > > > > > > the DISCUSS list type. Whenever you work with a SCHEMA file be
> > sure
> > > to
> > > > > back
> > > > > > > it up or, if possible, use source control software.
> > > > > > >
> > > > > > > What you are going to want to look for is around line 798, the
> > last
> > > part
> > > > > of
> > > > > > > the view definition for the threaded viewtype. You will notice
> the
> > > CAML
> > > > > > > <OrderBy> element. You'll want to insert above the first order
> > > element a
> > > > > > > <FieldRef Name="Title"/> but I am not really sure what that is
> > going
> > > to
> > > > > > > behave like.
> > > > > > >
> > > > > > > I hope that helps
> > > > > > >
> > > > > > > "Tom Goddard" <tom.goddard@rts-group.com> wrote in message
> > > > > > > news:5077c005.0402231127.5b18674a@posting.google.com...
> > > > > > > > Default "allitems.aspx" view of a discussion board presents
> the
> > > top
> > > > > > > > level items in an "IT" sort order. Any way to sort this
> > > differently?
> > > > > > > > In FP2003 I can see properties in the "List View
Properties"
> of
> > > the
> > > > > > > > part, but all settings are read only. I see the sort &
> grouping
> > > as
> > > > > > > > "ThreadID-, Ordering+" but cannot change it.
> > > > > > > >
> > > > > > > > I'm presenting a list of discussions to users and need the
> > default
> > > > > > > > view to list the top level items alphabetically instead of
by
> > > > > > > > ThreadID.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > >
> > >
> >
> >
>
>
- Next message: Christian Holthe: "Moving a file"
- Previous message: <-- tropski puh -->: "Re: Language translation problem"
- In reply to: Gregg Smith: "Re: Discussion Boards - Sorting"
- Messages sorted by: [ date ] [ thread ]