Forum Discussion

kellyhickman14096's avatar
kellyhickman14096
Brass Contributor
Apr 11, 2024

Formatting Section View with JSON

When the list item is formatted with sections, is there a way to widen just the one column "webex" to allow for the long sequential webex link so it doesn't stretch over the next column "last column"? Setting the code to wrap the text in this instance doesn't make sense, I want the entire webex string to show and not extend into the column adjacent. 

 

 

I have my JSON set to this code:

 

 

  • ganeshsanap's avatar
    ganeshsanap
    Apr 15, 2024

    kellyhickman14096 You can try adding one more section in the body JSON and add webex column in the last section. You can keep the displayname of last section to "".

    Example

     

    {
      "sections": [
        {
          //give a display name for the section
          "displayname": "Administration",
          "fields": [
            //reference your fields here using their display name
            "Title"
          ]
        },
        {
          //give a display name for the section
          "displayname": "",
          "fields": [
            //reference webex field here using the display name
            "webex"
          ]
        }
      ]
    }

     

    DocumentationSharePoint - Configure custom body with one or more sections 


    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.

    • ganeshsanap's avatar
      ganeshsanap
      MVP

      kellyhickman14096 You can try adding one more section in the body JSON and add webex column in the last section. You can keep the displayname of last section to "".

      Example

       

      {
        "sections": [
          {
            //give a display name for the section
            "displayname": "Administration",
            "fields": [
              //reference your fields here using their display name
              "Title"
            ]
          },
          {
            //give a display name for the section
            "displayname": "",
            "fields": [
              //reference webex field here using the display name
              "webex"
            ]
          }
        ]
      }

       

      DocumentationSharePoint - Configure custom body with one or more sections 


      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.

      • kellyhickman14096's avatar
        kellyhickman14096
        Brass Contributor

        ganeshsanap 

        Thank you this worked brilliantly, may I ask a followup question, any idea if there's a way to get rid of the apparent default section line? So it doesn't look like a separate section when moving the "webex" column? I'm guessing no, but thought I'd ask.

         

         

Resources