Document Library Welcome Page

rss

Posted by Karlostavitch - Oct 21 ’16 at 09:42

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?

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 5 months 5 days
    #1 by Dmitry Kozlov Oct 25 ’16 at 06:11

    Hi,

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

  • Karlostavitch
    Member
    Member for: 3 years 6 months 1 day
    #2 by Karlostavitch Nov 2 ’16 at 10:45

    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
    Member
    Member for: 3 years 6 months 1 day
    #3 by Karlostavitch Nov 7 ’16 at 07:56

    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
    Member
    Member for: 3 years 6 months 1 day
    #4 by Karlostavitch Nov 10 ’16 at 09:59

    [#3]: 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/questions/114992/filter-list-view-with-url-parameter-strange-behavior-in-internet-explorer-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.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 5 months 5 days
    #5 by Dmitry Kozlov Nov 14 ’16 at 05:12

    [#4]: Most likely, the problem is that the ID query parameter is missing in the second and third links.

  • Karlostavitch
    Member
    Member for: 3 years 6 months 1 day
    #6 by Karlostavitch Nov 16 ’16 at 06:35

    [#5]: 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

Displaying 1 to 6 of 6 messages