locked
Deleting all items from a Thing Typo section RRS feed

  • Question

  • Make a mistake while creating items for Allergy.

    The loop went on an infinite NewItem process.

    is there any easy way to delete all items from a Thing Type section?

    Thanks,
    Gary
    Friday, October 23, 2009 2:57 AM

Answers

  • Hello Gary,

    I would suggest, you could do it in either of the two ways listed below:

    1. Go to healthvault ppe shell and delete the selected items for a Thing Type.
    2. If you want to delete the items programatically, first fet the items from the Record and then you can delete them by calling RemoveItem method like
    PersonInfo.SelectedRecord.RemoveItem(allergy);
    -Mahesh
    Friday, October 23, 2009 4:41 PM