Page 1 of 1
Related Documents Grouped View not working
Posted: 11 Apr 2019
by Marshall
Hello
I am trying to use a view, grouped by a Doc Type column in a related documents control. When I display the view in the document library it displays correctly.
- screen1.JPG (27.86 KiB) Viewed 2535 times
When I display the view on the form, the groups are displayed with the correct document count for each doc type but all documents are displayed in each group.
- screen2.JPG (34.52 KiB) Viewed 2535 times
Is there something I need to add to the View code to have it display correctly? I am using SP Forms 3.1.4 with Sharepoint 2013.
Many thanks
Marshall
Re: Related Documents Grouped View not working
Posted: 12 Apr 2019
by AlexZver
Dear Marshall,
Please make sure that the document library has the forms created in Forms Designer.
Re: Related Documents Grouped View not working
Posted: 15 Apr 2019
by Marshall
Hi AlexZver
I'm not sure what you mean? The related docs does not use any forms from the doc library. The docs are uploaded by dragging on to the related doc in the list item. The related view comes from the doc library using the view grouping. The counts are correct but when you expand the grouping the server side call is not filtering.
The call below comes form the original library when the group is expanded
_layouts/15/inplview.aspx?List={EF29A67E-3507-40CB-8A03-4FBF1EEB6D0A}&View={C8D6F203-76FB-4085-81F5-36E8EB48F2B4}&ViewCount=279&IsXslView=TRUE&IsCSR=TRUE&GroupString=%3B%23Compliance%3B%23&IsGroupRender=TRUE&WebPartID={C8D6F203-76FB-4085-81F5-36E8EB48F2B4}
The call below comes from the expansion in the related doc in the sp forms list item when the group is expanded:
_layouts/15/inplview.aspx?List={EF29A67E-3507-40CB-8A03-4FBF1EEB6D0A}&View={A3004091-8311-485C-B316-952BE1D15559}&ViewCount=1504&IsXslView=TRUE&IsCSR=TRUE&GroupString=%3B%23Compliance%3B%23&IsGroupRender=TRUE&WebPartID={A3004091-8311-485C-B316-952BE1D15559}&FilterField1=Item%5Fx0020%5FId&FilterValue1=9
Many thanks
Marshall
Re: Related Documents Grouped View not working
Posted: 17 Apr 2019
by AlexZver
Dear Marshall,
I'm sorry for a late reply. Please try the server render mode for the related items:
- Screenshot_140.png (13.79 KiB) Viewed 2514 times
Re: Related Documents Grouped View not working
Posted: 18 Apr 2019
by Marshall
That's it! Great thank you very much.
I love your product