Questions tagged [spview]

4 questions
3
votes
1 answer

SharePoint 2010 Listview save event

I am trying to catch the save event on listviews, not the list itself. This is so that i can stop saving of certain views. I have tried List SPListEventReciever, but this seems to only catch events on the list itself, not the views. EDIT: As…
ruffen
  • 1,695
  • 2
  • 25
  • 51
2
votes
1 answer

Filtering a view in SharePoint list based on a year

I'm using SharePoint 2010. I want to create new view for my list. The list contains a column called Year, which is a number and contains, as name suggests, year. Eg.: 2012 2011 2010 2009 I would like create a view, where I would display only last…
Tschareck
  • 4,071
  • 9
  • 47
  • 74
0
votes
1 answer

What is the payload to be sent for "ViewFields" parameter as part of consuming the SPO REST API?

I am trying to create a SharePoint list view through the SharePoint REST API, with a defined set of columns to be part of the view. The endpoint i am using is below: POSTMAN API Request: HTTP METHOD: POST URL:…
0
votes
2 answers

Is there a way to determine if a single SharePoint list item matches a SPQuery/SPView?

The standard 'Alerting' feature in SharePoint allows you to only send out an alert if the item appears in a specified view. I'm wanting to apply similar logic in a custom workflow (c#). Given a SPListItem and SPView/SPQuery does anybody know if…
Tom
  • 251
  • 2
  • 13