Get List items by using Sharepoint

Hello. I am having trouble creating a CAML query that selects/filters to just one or a couple of the columns in the sharepoint List. Could anyone please provide an example of how they did this in UiPath?

Thanks

You can use the ViewFields Element in your query like this:

<Query>
...
<ViewFields>
    <FieldRef Name="ID"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
</ViewFields>
...
</Query>