I am trying to build a set of SharePoint 2016/Online Pages that interact with a set of lists to facilitate a particular way of interacting and adding data.
What I am currently building is a page with 4 webparts (using the standard 3 column template) -
Left Web Part
Country List - XsltListViewWebPart
Simple list showing just the country name
Center Web Part
Make List - XsltListViewWebPart
The columns for this list are Make Name and Country and the contents of this are filtered based on the country selected in the previous view using the 'Get Filter Values From' connection
Right Web Part
Model List - XsltListViewWebPart The column names for this are Model Name, Make Name and the contents of this are filtered based on the make selected in the previous view using the 'Get Filter Values From' connection
Bottom Center Web Part
Derivative List - XsltListViewWebPart
The columns for this are Derivative Name, Model Name and Country where the contents of this list are filtered based on the Country selected in the Country list and the model selected in the Model list (both using the 'Get Filter Values From' connection).
Issue
All of the interactions defined above seem to work as expected but I have now hit something I want to do that I can't seem to implement.
I have turned the ability to add new items in the Country, Make and Model XsltListViewWebPart's off however I want this feature to remain for the Derivative List with one alteration in that I want when a new item is created for the country, make and model fields to be automatically populated based on the filter values applied from the other views.
I really cannot see how to do this.
- Can you pass parameters to forms (E.g. these filter values)?
- Should a new form be created for that rather than changing the detault NewForm.aspx to do this?
Any help would be greatly appreciated?
Thanks, John