I want to sort column alphabetically from the SharePoint list's column on InfoPath form drop-down, on the basis of two fields on form load. I am trying to call the SOAP web service on InfoPath form data connection by http://sharepoint.dev.com/_vti_bin/Lists.asmx?

On list name I have applied the list name, on the view name I have added the lists correlation id. What should be the other remaining parameter(query, viewFields, rowLimit, queryOptions, and Web Id) and How I can pass the parameter in sample column in this? enter image description here

1 Answer 1


query,viewfields,rowLimit is the same as CAML Query parameter, Web Id is the current web Id and can be leave as empty, you could refer the parameter set in the sample below which call lists.asmx in C#:

SharePoint List Web Service GetListItems

  • I am adding the CAML query but it returning me below Commented Jul 11, 2019 at 12:00
  • can't see the detailed information, could you please repost ?
    – Jerry
    Commented Jul 12, 2019 at 0:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.