Custom Action to filter child qListView when selecting a parent Listitem
Scenario:
1. Created two lists where Event list may contain multiple Tasks items. (They are linked by EventID where parent.ID=chid.EventID).
2. Then created a qListView for the parent called “Events” and another qListView called “Tasks” on the same page.
Goal:
When selecting an Event from the parent qListView, we want to display all tasks related to the selected Event.
Question:
Is there a way to configure the relationship or custom action?
This scenario can be accomplished using a qSelector and a qListView.
In the qSelector you display the events and in the qListView the Tasks.
1. Set the qSelector to refresh the page when selection change .
2. Set a session variable that will be passed to the qListView in a CAML filter condition.
In this case when the user selects an event, the session variable will be set, the page refreshes and the CAML filter would filter the Tasks and displays the tasks for the event selected.