Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 26374

Filtering via Web Part connections doesn't work correctly

$
0
0
When using Web Part Connections for Filtering – the filtered list is always one step behind the filter applied.

This occurs if the filter provider is another List View Web Part or one of the built in Filter Provider web parts like Choice Filter or Text Filter.

This doesn't occur if you add the web parts onto their own wiki page (as opposed to adding a filter web part directly to the default page created for a List / View).


I've verified the same behaviour on 365/SharePoint Online 2013 preview and SharePoint 2013 Foundation on premise RTM.


To Reproduce


You can see a video of these repo steps here - http://screencast.com/t/kcG8trCAJOx

  • Create a new custom list called “Lookup”. Leave just Title column and add 3 records A, B, C
  • Create a new custom list called “Test”. Add a new lookup column into that list called “Lookup” get Information from Lookup list and Title column.
  • NOTE –This doesn’t just occur with lookup list/columns (it will occur when filtering via web part connections to  any list) – it’s just the easiest way to demonstrate this.
  • Click “Edit List”, add some sample data – set some rows to A, some to B.
  • Stop Editing List
  • Verify that applying filters via the list Headers works OK.
  • Edit Page > Add a Web Part > Apps > Lookup > Add (add the list you created earlier to the page)
  • Click the web part menu of the Test List > Connections > Get Filter Values From > Lookup
  • Provider Field Name = Title
  • Consumer Filed Name = Lookup
  • Click Page (on ribbon) and Stop Editing
  • Now setup to demo problem.
  • Click the <> arrows next to B on the Lookup list – this sends the filter of “B” to the Test list.
  • However, notice that the Test list is showing the A items (which was the orig filter sent before you clicked B).
  • Click the Test list Lookup header to see which filters are applied – it doesn’t show anything.
  • Click the <> arrows next to A on the Lookup list – see how its now show the last item clicked (B) rather than the current item (A)

(Cross posted to SharePoint 2013 online preview group as it occurs in both 365 preview and on premise RTM release - http://community.office365.com/en-us/preview/forums/717/p/78779/303587.aspx#303587)


Pentalogic Technology - Web Parts for Microsoft SharePoint www.pentalogic.net


Viewing all articles
Browse latest Browse all 26374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>