Forum Discussion

David_Nicholson's avatar
David_Nicholson
Copper Contributor
Jul 16, 2021
Solved

JSON with multiple content types in Sharepoint List

Hi guys - I'm pretty new to JSON so pls go easy if this is a stupid question.

 

I have created a Sharepoint list with 5 content types. Currently, when I select New -> [content type], the form is simply a vertical stack of the columns which apply to that content type. 

 

I'd like to use JSON to edit each form - but the columns etc are obv different for each. 

 

Can I have different JSON for each content type? Thanks  

  • Yes, you can have different JSON for each content type. Open the new form for ContentType1 > Configure Layout. Then the other content types and do the same.

2 Replies

  • Sarah_Morse's avatar
    Sarah_Morse
    Copper Contributor
    Yes, you can have different JSON for each content type. Open the new form for ContentType1 > Configure Layout. Then the other content types and do the same.
    • ganeshsanap's avatar
      ganeshsanap
      MVP

      Sarah_Morse David_Nicholson,

       

      Here's Microsoft official documentation related to form customizations using JSON (header, footer, body layout): Configure the list form 


      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