Forum Discussion

Matti_Leppanen's avatar
Matti_Leppanen
Copper Contributor
Apr 24, 2024

After Sharepoint List new layout 'Edit in grid view' fails

I am developing a Sharepoint application, where there are several lists and views on them.

I have several views where the rows are modified to be shown as cards in buckets.

 

After Sharepoint List new layout emerged, I see this phenomena: when I select 'Edit in grid view', in case of almost all of the modified views the the change does not happen. The Sharepoint flashes the grid view, but then shows an error message: "Try refresh the page. Something went wrong and we could not get the page to display".  
Retry or refreshing gets me back to board view.

Both my own views (successful one and unsuccessful ones) have several hundred lines of JSON formatting. Because the number of list rows is the same, I tend to think, that the reason for problem lies in JSON formatting code.
Before going through the codes line by line, I was wondering if there might be some known issues concerning this kind of board view <-> grid view problem?


 

4 Replies

  • MichelleK521's avatar
    MichelleK521
    Copper Contributor

    Matti_Leppanen We are having the same issue, but only one team member. The Teams workaround is also not working. We can barely view the lists before we receive the error. 

  • 1of2Techs's avatar
    1of2Techs
    Copper Contributor
    One person in our department is having the same issue. Certain views will flash on the screen, then get the error message. There are a few views that open normally for her. She has cleared cache, trye incognito mode and several browsers. They all give the same error.
    • Matti_Leppanen's avatar
      Matti_Leppanen
      Copper Contributor

      1of2Techs 

      In my case I found a workaround by accident.
      My views have JSON formatting, sorting and filtering.

      I tried to pinpoint possible reason for failure by following method:

      1. create a new view
      2. check if 'Edit in grid view' fails or succeeds -> success
      3. paste JSON
      4. check if 'Edit in grid view' fails or succeeds-> success
      5. set sorting options
      6. check if 'Edit in grid view' fails or succeeds-> success
      7. set filtering options
      8. check if 'Edit in grid view' fails or succeeds -> success.


      It was a surprise, that after step 8 I had a view, which succeeds in 'Edit in  grid view'.


      After that I re-checked by creating a view, copying JSON, setting sorting options and filtering options and only after that checking 'Edit in grid view' -> again failure.

       

      So, with the old layout I managed to get the views done by making all changes at one time, but with the new layout Sharepoint seems to need more time to get used to new views and changes in them.
      I find it strange. 

       

       

      • 1of2Techs's avatar
        1of2Techs
        Copper Contributor
        Thank you for these troubleshooting steps. The troubleshooting problem I have is that the problem isn't affecting my account. Only 1 user has reported the problem. For now, I added the site to Teams and she accesses the site via Teams and it works fine from there. No one else in the department even see the newer views. I am worried about what will happen when the new views reach others.

Resources