top of page

Custom JSON for use in the Intapp Collaboration and Content Platform

When using the Intapp Collaboration and Content Platform (ICCP, formerly known as Repstor custodian) to create structures in SharePoint Online, you have the option of including some additional JSON in your Templates to include some advanced configuration options.



This little Blog Post captures some useful snippets I've used over the years. Enjoy!


Note that as of the time of writing (September 2022), this JSON is only referenced at the time of Initial Provisioning, and is not referenced during subsequent re-Provisioning activities.


Tony's Top Tip: Remember you can and should validate your JSON before use - you can do this at a handy little website called jsonlint.com (use at your own risk, of course!); no doubt there are other online tools available.



 

Creating a Subfolders with Unique Permissions when provisioning a SharePoint Document Library

The JSON snippet below will create a folder tree in the Document Library, with security set as follows:


/Procurement (secured to Tony and Eamon)

/Base Contract (permissions inherited - Tony and Eamon)

/DPA (permissions inherited - Tony and Eamon)

/_ Archive (permissions inherited - Tony and Eamon)

/Legal (secured only to Tony)


{
	"Content": {
		"Children": [{
				"Type": 3,
				"Title": "Procurement",
				"Security": {
					"Inherit": false,
					"CopyFromParent": false,
					"Members": [{
						"UserNames": ["tony.ogilvie@otagem.com;eamon.crossey@otagem.com"],
						"RoleName": "Full Control"
					}]
				},
				"Children": [
					{
						"Type": 3,
						"Title": "Base Contract"
					},
					{
						"Type": 3,
						"Title": "DPA"
					},
					{
						"Type": 3,
						"Title": "_ Archive"
					}
				]
			},
			{
				"Type": 3,
				"Title": "Legal",
				"Security": {
					"Inherit": false,
					"CopyFromParent": false,
					"Members": [{
						"UserNames": ["tony.ogilvie@otagem.com"],
						"RoleName": "Full Control"
					}]
				}
			}
		]
	}
}



 

Enabling the Document ID Service when provisioning a SharePoint Site Collection


The snippet below is used when provisioning Site Collections in SharePoint Online using a Site Collection Template; this snippet does three things.

  1. ensures the Document ID Service Feature is enabled.

  2. ensures the Document ID Service is turned on; and

  3. sets the Doc ID Prefix to be the value of the {Document ID Prefix} property - set elsewhere in custodian. Remember, Document ID Prefixes should be unique to each Site Collection.

{
	"Content": {
		"PropertyBag": [{
				"Name": "docid_msft_hier_siteprefix",
				"Value": "{Document ID Prefix}"
			},
			{
				"Name": "docid_enabled",
				"Value": "1"
			}
		],

		"Features": [{
			"Id": "b50e3104-6812-424f-a011-cc90e6327318",
			"Scope": 1,
			"Enable": true
		}]
	}
}


 


C. More to come!


101 views0 comments
Otagem Logo Wider.png
bottom of page