Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
We are working on an automatic migration system, which creates many pages automatically. It would be great if all these IContentRepository calls could be done in a single transaction, but if I open a TransactionScope over all the operations, I get the following error on the second API call:
System.Transactions.TransactionException: 'The operation is not valid for the state of the transaction.'
CMS ConnectionContext seems to be an internal API, so I cannot use that one.
Is it possible to use transactions over the Content API?
Regards,
Zsolt