Forum Discussion

tobiasfrajka's avatar
tobiasfrajka
Copper Contributor
Sep 05, 2024

Including / expanding file on ListItem with CAML query

Hi everyone,

Is there a way to expand or include properties of File on ListItem?

Im working with fairly large list and returning ListItem List in C#. Im retrieving these items using CAML queries and right now for testing purposes, I was loading the File properties (only CheckOutType and LinkingUrl) in separate foreach cycle after returning all ListItems.

But that takes significant amount of time, because i have to have multiple ExecuteQuery beacuse of query size.
Thats why I would like to move the loading of properties to the main CAML query - or maybe there is another way of how i can get to these 2 parameters?

Thank you everyone

No RepliesBe the first to reply

Resources