The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
37 views

PowerShell Script to retrieve every and only List / Library items in a specific view in SharePoint 2010

I am trying to iterate over each item in specific view for a list in SharePoint 2010. What i have so far works to return items in the view, but only the items in the first paginated view for that ...
0
votes
1answer
96 views

Why is my list total showing as “Count= undefined”?

I'm updating a view on an existing list programmatically but I can't get the aggregation to work correctly. I'm setting it as follows (the values are pulled from an xml site definition): if ...
1
vote
1answer
50 views

Does reading data from SPView give better performance than reading from SPList?

I would like to understand if reading data from a SPView gives better response time than reading directly from a SPList. Basically I got this question as I have a SPlist with almost 30 columns, and I ...
0
votes
3answers
1k views

JSLink set in list definition (schema.xml) not being loaded

I have created a custom list definition and detailed in many articles across the net I have specified my file in the JSLink property of the view. For some reason it is no longer working. <JSLink ...
1
vote
2answers
309 views

View aggregations programmatically

I have a view in my list, I defined aggregations in my view: sum and average of several columns. Now I want to get programmatically the aggregations results. How can I get it?
2
votes
2answers
4k views

Using SPQuery with SPList.GetItems(SPView)

I have a web-part which displays a variety of items in a spgridview based on a SPView. Additionally, I have implemented a search module which when a keyword is entered should get all items that has a ...
0
votes
0answers
190 views

Programmatically updated SPList view filter is showing <!#Render Error--> in the view Moss 2007

Am appending a filter condition to a particular view alertview.Query = viewQuery.ToString(); alertview.ParentList.ParentWeb.AllowUnsafeUpdates = true; alertview.Update(); ...
0
votes
1answer
351 views

How to set RecurrenceRowset = true when creating a view programmatically

I'm trying to create 3 different calendar views which I will use as overlays to represent the same set of data but color coded differently based on the calendar view shown. Im using the object model ...
1
vote
1answer
2k views

How to Set SPQuery.RowLimit to get all items?

I'm using my SPList View to get the html code of extracted items by an SPQuery over the listview SPList myList = mySite.RootWeb.Lists.GetByInternalName("ListINStr"); SPView oView = ...
0
votes
1answer
338 views

Is that possible to replace the view field from SPView?

I have created 10 views using feature activation for task lib. Now i have to replace one particular view field from the view. But i am not able to modify that existing view create code. Ex: Field1 is ...
2
votes
1answer
2k views

How to attach programmatically and XSL to a View

I have my custom Document Library with his own content type, views and so on... I'd like to add a particular XSL to a View, to trasform particular value into other.. This works if I put the XSL file ...
2
votes
2answers
1k views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
1
vote
1answer
1k views

ProjectedFields working in SPQuery but not in the View

I've three lists: Competitions, Works and WorksVotes, linked to each other through Lookup fields. WorksVotes list has Lookup field to Works list, and Works list has Lookup field to Competitions list. ...
2
votes
2answers
2k views

SharePoint Discussion Board View to show one discussion thread

I need to show a particular thread that resides in a discussion board. I am currently trying to use SPViews. The following is my code SPView threadedView = ...
2
votes
1answer
2k views

Why can't I update an SPView query?

I'm trying to update a SPView query, it doesn't give any error but it also doesn't update the property (SPView.Query). In SPManager 2007 it works with the resulting query of that code. Can you spot ...
0
votes
2answers
850 views

Localization of SPView.Title

Has anybody had any experience with the localization of a View's Title? I tried to change DisplayName of view in SharePoint Designer 2010, but it does not seem to work: ...