Integrate Manager with SharePoint

   Journey Manager (JM) The transaction engine for the platform. |   System Manager / DevOps |  All versions This feature is related to all versions.

Journey Manager allows you to integrate with SharePointSharePoint is a web-based collaborative platform that integrates with Microsoft Office., using a Java integration component, that supports the following SharePoint interfaces:

  • Copy.copyIntoItems
  • Copy.getItems
  • Lists.addAttachment
  • Lists.getListItems
  • Lists.getListCollection
  • Lists.updateListItems
  • Lists.checkInFile
  • UserGroup.getUserInfo
  • UserProfileService.getUserProfileByName
  • Webs.getWeb
  • Webs.getWebCollection

Security of your applications is our priority, so, before using the SharePoint web services, you must ensure that a user, which you use to authenticate the connection, has the following permission: Use Remote Interfaces - Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site .

To call methods of SharePoint interface, you need to establish a SharePoint Connection. This can be done with a Groovy service. The com.avoka.component.sharepoint.SPClient class uses a Microsoft SharePoint Client class with web service factory methods.

The Groovy script example below illustrates using the SPClient object to create a List SharePoint web service object, which is then used to look up a collection, such as a List. In this example, configuration Service Parameters are accessed via the params map object .

import com.avoka.component.sharepoint.SPClient
import com.avoka.component.sharepoint.service.List
 
// Create a SharePoint client using the service params map with the configured connection details
def spClient = new SPClient(params.username, params.password, params.url, params.domain)
 
// Create a List web service
def listService = spClient.getLists()
 
// Get a List collection map
def collectionMap = listService.getListCollection(params.siteContext)

For more information, see API documentation.

Next, learn about the form dashboard.