Creating a Event in code

Posted by Community Admin on 05-Aug-2018 19:27

Creating a Event in code

All Replies

Posted by Community Admin on 16-Jun-2012 00:00

Does anyone have any sample code of a URL that gives an example of how to create an Event item (the content type, like a news, blog, event, etc...) through code? C# preferably.

I see that I can get Sitefinity to tell me how to create a custom module item but not one of the built-in items... like an event...

Posted by Community Admin on 16-Jun-2012 00:00

Telerik has done a pretty good job providing these type of examples in the Sitefinity Documentation. Here's creating an event:  http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/events/creating-events

Posted by Community Admin on 17-Jun-2012 00:00

Perfect! Thanks Mark. I kept googling that and all I got was a bunch of pages about event handlers in Sitefinity.

Worked like a charm

This thread is closed