Custom module types triggers and payload
Custom module type is published
TriggerKey: modulebuilder:telerik.sitefinity.dynamictypes.model.mycustommodule.mycustommoduletype:published
Event type: Telerik.Sitefinity.Data.Events.IDataEvent
Payload:
JSON
{
"Name": "My custom module type is published",
"Item": {
"Id": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"LastModified": "2021-04-20T14:27:50+00:00",
"PublicationDate": "2021-04-20T14:27:50+00:00",
"DateCreated": "2021-04-20T14:27:50+00:00",
"IncludeInSitemap": true,
"UrlName": "item-1",
"Title": "Item 1",
"Provider": "OpenAccessProvider"
},
"OriginalEvent": {
"UserId": "1876b9f0-ba72-423f-9966-f06a9dc9e69f",
"CreationDate": "2021-04-20T14:27:50.7191858Z",
"ModificationDate": "2021-04-20T14:27:50.7191858Z",
"Origin": null,
"Action": "New",
"ItemId": "0f454ddf-e19e-4321-af06-494d50d5f496",
"ItemType": "Telerik.Sitefinity.DynamicTypes.Model.MyCustomModule.MyCustomModuleType",
"ProviderName": "OpenAccessProvider",
"Status": "Live",
"Visible": true,
"OriginalContentId": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"ApprovalWorkflowState": "Published",
"Language": null,
"ChangedProperties": {},
"RecycleBinAction": 0,
"AffectedLanguages": [],
"WithParent": false
},
"OriginalEventType": "Telerik.Sitefinity.DynamicModules.Events.DynamicContentCreatedEvent"
}
Custom module type is unpublished
TriggerKey: modulebuilder:telerik.sitefinity.dynamictypes.model.mycustommodule.mycustommoduletype:unpublished
Event type: Telerik.Sitefinity.Data.Events.IDataEvent
Payload:
JSON
{
"Name": "My custom module type is unpublished",
"Item": {
"Id": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"LastModified": "2021-04-20T14:32:07+00:00",
"PublicationDate": "2021-04-20T14:27:50+00:00",
"DateCreated": "2021-04-20T14:27:50+00:00",
"IncludeInSitemap": true,
"UrlName": "item-1",
"Title": "Item 1",
"Provider": "OpenAccessProvider"
},
"OriginalEvent": {
"UserId": "1876b9f0-ba72-423f-9966-f06a9dc9e69f",
"CreationDate": "2021-04-20T14:27:50.747Z",
"ModificationDate": "2021-04-20T14:27:50.747Z",
"Origin": null,
"Action": "Updated",
"ItemId": "0f454ddf-e19e-4321-af06-494d50d5f496",
"ItemType": "Telerik.Sitefinity.DynamicTypes.Model.MyCustomModule.MyCustomModuleType",
"ProviderName": "OpenAccessProvider",
"Status": "Live",
"Visible": false,
"OriginalContentId": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"ApprovalWorkflowState": "Unpublished",
"Language": null,
"ChangedProperties": {
"Visible": {
"PropertyName": "Visible",
"OldValue": true,
"NewValue": false
}
},
"RecycleBinAction": 0,
"AffectedLanguages": [],
"WithParent": false
},
"OriginalEventType": "Telerik.Sitefinity.DynamicModules.Events.DynamicContentUpdatedEvent"
}
Custom module type is deleted (moved to recycle bin)
TriggerKey: modulebuilder:telerik.sitefinity.dynamictypes.model.mycustommodule.mycustommoduletype:deleted
Event type: Telerik.Sitefinity.Data.Events.IDataEvent
Payload:
JSON
{
"Name": "My custom module type is deleted",
"Item": {
"Id": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"LastModified": "2021-04-20T14:35:19+00:00",
"PublicationDate": "2021-04-20T14:27:50+00:00",
"DateCreated": "2021-04-20T14:27:50+00:00",
"IncludeInSitemap": true,
"UrlName": "item-1",
"Title": "Item 1",
"Provider": "OpenAccessProvider"
},
"OriginalEvent": {
"UserId": "1876b9f0-ba72-423f-9966-f06a9dc9e69f",
"DeletionDate": "2021-04-20T14:32:07.043Z",
"Origin": null,
"Action": "Deleted",
"ItemId": "0f454ddf-e19e-4321-af06-494d50d5f496",
"ItemType": "Telerik.Sitefinity.DynamicTypes.Model.MyCustomModule.MyCustomModuleType",
"ProviderName": "OpenAccessProvider",
"Status": "Live",
"Visible": false,
"OriginalContentId": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"ApprovalWorkflowState": "Published",
"Language": null,
"ChangedProperties": {},
"RecycleBinAction": 1,
"AffectedLanguages": [],
"WithParent": false
},
"OriginalEventType": "Telerik.Sitefinity.DynamicModules.Events.DynamicContentDeletedEvent"
}
Custom module type is deleted (permanently deleted)
TriggerKey: modulebuilder:telerik.sitefinity.dynamictypes.model.mycustommodule.mycustommoduletype:deleted
Event type: Telerik.Sitefinity.Data.Events.IDataEvent
Payload:
JSON
{
"Name": "My custom module type is deleted",
"Item": null,
"OriginalEvent": {
"ApprovalWorkflowState": "Published",
"ItemType": "Telerik.Sitefinity.DynamicTypes.Model.MyCustomModule.MyCustomModuleType",
"Status": "Live",
"Action": "Deleted",
"UserId": "1876b9f0-ba72-423f-9966-f06a9dc9e69f",
"DeletionDate": "2021-04-20T14:35:19.213Z",
"Origin": null,
"ItemId": "0f454ddf-e19e-4321-af06-494d50d5f496",
"ProviderName": "OpenAccessProvider",
"Visible": false,
"OriginalContentId": "3d258e17-7e8d-4217-8421-7b16b26910e5",
"Language": null,
"ChangedProperties": {},
"RecycleBinAction": 2,
"AffectedLanguages": [],
"WithParent": false
},
"OriginalEventType": "Telerik.Sitefinity.DynamicModules.Events.DynamicContentDeletedEvent"
}
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.