SharePoint List item : Issue CAML query for get item by id: returns System.String[] for multiple choice columns RRS feed

  • Question

  • Hi All,

    We are having requirement to fetch the SharePoint list item values by id from a .net application.

    Currently we are using CAML query to pull data from remote SharePoint site. However Multiple choice column is returning value as System.String[]. Even in CAML builder, same System.String[]. is being returned. Is there any additional tags to be added for accepting multiple choice field values?

    @"<View><Query><Where><Eq><FieldRef Name = 'ID'/><Value Type ='Counter'>"

    + id +"</Value></Eq></Where></Query></View>";

    Please let us know if any another approach can resolve the issue (from .Net application)?

    Thanks in Advance
    Thursday, January 3, 2019 8:26 AM