Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamworks authored Aug 8, 2021
1 parent 701d894 commit f3d8fd1
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,68 @@ Originally I wanted to use perl to dynamically generate the VBA code from a wsdl

### VBA Integration

Either include SPSoap.cls in your project or start by using the Example project. Also ensure a reference to MS XML, v3.0 exists. The following sample code shows how to access a SharePoint List and Display some results.
Either include SPSoap.cls in your project or start by using the example.xlsm. Also ensure a reference to MS XML, v3.0 exists. The following sample code shows how to access a SharePoint List and Display some results.

### Types Casts

| SOAP Type | VBA Type |
| ------------------- | ---------------------- |
| System.String | String |
| System.Xml.XmlNode | MSXML2.IXMLDOMNodeList |
| System.Guid | String |
| Int32 | Integer |
| Byte[] | Variant |
| Boolean | Boolean |

All return types have been casted to MSXML2.IXMLDOMNodeList. This might requires adoptions for some functions - depending on your former usage.

### Provided Functions

#### Lists.asmx

"AddAttachment",
"AddDiscussionBoardItem",
"AddList",
"AddListFromFeature",
"AddWikiPage",
"ApplyContentTypeToList",
"CheckInFile",
"CheckOutFile",
"CreateContentType",
"DeleteAttachment",
"DeleteContentType",
"DeleteContentTypeXmlDocument",
"DeleteList",
"GetAttachmentCollection",
"GetList",
"GetListAndView",
"GetListCollection",
"GetListContentType",
"GetListContentTypes",
"GetListContentTypesAndProperties",
"GetListItemChanges",
"GetListItemChangesSinceToken",
"GetListItemChangesWithKnowledge",
"GetListItems",
"GetVersionCollection",
"UndoCheckOut",
"UpdateContentType",
"UpdateContentTypeXmlDocument",
"UpdateContentTypesXmlDocument",
"UpdateList",
"UpdateListItems",
"UpdateListItemsWithKnowledge"

#### Views.asmx

"AddView",
"DeleteView",
"GetView",
"GetViewCollection",
"GetViewHtml",
"UpdateView",
"UpdateViewHtml",
"UpdateViewHtml2"

### Sample code

Expand Down

0 comments on commit f3d8fd1

Please sign in to comment.