Sharepoint Contact Create logo

Sharepoint Contact Create Version 1

This handler makes a SOAP call (using Savon) to the SharePoint Web Services to create a new contact in a Contact list. Savon is then configured to work with the given account credentials. Next the Batch XML structure is built to give the Web Service the information it needs to create the new contact, which is then passed via a SOAP call to SharePoint, where the contact is created and posted to the list. Any errors that occur during this process will be caught and re-raised by the handler. Authentication is done through SSL, so the SharePoint site being accessed needs to be setup to allow SSL connections.

  • Make sure the SharePoint Web Services database is turned on.

How to Obtain the Homepage URL Info Value

To find the homepage url, all you have to do is look at the URL of any page on the SharePoint site. The url that should be inputted should contain both the base url (the top-most site in the collection) and the sub-site that you are on. For example, given the following URL: https://sharepoint.company.com/development/SitePages/Home.aspx The base site is "sharepoint.company.com", the sub-site is "development" and the 'HomePage URL' task info values should be set to: https://sharepoint.company.com/development

Parameters

Name Description
Contact List The name of the contact list that the contact will be added to.
Last Name The last name of the contact.
First Name The first name of the contact.
Email The email address of the contact.
Company The company associated with the contact.
Job Title The job title of the contact.
Work Phone The work phone number of the contact.
Home Phone The home phone number of the contact
Cell Phone The cell phone number of the contact.

Sample Configuration

Name Description
Last Name User
First Name Test
Email test.user@acme.com
Company Kinetic Data
Job Title Test Position
Work Phone 123.456.7890
Home Phone 012.890.4567
Cell Phone 567.476.1234
Contact List

Results

This handler does not return any results.

Changelog

SharepointContactCreate_V1 (2013-10-08)

  • Initial version. See README for details.


Related Handlers

Sharepoint Task Create
This handler creates a new announcement in the SharePoint Tasks list
Sharepoint Discussion Board Post
This handler creates a new post in a SharePoint Discussion Board
Sharepoint Document Create
This handler creates a document and then uploads it to a document library
Sharepoint Document Upload
This handler uploads a document to a document library
Sharepoint Event Create
This handler creates a new event within a SharePoint Calendar.
Sharepoint Issue Item Add
This handler creates a new issue in a SharePoint Issue Tracking list
Sharepoint Link Item Add
This handler creates a new link item in the SharePoint Links list
Sharepoint List Retrieve
This handler retrieves the contents of a list from the configured Sharepoint site and returns a JSON representation of the data.
Sharepoint Site Create
This handler adds a new Site to a SharePoint top level site.
Sharepoint Task Create
This handler creates a new task in the SharePoint Tasks list