Filtering Sub-List Items via Selection of other Sub-List - in Dossier Display
Greetings,
I am mostly curious if this is even possible...
I am in the Disp Form, with a sub-Library and sub-List showing...
Using this image as a starting point:
In the File Viewer control documentation, it has the ability to change the document displayed via a Dynamic script...
var selectedItems = [[@SubLists.SubLIb.SelectedItems]];
var files = selectedItems.filter((item) => {
return item["FSObjType"] != 1;
});
if (files && files.length) {
return files[0]["FileRef"];
}
return '';
Would it be possible do something like this, so that a user could:
1. Select a single Document in 'Review Docs'
2. n-number of items will be displayed in 'Review Tracker'... for all individual Reviews, related to that document.
Can the CAML Query for the 'Review Tracker' be configured using a similar Dynamic/Script snippet?
Thanks,
Taylor
-
Hi Kilgore ServiceAccount,
yes you can achieve this by filtering Review Tracker list with the following CAML query:
You basically filter it by the connecting lookup by lookup id of the selected item in the Review Docs list.
Kind regards
Matthias0
Please sign in to leave a comment.
Comments
1 comment