Adding entry to web.config

Apr 8, 2008 at 8:25 AM
Hi,
As part of wsp, i have customsitemap provider, during the installation is it possible to create an entry in web.config inside <sitemap> <providers> ???
Coordinator
Apr 11, 2008 at 12:18 PM
Hi

You need to create a feature to modify a web.config.
The class to use is: SPWebConfigModification

There a many hits on google and this is one of them.

http://oricode.wordpress.com/2008/03/05/spwebconfigmodification-configure-applicationsettings-with-a-feature/




maraja wrote:
Hi,
As part of wsp, i have customsitemap provider, during the installation is it possible to create an entry in web.config inside <sitemap> <providers> ???