Wednesday, 2 November 2016

A list view Web Part for a tasks list doesn't filter values from a connected Web Part in SharePoint Online or SharePoint on Premises

We are getting an issue on SharePoint on premises and SharePoint Online, SharePoint list filter web is not working as we expected result. It should filter as per given value from list.
Getting an error after following below steps for SharePoint list filtering.
  • We created a tasks list (that is, we select Tasks for the list type) in Microsoft SharePoint Online or Microsoft SharePoint Server 2013.
  • We created a custom list that contains values.
  • We configured a lookup column in the tasks list to obtain information from the custom list.
  • We opened a page in edit mode and then add list view Web Parts for both the tasks list and the custom list.
  • We configured a connection between the two Web Parts by editing the Web Part for the tasks list. Then, click Connections, click Get Filter Values From, and then select the custom list.
  • We save were changes to the page.
  • When we clicked the arrow to filter values in the custom list, the Web Part for the tasks list doesn't filter the results on the page for the values as expected.

To fix this issue, we followed the below steps and its working fine on SharePoint on-premises as well for SharePoint online.
  • Opened to the issued page, and then open the page in edit mode. By clicking edit page from gear icon.
  • Click the drop-down arrow in the upper-right corner of the Web Part (List Web part) for the tasks list, and then click Edit Web Part.
  • On the right side of the page in the Web Part properties controls, click the plus sign (+) on the miscellaneous section, click to select the Server Render check box, and then click OK.
  • Save the changes to the page.
  • Once all done, try to filter the same and getting excepted result; see below:

No comments:

Post a Comment