Forum Discussion

josh_vts's avatar
josh_vts
Copper Contributor
Oct 11, 2024

Document library web part looks wrong on coworker's side

Hi all,

 

I have a document library web part on a page that looks just fine on my end (Edge browser).

 

However, a coworker showed me that it looks wrong in their browser, and several others have confirmed (I believe both Edge and Chrome browsers).

 

Please see screenshots below for context - is this a known issue? 

 

Screenshots below:

  1. Correct view I see on my side
  2. My view, edit mode, showing document library web part inside a 2 column section
  3. Coworker's view, web part looks wrong (not full width?)

    Thank you!

 

 

 

4 Replies

  • josh_vts's avatar
    josh_vts
    Copper Contributor

    If anyone is still having this problem with their custom views coming out looking wrong, I found a way to fix my issue.

    In my JSON formatting code for this custom view, I had 

    "hideColumnHeader": true

    I changed it to:

    "hideColumnHeader": false

    I saved the view, went back to the page, re-applied the custom view to the page (you can remove it and add it back) and adjusted the columns to be bigger. 

    I saved that view, then went back into my JSON code and change the value back to true

    The view then displayed just fine. 

    I hope this helps someone out there!

  • JuliaSimmons's avatar
    JuliaSimmons
    Copper Contributor
    This is happening at our company as well and impacting all resource web parts -- not all users are impacted, but I cannot determine a pattern.

    As a standard process, we have always increased the column widths to the appropriate size in the resource library and then saved the view. When we add the web-part to a site page the widths appear correctly for all users. This is no longer functioning and the column widths are reset to very narrow on the web-part views. Note: the columns are still appearing correctly in the library view. Also, users cannot adjust themselves on the page because we have the header row hidden.

    Hopefully someone has a fix for this... a JSON code we can apply, or another workaround.
    • MaxCSA's avatar
      MaxCSA
      Copper Contributor

      JuliaSimmons 

      We also have this kind of problem.

      With Library parts, some user see the breadcrumb, and some others don't. Also, some users see filter details, and some others don't.

      We have configure "Dynamic filter" between 2 libraries. Same things there : for some users it works well, and for some others, they have to right-click the item in orther to select an item so that the second library gets updated.

      We haven't found any strong pattern other than all "new" users have the good behavior. So it might be an "old" setting related to the account that breaks everything.

  • nathenhowarth's avatar
    nathenhowarth
    Copper Contributor

    josh_vts 

    I am also having an issue with my document library webpart on my site, I created a custom formatted view that works perfectly on my account but doesn't work at all as intended for every other account that views it. Hopefully we get a solution soon.