Option Strict On disallows implicit conversions from 'System.Xml.Linq.XElement' to 'String'

Hello everyone,

I am trying to filter a SharePoint list using CAML but I am getting this error. It looks like a data type conversion error but I don’t know where to put the conversion.

Here is a screenshot of the error

I know this is an older post but I found this exact thing in the same place in the Sharepoint Activities package. I found a document online that was helpful. The solve was to surround the valid CAML string with double quotes. In case it helps, and other go searching for same.

Custom Sharepoint Activities User Guide.pdf (1.7 MB)