By default, all the columns/fields in the SharePoint list am getting. I want to chose only few columns/fileds . Fied1, Field2, Field3 from SharePoint list. Should I build the CAML query for this? If so, how?
<Query> <Order By>
<FieldRef Name='Field1' />
<FieldRef Name='Field2' />
<FieldRef Name='Field3' />
</Order By> </Query>
When I put the above query againt to 'CamlQuery' in Advanced Editor for SharePoint List source, am getting this error - 'Error at Data Flow Task [SharePoint List Source]: The syntax for the CAML query provided is invalid XML.'