Forum Discussion

happy2023's avatar
happy2023
Copper Contributor
Feb 27, 2024

The size of SP form using Json

Hello all, 

 

Could you do me a favor?

 

The width on the default sharepoint form has changed automatically on my sharepoint site. whenever I used Json. 

 

 I don't like the wide one. I want to keep the narrow form. How can I do it?

  • happy2023 Microsoft edge is compatible with SharePoint and Microsoft recommends using it.

     

    I think you are seeing this behavior because you are showing multiple fields on single line using body section customizations.

     

    Check the functionalities and limitations of JSON form formatting here: Configure the SharePoint list form using JSON formatting 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

  • happy2023 

     

    Can you show us the JSON you are using, screenshots of where you are applying the JSON and how the SP list form looks like now?


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • happy2023's avatar
      happy2023
      Copper Contributor

      Hello,

       

      Thank you for your reply. 

      Is Edge not compatible with SP? When I use  firefox, it looks a narrow version, but when I used an Edge,  it was always way too wide.  

       

      Even I haven't added the header. This is only the body part.
      {
      "sections": [
      {
      "displayname": " Session 1",
      "fields": [
      "Title",
      " Custom Pricing Type",
      "Look up record"
      ]
      },
      {
      "displayname": "Session 2",
      "fields": [
      "Pricing Per Bill",
      "Price Per Line",
      "Bill Review % of Savings"
      ]
      },
      {
      "displayname": "Session 2",
      "fields": [
      "PPO % of Savings",
      "Primary PPO% of Savvings",
      "Secondary Network PPO% of Savings",
      "*Conventry PPO% of Savings",
      " *Anthem PPO% of Savings",
      "Custom Network PPO% of Savings"
      ]
      }
      ]
      }

      • ganeshsanap's avatar
        ganeshsanap
        MVP

        happy2023 Microsoft edge is compatible with SharePoint and Microsoft recommends using it.

         

        I think you are seeing this behavior because you are showing multiple fields on single line using body section customizations.

         

        Check the functionalities and limitations of JSON form formatting here: Configure the SharePoint list form using JSON formatting 


        Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources