hi,
i have a guid's string array.
ex: string[] recordGuids;
i want to use this in fetchxml by using condition operator "in".
i have tried this below code but no success ("The remote server returned an error: NotFound.").
var fetchXml = @"<fetch mapping='logical'><entity name='annotation'><attribute name='filename' /><filter><condition attribute='objectid' operator='in'>"+"<value>" + recordGuids + "</value>" +"</condition>"+"</filter>"+"</entity>"+"</fetch>";
when i debug and check the query, that was something like this( which is wrong query ).
<fetch mapping='logical'><entity name='annotation'><attribute name='filename' /><filter><condition attribute='objectid' operator='in'>
<value>System.String[]</value>
</condition>
</filter>
</entity>
</fetch>
can anyone give me an idea to retrieve set of records by using condition operator "in" by passing string array.
Thanks and Regards. Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.