Managing SharePoint Connections

The preferred method to update SharePoint connections is to use OnePlaceLive to deploy connections.

If there is no OnePlaceLive license available, then changes can be made via configuration update process.

 

Using the configuration update method, results in overriding all existing site collections added by the user in the navigation tree. 

If using OnePlaceLive, the additional connections are added, without affecting the existing SharePoint connection.

 

Property 

 Mandatory / Optional

 Description

action

 Mandatory

Set to "insert" to change the default behavior

Set to "delete" to revert to default behavior

siteColUrl

 Mandatory

The full URL to the SharePoint site collection

 Example: Add two new site collections

<?xml version="1.0" encoding="UTF-8"?> 
< configuration> 
    <siteCollections> 
    <siteCollection siteColUrl="http://myserver/sites/small" action="insert"/> 
    <siteCollection siteColUrl="http://myserver/sites/large" action="insert"/> 
    </siteCollections> 
</configuration> 

 


 Example: Delete two existing site collections and add two new site collections

 

<?xml version="1.0" encoding="UTF-8"?> 
<configuration>
    <siteCollections>
    <siteCollection siteColUrl="http://myserver/sites/small" action="delete"/>
    <siteCollection siteColUrl="http://myserver/sites/large" action="delete"/>
    <siteCollection siteColUrl="http://myserver/sites/projects" action="insert"/>
    <siteCollection siteColUrl="http://myserver/sites/documents" action="insert"/>
    </siteCollections>
</configuration> 

 

 

 

Prevent users from adding a site collection

It is possible  to restrict users from adding individual site collections.

 

The <siteCollectionsPermissions> inserted within <configuration> tags

Property 

 Mandatory / Optional

 Description

 action

 Mandatory

Set to '"insert" to change the default behavior

Set to "delete" to revert to default behavior

 enableEdit

 Mandatory

Control if users have ability to add Site Collections.

valid values: true / false


Example: Prevent adding site collections

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <siteCollectionsPermissions action="delete"/>
    <siteCollectionsPermissions action="insert" enableEdit="false"/>
</configuration>