Stored Procedures
Stored procedures are available to complement the data available from the SOAP Data Model. It may be necessary to update data available from a view using a stored procedure because the data does not provide for direct, table-like, two-way updates. In these situations, the retrieval of the data is done using the appropriate view or table, while the update is done by calling a stored procedure. Stored procedures take a list of parameters and return back a dataset that contains the collection of tuples that constitute the response.
SharePoint Adapter Stored Procedures
| Name | Description |
| DownloadAttachment | Download a document from the SharePoint list. |
| DownloadDocument | Download a document from the SharePoint library. |
| GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
| GetCurrentUser | Retrieves information about the current logged in user. |
| GetOAuthAccessToken | Gets the OAuth access token from SharePoint. |
| GetOAuthAuthorizationURL | Gets the SharePoint authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to SharePoint. |
| RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with SharePoint. |