How to clone loaded lists with PnPContext? #1388
Unanswered
heinrich-ulbricht
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@heinrich-ulbricht : cloning of a loaded list technically is possible, but there's quite a lot of complexity involved. We today do some cloning alike things in |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I do a lot of context cloning. Partially out of historic reasons (had issue when not cloning, and cloning was the solution), partially when doing parallel calls that should not interfere with each other.
Now I need certain lists to be loaded in the
PnPContext
, e.g. the Site Pages library. It should be present in all clones and is currently loaded over and over again, since loaded lists are not cloned.I found this comment in the code:
But I would love the lists to be cloned.
My question is: is cloning loaded lists (e.g. Pages library) possible from a technical point of view? And since I have no clue how that would work: how would I start implementing that (architectural big picture)?
Beta Was this translation helpful? Give feedback.
All reactions