0

When interacting with Sharepoint 2013 or Sharepoint Online, is the use of camlQuery recommended? I've had to pick up some CSOM knowledge of late on the fly via C#. I am having some success with it, and using Linq to get at what I need. For example: List.RootFolder, GetListByName, RootFolder.FindFiles, etc.

Are there actions you must use camlQuery for? Is everything you need accessible via the object model? Thanks

1 Answer 1

1

caml query helpful when you need filter(complex filter logic) data. Query schema

You could use rest api to get data also.

pnp library become popular, it'll help you code less.

Also check below official guideline to choose right solution.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/choose-the-right-api-set-in-sharepoint

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.