Skip to main content

Hi,

 

I have written some .NET code inside a Default Server Event (Code) and addred assembly references to the the Manage Process References for Microsoft.SharePoint.Client.dll 15.0.0.0 and Microsoft.SharePoint.Client.Runtime.dll 15.0.0.0. I have even added dSerializable] to above the pubic class declaration but when I start a new instance of the Workflow in workspace it goes into error:

 

Type 'Microsoft.SharePoint.Client.ServerException' in Assembly 'Microsoft.SharePoint.Client.Runtime, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' is not marked as serializable.

 

Is it possible to interact with SharePoint Client  through a K2 Server Event in this way.

I need to be able to do this because what we are trying to achieve is not supported with SmartObjects.

 

Thanks,

Sam

Reply