A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hi all,
I am writing some code where I need to update, delete and create a large number of pages programmatically. We are talking about up to 10000 pages in total. The pages are scattered around the page tree, so I am not able to use for instance "DeleteChildren".
Are there any specific things to think about when doing stuff like this. Right now I am feeling that the process is pretty slow, for instance, it takes about a second per page to do a DataFactory.Delete.
Tips are greatly appreciated.
Best regards.
Emil