Delete a related Dynamic Content Item automatically, when the other related Dynamic Content Item is deleted. - Front- & Back-End Development - Front- & Back-End Development - Progress Community

Delete a related Dynamic Content Item automatically, when the other related Dynamic Content Item is deleted.

 Front- & Back-End Development

Delete a related Dynamic Content Item automatically, when the other related Dynamic Content Item is deleted.

  • Delete a related Dynamic Content Item automatically, when the other related Dynamic Content Item is deleted.
  • Hello,

    Using this blog
     www.sitefinity.com/.../updating-sitefinity-related-dynamic-content-items-when-changes-are-made

    I was able to automatically create and add related content items. I would like to know if deletion is possible using the IDynamicContentDeletedEvent however, the information of the dynamic content item is not available in this event unlike IDynamicContentCreatedEvent and IDynamicContentUpdatedEvent.

    Is there some other way of doing this? I would appreciate some help on help. 

    Thank you for your time.
    Regards,
    Mohan
  • Hello,

    Using this blog
     www.sitefinity.com/.../updating-sitefinity-related-dynamic-content-items-when-changes-are-made

    I was able to automatically create and add related content items. I would like to know if deletion is possible using the IDynamicContentDeletedEvent however, the information of the dynamic content item is not available in this event unlike IDynamicContentCreatedEvent and IDynamicContentUpdatedEvent.

    Is there some other way of doing this? Even if I could get the ID of the deleted dynamic content item as in the case of triggers, it would be great.

    I would appreciate some help on this. 

    Thank you for your time.
    Regards,
    Mohan