Last active
January 14, 2019 17:14
-
-
Save chrisobriensp/87133c03ff3bb53f598e38823d393d8d to your computer and use it in GitHub Desktop.
A SharePoint Site Design which adds some document libraries, fields and navigation links.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "schema.json", | |
"actions": [ | |
{ | |
"verb": "createSPList", | |
"listName": "CLIENT SHARED DOCUMENTS", | |
"templateType": 101, | |
"subactions": [ | |
{ | |
"verb": "SetDescription", | |
"description": "Documents shared between Contoso and the client" | |
}, | |
{ | |
"verb": "addSPField", | |
"fieldType": "Text", | |
"displayName": "Description", | |
"isRequired": false, | |
"addToDefaultView": true | |
}, | |
{ | |
"verb": "createSiteColumnXml", | |
"schemaXml": "<Field Type=\"Choice\" DisplayName=\"Document Status\" Required=\"FALSE\" Format=\"Dropdown\" StaticName=\"DocumentStatus\" Name=\"DocumentStatus\"><Default>In Progress</Default><CHOICES><CHOICE>In Progress</CHOICE><CHOICE>In Review</CHOICE><CHOICE>Completed</CHOICE></CHOICES></Field>" | |
}, | |
{ | |
"verb": "addSPField", | |
"fieldType": "User", | |
"displayName": "Contact", | |
"addToDefaultView": true, | |
"isRequired": true | |
} | |
] | |
}, | |
{ | |
"verb": "createSPList", | |
"listName": "Sales process documents", | |
"templateType": 101, | |
"subactions": [ | |
{ | |
"verb": "SetDescription", | |
"description": "Sales process guidance" | |
}, | |
{ | |
"verb": "addSPField", | |
"fieldType": "Text", | |
"displayName": "Description", | |
"isRequired": false, | |
"addToDefaultView": true | |
} | |
] | |
}, | |
{ | |
"verb": "addNavLink", | |
"url": "/CLIENT SHARED DOCUMENTS", | |
"displayName": "CLIENT SHARED", | |
"isWebRelative": true | |
}, | |
{ | |
"verb": "addNavLink", | |
"url": "/Sales process documents", | |
"displayName": "Sales process", | |
"isWebRelative": true | |
} | |
], | |
"bindata": { }, | |
"version": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment