One massive ask for from IT Managers and Office 365 SharePoint Website is concerning Migrations of data and SharePoint Objects from SharePoint Website, sure there’s a great deal of resources which assist you creating this sort of migration, we listen to plenty about moving users, Lists, Content types but how this extremely works. We could have multiple methods considering that SharePoint Object Model Server Side, Client Side Object Model or REST operations as examples. This illustration show how you are able to utilize the data in JSON base from REST operations and SharePoint Objects from SharePoint Sites then alter it and import to totally different SharePoint sites.

1

The developed SharePoint App model shows how we will export and import SharePoint Objects making use of JSON and REST along with Javascript.

SharePoint-2013-Hosting

This sort of technique could be terribly useful to relocate SharePoint Website Configurations to multiple sites, for that instance used the ” RoleDefinition ” object to export a existing RoleDefinition Object and import along with a special name utilizing JSON data.

How the App Works?
The app obtain a existing RoleDefinition permission Name inside the SharePoint website and produce a REST operation to return the JSON data related. The very first factor was acquire the Name of the permission in Authorization Levels, you are able to accessibility the page subsequent the Top Right Menu Site settings -> Site Permissions -> Ribbon “Permissions Levels.

2

Export JSON Roledefinition
Once the Permission name is selected use of ExportImport App and choose the Option ” Export RoleDefinition JSON ” and also the JSON data is displayed inside the TextArea.

3

Import JSON Roledefinition Copy the JSON data and paste inside the Import JSON TextArea and provides a new Name to the RoleDefinition and choose ” Import new Roledefinition JSON “. This operation can deliver a POST Method by REST using the JSON data and properties connected inside the Body of the message to SharePoint. When this the object ought to be produced with good results.

4

After you got “success Message” from the last operation, you should refresh the Permission Level Page & validate if the new RoleDefinition was created with sucess.

5