-
PnP.Core 1.7.0Hello I'm not sure if this is the problem or if I'm just using this method incorrectly. But i need call method LoadItemsByCamlQueryAsync several times and i in second time i got result what i have got in 1st call.
So what i am doing its:
Expectation: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@necik11 : this is expected behavior. When you use a "Load" method we'll load the data into the in memory |
Beta Was this translation helpful? Give feedback.
@necik11 : this is expected behavior. When you use a "Load" method we'll load the data into the in memory
PnPContext
object, for example if you need paging then each page is requested and added so that at the end you've a complete set of rows. If you don't want that behavior the simplest solution is to clear the loaded items before the next invocation ofLoadItemsByCamlQuery
as is shown in here: https://pnp.github.io/pnpcore/using-the-sdk/listitems-intro.html#using-paging-with-loaditemsbycamlquery