SOLVED

JSON with multiple content types in Sharepoint List

Copper Contributor

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  

2 Replies
best response confirmed by David_Nicholson (Copper Contributor)
Solution
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.

@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.

1 best response

Accepted Solutions
best response confirmed by David_Nicholson (Copper Contributor)
Solution
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.

View solution in original post