Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
When is this code being executed? Try calling your block of code when the content is being created.
context.Locate.ContentEvents().CreatingContent += CreatingContent;
This is what my test code looks like:
And the error I get: