+1-888-365-2779
Try Now
More in this section

Forums / Module Builder / 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.

2 posts, 0 answered
  1. Mohanakrishnakumar
    Mohanakrishnakumar avatar
    6 posts
    Registered:
    14 May 2013
    14 Aug 2013
    Link to this post
    Hello,

    Using this blog
     http://www.sitefinity.com/blogs/stoimen-stoimenovs-blog/2013/06/25/updating-sitefinity-related-dynamic-content-items-when-changes-are-made?utm_source=twitter&utm_medium=sm&utm_campaign=sm_t_blog

    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
  2. Mohanakrishnakumar
    Mohanakrishnakumar avatar
    6 posts
    Registered:
    14 May 2013
    15 Aug 2013 in reply to Mohanakrishnakumar
    Link to this post
    Hello,

    Using this blog
     http://www.sitefinity.com/blogs/stoimen-stoimenovs-blog/2013/06/25/updating-sitefinity-related-dynamic-content-items-when-changes-are-made?utm_source=twitter&utm_medium=sm&utm_campaign=sm_t_blog

    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
2 posts, 0 answered