4 Replies Latest reply on Jan 5, 2011 5:04 AM by Harbs.

    deleting crossreferences when content is deleted

    thomas rollins

      in my workflow i need to delete some content, content that is crossreferenced later in a table. i'm stuck on how i can delete the crossreferences to this content if/when i delete the content. i can think of a few options, but yet, not sure how to implement them:

       

      a) if possible, on a save event, check the content and look for dead crossreferences and delete

      b) create a script that needs to be run that does the above

      c) when content is deleted, the cross reference is also deleted

       

      one of a) or c) would be preferable as it would be automatic, though i'm not yet sure how to go about it. could anyone give me pointers please?

       

      thanks