Skip to main content
9 votes
Accepted

Filter view by current year

In the Filter settings of a View you can only use [Today] as is, you can do simple +- calculations but you can not use Functions. Remember: Do not add spaces in your View Filter calculations: [Today]-...
Danny '365CSI' Engelman's user avatar
8 votes
Accepted

How to get SharePoint list items from specific view using c#?

Try below code. It fetches all items from My Tasks view. using (SPSite site = new SPSite("https://sitecollectionurl")) { using (SPWeb web = site.OpenWeb()) { SPList list = ...
Gautam Sheth's user avatar
  • 30.9k
7 votes

How to Filter by Workflow Status

Try filter by numbers: Status Value Not Started 0 Failed on Start 1 In Progress 2 Error Occurred 3 Canceled 4 Completed 5 Failed on Start (retrying) 6 6 Error Occurred (retrying) 7 ...
Gennady G's user avatar
  • 1,623
5 votes
Accepted

How to create a view thats filter a group or person type field

You have to use person/group field is equal to [Me], not contains. Even if the person/group field contains multiple users, it will still filter correctly when using is equal to [Me].
Eric Alexander's user avatar
5 votes

How to get SharePoint list items from specific view using c#?

Get sharepoint list items by view name: using (SPSite site = new SPSite("http://siteURL")) { using (SPWeb web = site.OpenWeb()) { // Get data from a ...
Ronak Patel's user avatar
  • 3,251
4 votes

Set task list to standard view not quick edit mode

I've had the problem many times and solved it quite easily. I don't know the root cause, but the solution is to create a new view. I only experienced this when creating a new list. Typically making ...
Maxcot's user avatar
  • 193
4 votes
Accepted

Hide completed tasks in task list

You have to edit the view and filter completed tasks. It can be confusing because there isn't an intuitive value to filter for the Completed column. Open the view menu and click Modify this view. ...
hoffie4's user avatar
  • 2,346
4 votes

How to get SharePoint list items from specific view using c#?

Here is the c# Client Object Model code to retrieve items from a custom view. static void Main(string[] args) { // Connect to your SharePoint site and load object of your custom view // ...
Asad Refai's user avatar
  • 5,981
4 votes

SharePoint Online New Experience - Remove View from SP List

There is not a way to remove this dropdown, as it functions as the only way to change views in the New List Experience. In Classic lists, there are ways to add JS to the page so that you would be ...
vanblart's user avatar
  • 687
4 votes
Accepted

How to limit Visitor group to just edit one view in the list and not see the other view

You can achieve this by applying target audience to the list view web part. Following are the steps. Switch to Classic Experience. Edit the AllItems.aspx page. Edit the List View Web part and in the ...
Yayati's user avatar
  • 1,728
3 votes

SharePoint list, restrict view of particular item within the list

Use Audience Targeting. That's the Out of Box feature available to meet your requirement. Create two separate views. In one view you give access to all groups while for other view you edit the page ...
Ankit Kumar's user avatar
  • 1,768
3 votes
Accepted

Filter a view to show only entries from a specific month

You can do it this way: The problem is that you have to specify the year as well. My example filters the items that are created between 1st and 31st of May, 2016
Gintas K's user avatar
  • 1,237
3 votes

How to modify/add columns to a default list view using JavaScript

There's an easier way: ... list = listCollection.getByTitle("yourListTitle"); var defaultView = list.get_defaultView(); var defaultViewFields = defaultView.get_viewFields(); defaultViewFields.add("...
Jason Lee's user avatar
  • 351
3 votes
Accepted

PowerShell - get items by view

Yes, there is a way. You need to use an SPQuery object (based on your SPView). Use the following PowerShell commands: $web = Get-SPWeb $($webUrl); $list = $web.Lists.get_Item($listName); $view = $...
Paul Strupeikis's user avatar
3 votes

How to create a timeline view of a task list?

Yes, there is a way to add multiple time lines. The limitation on SharePoint is that for a task list, there is only one default timeline in which the tasks are added. We can add another timeline to ...
ozkary's user avatar
  • 207
3 votes
Accepted

Disabling tabular view

As I can't stand my half answer in the comments.. I used TamperMonkey (the Chrome version of FireFox GreaseMonkey) to automate the manual proces. It detects the ViewEdit page, checks the darn ...
Danny '365CSI' Engelman's user avatar
3 votes
Accepted

Retrieve all documents from a view

Try Following code SPList List = _site.Lists.TryGetList("ListName"); SPView view = List.Views["Name"]; SPQuery query = new SPQuery(); query.Query = view.Query; ...
Akshay Belure's user avatar
3 votes

How to create chart view for list data

It seems that ChartWebPart & ChartViewWebPart are not populated in webpart gallery. Follow below steps Go to site setting. (Site collection) Click on Web parts under Web Designer Galleries. On ...
SP Developer's user avatar
  • 3,085
3 votes

Can We make a SharePoint 2010 list to open in Datasheet View by default?

Create your desired view as a datasheet view with all the columns and filters you want, and in the view configuration, tell it to make it the default view. This will make it the default view for the ...
Eric Alexander's user avatar
3 votes

Create a view by Filter custom column has no data

In your view, filter content on column3 as is equal to and leave the value field empty. In the example below, my column name is "Sometimes empty". This will filter out items that doesn't have a value ...
Benny Skogberg's user avatar
  • 25.5k
3 votes
Accepted

SharePoint online: what is column "label applied" and "label setting"?

Labels can be connected with retention policies, e.g. to keep item for specific amount of years, or preserve it as a record https://support.office.com/en-us/article/Overview-of-labels-af398293-c69d-...
ovolko's user avatar
  • 456
3 votes

Is there a way to edit which navigation links are seen based on permissions in 2013?

A navigation link on a SharePoint server can be targeted so that it appears only to people who are members of a particular group or audience. You need to have at least Design permission in order ...
Tiago Duarte's user avatar
  • 5,477
3 votes

How to show the total count of items in a task list on a seperate page in SharePoint 2013?

You can try following steps : step 1: GoTo modify this view step 2: Totals. Here you can Select one or more totals to display. (Refer below image. Here I have selected 'Title' field and in dropdown ...
Rohit Waghela's user avatar
3 votes

SharePoint 2013 List: Send out an email notification when sum of a column either hits 80% of an allowed total value, or an expiration date?

For the sum total you might be able to use a SharePoint Designer workflow to achieve this. Essentially like this: When item is created or modified Run a loop on items that fall under a particular ...
Chad's user avatar
  • 770
3 votes

SharePoint List View Threshold

I have also recently run into the same problem: lookup fields looking into a library containing more than 5000 items. It seems that the list view threshold is most likely there to stay and as you ...
Jurgen Cuschieri's user avatar
3 votes
Accepted

How to recreate a view by xml?

If you need to update via direct xml then use SetViewXml method of view. So your code would like this SPList list = web.Lists["Test"]; SPViewCollection collViews = list.Views; string strViewName = "...
Ahmad Zia's user avatar
  • 1,256
3 votes

How to determine if object is loaded or not?

You can use "ServerObjectIsNull" property to check if the server object is null Ex: if(!view.ServerObjectIsNull.HasValue) Try using below function to validate the list view. public bool ...
Prasanna Ruwangana's user avatar
3 votes

Create a List View by Quarter

In a nutshell, create a Calculated Column that figures out the quarter, and then create a view that groups on that column. In more detail: Create a new Calculated Column with a name such as "Quarter"...
Mike Smith - MCT's user avatar
3 votes
Accepted

Different views on a library

How can I restrict one of the views to be viewed by specific people? Unfortunately, there is no way to manage permissions for Views as OOTB in SharePoint. Workarounds Using the Target Audience. ...
Mohamed El-Qassas MVP's user avatar
3 votes
Accepted

View showing new list items

Simple: You want to filter the Created column using the following function [Today]-1 Step 1: Go to Library tab -> Modify View for your list Step 2: Go to the Filter section -> Select the Created ...
jpollar's user avatar
  • 1,107

Only top scored, non community-wiki answers of a minimum length are eligible