4

I have a custom page and want deploy it into the pages library of the site using a feature in SharePoint 2007. Whenever the activated the page should added into the pages library and should removed on the feature deactivation event.

1 Answer 1

4

You want to read up on the Module element of a Feature to do this.

http://blogit.create.pt/blogs/andrevala/archive/2009/01/10/SharePoint-2007-Deployment_3A00_-Module-Features.aspx

I should also add that you will need a Feature Receiver if you want to remove the file from the library upon Feature Deactivation. Here's how.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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