I am adding a content type using site script to a library which is already having three content types. Now I want to make my custom content type as default one. Is it possible to make a content type as default using site script?
The code I am using for adding content type is below:
{
"verb": "createSPList",
"listName": "Project List",
"templateType": 100,
"subactions": [
{
"verb": "addContentType",
"name": "CustomProject"
}
]
}
Thanks in advance