Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I deployed page via module. Module is deployed via feature (method FeatureActivated). After that process page is deployed in content database.

What I need is to be able to delete (remove) page from database after feature deactivation (method FeatureDeactivating) For now, I can't see any page collection properties in my web to be able to get and delete my page from it. I assume that this is maybe possible to do via PowerShell or CA, but I need to do that from VS.

Please, any suggestion!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

I think you should check this:

Removing Provisioned Files from SharePoint During Feature Deactivation

share|improve this answer
    
Dobro misliš Vedrane :) This is solution for problem. Thank you! –  trip Sep 9 '11 at 13:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.