Document Library Welcome Page

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Karlostavitch
Posts: 20
Joined: Wed Aug 24, 2016

21 Oct 2016

Hi,

Currently I have a form built in Forms Designer which is a document set welcome page. There is a document library view at the bottom which appears to be controlled FolderCTID query string in the URL. When viewing the root folder of the document set, everything works as expected. When browsing the folders in the document library, it posts back and reloads the form in the context of the subfolder you have just entered. Since the subfolder does not contain the document set metadata, the form goes blank.

Is there anyway for the form to remain in the context of the document set, while enabling the folders included to be navigated?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

25 Oct 2016

Hi,

You can try to override links inside the view with JavaScript.

Karlostavitch
Posts: 20
Joined: Wed Aug 24, 2016

02 Nov 2016

Please consider these URLS:-

1 docsethomepage.aspx?ID=1977&FolderCTID=0x0120D52000DF69DCCC97DE3A4B82C0F2293E9B41D7007AA92A29E27DD64FAFC0EFE554D44E2D&List=ffa3f958-0f84-44f5-a738-d9ad72968a88&RootFolder=%2Fsites%2Fclaims%2FClaims%2FQ6023&RecSrc=%2Fsites%2Fclaims%2FClaims%2FQ6023#InplviewHashe3864322-7a47-4489-99e6-995e8ccb91e3=age.aspx-age.aspx%3D-ShowInGrid%3DTrue-FilterField1%3DXXX_x0020_Claim_x0020_Number1-FilterValue1%3DQ6023



2 docsethomepage.aspx?RootFolder=%2Fsites%2Fclaims%2FClaims%2FQ6023%2FPhotos&FolderCTID=0x012000A242BAB48CA7684A8F8F68B29864B1D3&View=%7B6D6CEB62%2DC1FC%2D47C4%2D9FE0%2D42A70FAD04A4%7D



3 docsethomepage.aspx?RootFolder=%2Fsites%2Fclaims%2FClaims%2FQ6023%2FPhotos&FolderCTID=0x012000A242BAB48CA7684A8F8F68B29864B1D3&View=%7B6D6CEB62-C1FC-47C4-9FE0-42A70FAD04A4%7D#InplviewHashe3864322-7a47-4489-99e6-995e8ccb91e3=age.aspx-FilterField1%3DXXX_x0020_Claim_x0020_Number-FilterValue1%3DQ6185-ShowInGrid%3DTrue



1 The first URL is working as expected, it displays the welcome page with the correct metadata and in the correct folder with relevant files and folders displayed below.



2 This is the link connected to a folder in the document set, I got this from copying the shortcut. This would navigate to display the files within this folder, as far as I can tell it is correct.



3 This is where it seems to be getting mixed up, after navigating to the folder, the part of the link from #InplviewHashes onwards is automatically appended a moment after the link has appeared in the browser address bar. Now as you can see the ID in this section is different to the actual ID of the document library in context. At this point the page loads displaying the document set form with all the metadata of a different document set however the files and folders listed below are correct for the current document library context.

Karlostavitch
Posts: 20
Joined: Wed Aug 24, 2016

07 Nov 2016

I am currently troubleshooting with MS support, it would be good to find the root cause if possible. All else fails we could attempt to adjust the URL with javascript. I will post back the result.

Karlostavitch
Posts: 20
Joined: Wed Aug 24, 2016

10 Nov 2016

Its getting down to the pointy end with MS and I am pretty sure they are going to put it back to the form I created using Forms Designer. It appears as if the issue may be coming from the links in the related items (document library in the form). Can you please take a look at this witeup? In our case it applys to all browsers



http://sharepoint.stackexchange.com/que ... lorer-shar

We have also disabled all custom javascipt on the page, and still the result is the same so we are down to Forms Designer and SharePoint.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

14 Nov 2016

Most likely, the problem is that the ID query parameter is missing in the second and third links.

Karlostavitch
Posts: 20
Joined: Wed Aug 24, 2016

16 Nov 2016

This appears to be correct, by appending &ID=[ID of the Document Set in Context] it displays the page as expected. This is something which could potentially be done via javascript. Thanks for the suggestion

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests