cfsharepoint

Invokes a feature that SharePoint exposes as a web service action, such as the Document Workspace
getdwsdata action.

  <cfsharepoint action="cancreatedwsurl">

 cfsharepoint(action="cancreatedwsurl");

This tag requires Adobe ColdFusion 9 and up.  Not supported on Lucee, etc.

Attribute Reference

password string

The password required to connect to the SharePoint server. Required if you do not specify a
login attribute.

action string
Required

The name of a web service action. See Usage for the list of service actions you can specify.
Values:
  • cancreatedwsurl
  • createdws
  • createdwsfolder
  • deletedws
  • deletedwsfolder
  • finddwsdoc
  • getdwsdata
  • removedwsuser
  • renamedws
  • updatedwsdata
  • delete
  • download
  • getimaginglistitems
  • getitemsbyids
  • listpicturelibrary
  • rename
  • upload
  • addattachment
  • addlist
  • deleteattachment
  • deletelist
  • getattachmentcollection
  • getlist
  • getlistcollection
  • getlistitems
  • updatelist
  • updatelistitems
  • query
  • queryex
  • registration
  • status
  • addgrouptorole
  • addrole
  • addusercollectiontogroup
  • addusercollectiontorole
  • addusertogroup
  • getgroupcollection
  • getrolecollection
  • getusercollectionfromrole
  • getusercollectionfromrole
  • getuserinfo
  • removerole
  • removeusercollectionfromgroup
  • removeuserfromgroup
  • addview
  • deleteview
  • getview
  • getviewcollection
  • updateview

login struct

A structure containing user, password, and domain login credentials to pass to the service. If you do not specify
domain ,password, and userNameattributes you must specify a login structure with domain, password, and userName entries.

params struct

A structure containing names and values of the parameters to pass to the service.

domain string

The domain name required to connect to the SharePoint server. Required if you do not specify a login attribute.

username string

The user name required to connect to the SharePoint server. Required if you do not specify a
login attribute.

name string

Name of the result variable in which to put the data returned by the SharePoint service.

wsdl string

Path to the service wsdl file. Required to invoke an action that is not in the list of supported actions. See Usage for details.

Examples
Sample code using the cfsharepoint tag

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub