This project has moved and is read-only. For the latest updates, please go here.

how to create new list views and add columns

Oct 7, 2010 at 6:55 PM

I've seen different methods for modifying the default list view, but I would like to be able to create a new view and specify which columns are in that view.
it would be a big hep if somebody could shed some light on this one. 


Oct 8, 2010 at 2:37 AM

Are you trying to do this programmatically? Also, is this related to your other thread?


Oct 8, 2010 at 12:18 PM

yes, its related.  yes I would like to do it programmatially.  I figured if it could be done on the default list view, you should be able to do it on other views.

Oct 11, 2010 at 2:11 AM

I'll stick with my answer from the other thread. Rather than generating a new page every time, build one page which displays data dynamically.


Oct 18, 2010 at 12:33 PM

I cannot currently use SP Designer.  Need to figure it out the other way if possible.

Oct 18, 2010 at 12:41 PM
I'm a little lost. If you can't use SharePoint Designer, are you writing managed code (Visual Studio)? If so, you dont need SPServices. You can create new views right in the UI (drop down the View Selector and create a new view) and choose the columns, sort order, filters, grouping, etc. M.
Oct 18, 2010 at 12:54 PM

Yes it stinks for me currently. No VS, no SP Designer. All I am able to work with right now is the web services in CEWPs.

Oct 18, 2010 at 4:59 PM

Wow! I thought I had it bad! No VS or SPD! That really does stink. I at least get to use VS! I really wish I could understand what you are trying to do. As Marc states, you can create views from the UI so there is no need to do it programmatically.

Oct 18, 2010 at 6:18 PM


I'm just trying to automate as much as possible.  Even though it sucks right now and I don't have access to anything, I do expect to get access to those tools sometime soon.  On the bright side, not being able to use those tools is really helping me get familiar with what is possible just using jquery and OOB functionality.