Related Documents Grouped View not working

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Marshall
Posts: 13
Joined: Fri Mar 29, 2019

11 Apr 2019

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
screen1.JPG (27.86 KiB) Viewed 2530 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
screen2.JPG (34.52 KiB) Viewed 2530 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

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

12 Apr 2019

Dear Marshall,

Please make sure that the document library has the forms created in Forms Designer.

Marshall
Posts: 13
Joined: Fri Mar 29, 2019

15 Apr 2019

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

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

17 Apr 2019

Dear Marshall,

I'm sorry for a late reply. Please try the server render mode for the related items:
Screenshot_140.png
Screenshot_140.png (13.79 KiB) Viewed 2509 times

Marshall
Posts: 13
Joined: Fri Mar 29, 2019

18 Apr 2019

That's it! Great thank you very much.

I love your product

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests