Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Sun May 19, 2013 2:02 pm

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Multi value fields and displaying them in views
PostPosted: Thu Jan 14, 2010 3:47 pm 
Offline

Joined: Thu Jan 07, 2010 3:58 pm
Posts: 4
I was wondering if there was a way to display a view with a grouping on a multi value field. The example I am thinking of is have a view similar to the yellow pages where an individual could show up under multiple categories.
Category 1
Item A
Item B

Category 2
Item B
Category 3
Item A
Any suggestions or ideas would be greatly appreciated.


Top
 Profile  
 
 Post subject: Re: Multi value fields and displaying them in views
PostPosted: Sat Jan 16, 2010 2:11 am 
Offline
User avatar

Joined: Mon Jan 04, 2010 10:13 pm
Posts: 330
Location: Iowa
I have had this type of thing work, but I think it was a fluke. I changed a multiple choice category to a single choice category and then had things show in multiple places. Of course that limits any new entries.

I have a similar situation where I created a web part page and then used multiple filtered views of the same list to get the look I was after. Hiding the titles of each web part gives the illusion of all one list.


Top
 Profile  
 
 Post subject: Re: Multi value fields and displaying them in views
PostPosted: Sat Jan 16, 2010 9:15 am 
Offline

Joined: Tue Jan 05, 2010 5:59 am
Posts: 145
If this is a choice type field, could you not use a groupby on that field?


Top
 Profile  
 
 Post subject: Re: Multi value fields and displaying them in views
PostPosted: Mon Jan 18, 2010 10:05 am 
Offline

Joined: Thu Jan 07, 2010 3:58 pm
Posts: 4
When the field is a choice and you have clicked on the "Checkboxes (allow multiple selections)" then it is not a field that you can group by. In my case I would like the field to be a lookup to another list so that the choices can be maintained by the users.


Top
 Profile  
 
 Post subject: Re: Multi value fields and displaying them in views
PostPosted: Mon Jan 18, 2010 3:44 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
A groupby can be obtained. it is not a clean method but I will do my best to describe. Some time back before this great site had to move there was a post related to creating a calculated field that could read multiple line or multiple select.
First you have to trick the calculated field.
create a single line text field, Name it MyChoice (this will be deleted and recreated later).
use the name of your multiple select field. correct you cannot create your multiple line or multiple select first.
once the single line field is created, create the calculated field and name it MyGroupChoice
Set calculated value of MyGroupChoice equal to MyChoice
delete MyChoice field
Create new multiple select, or multipleline field named MyChoice
now create a view that groups by calc field MyGroupChoice where value "contains" your view data.

there is also a jquery script at http://sharepointjavascript/ that converts singleline fields into multiple select fields, where you can still use some of the above steps and groupby. this author Alexander has worked much magic.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group