The K2 SharePoint CSOM Content Service
The K2 SharePoint Content service allows users to interact with SharePoint's CSOM (client side object model), populating lists and libraries.
For more information please see http://msdn.microsoft.com/en-us/library/ee857094.aspx
SharePoint CSOM Service in K2 Workspace
The SharePoint CSOM Content Service can be located in the Management Console in the SmartObjects > Services section. Once the Service instance has been created the Service Object methods will appear in the K2 Object Browser.
|Add||Adds a new Service Instance. Selecting to add a new Service Instance will open the Service Instance Configuration wizard screen|
|Edit||Edits the selected Service Instance. Selecting to edit an existing Service Instance will open the Edit Service Instance wizard screen|
|Credentials||This is disabled. Credentials are cached via Single Sign-On within Workspace > User preferences|
|Remove||Deletes the selected configured Service Instance|
|Selected||Selects the SmartObject Service configuration, enabling an administrator to Edit or Delete the configured Service|
|Display Name||The name of the Configured SmartObject Service|
|Description||A description of the configured SmartObject Service|
Service Instance Configuration
|(Required) The local or cloud SharePoint site URL against which the instance is registered and from where the ServiceObjects are to be exposed. The default value is HTTP://|
|Term Store ID (GUID)||Exposes the ServiceObject Managed Metadata object based on the Taxonomy service in SharePoint. The field is empty by default.|
|Throttle Documents||(Required) The number of results that can be returned in a user query. The default value is 50.|
|Use Internal Field Names||
When set to False, the ServiceObject schema properties display names will be 'friendly' names. When set to True, the property names displayed will be system names. The default value is False (friendly names).
|Include Hidden Libraries||
When set to True, all ServiceObjects based on the hidden libraries in the SharePoint site will be exposed, provided the user has sufficient permissions in SharePoint. The default value is False.
|Default Locale Id||Windows uses the Locale Identifier (LCID) to determine the language and culture to use when displaying information. The default value in this field is derived from the regional settings within the users system. For example, the code for USA English is 1033 (more info: http://support.microsoft.com/kb/221435)|
|Version||(Required) This is the service type assembly file version; the default value is read from the file in the Windows system.|
|Parse Lookup Field Values||When set to True, this will parse the Lookup Field values in SharePoint. The default value here is True. In SharePoint, the number of Lookup Field values is limited to 8.|
|Service Time Out||(Required) Service registration time out. The default value is 120000ms|
|Throttle List Items||(Required) The number of results that can be returned in a user query. The default value is 2000.|
|Dynamic||(Required) When set to true this will force the user to specify a complete URL during execution as opposed to relative URLs based on the instance. Default value is False.|
|Include Hidden Lists||
When set to True, all ServiceObjects based on the hidden lists in the SharePoint site will be exposed, provided the user has sufficient permissions in SharePoint. The default value is False.
|Office 365||(Required) If the Site URL field value is a URL which points to a local SharePoint system, this field must be set to False. If the value is set to True, it will indicate the URL is not local and is external – E.g.: Cloud|
|Security Provider||Enter the required Security Provider label (SharePoint). The security provider label is mapped to the security provider created for the service types.|
|User Name||Your Online or local account user name|
|Password||Your Online or local account user password|
|Extra||No information is actually required in this field for the SharePoint security providers. We do not use this field during registration, we use the actual site URL specified in the instance.|
|Impersonate||Select this check box to enable impersonation rights|
|Enforce Impersonation||This is a Pass-through Authentication option. If Enforce Impersonation is not checked, and K2 Pass-through Authentication fails for the impersonated user, the service will revert to the K2 Service Account, and retry. If Enforce Impersonation is checked, the service will not revert to the K2 Service Account if it fails with the impersonated user.|
Clicking Next will load the Service Instance Configuration screen:
|Field||Description||How to use it|
|System Name||The name of the SmartObject Service||Enter the name of the SmartObject Service|
|Display Name||A user friendly name for the SmartObject Service||Enter a user friendly name for the SmartObject Service|
|Description||A description for the SmartObject Service||Enter a description for the SmartObject Service|
Edit SharePoint Service
To edit a Service Instance, select the Service Instance, then click Edit. The Edit Service Instance screen will be loaded with the information as provided previously. Edit the information as required and click Save.