Thursday, September 21, 2006
Finding the relevant web.config in a MOSS environment
In the process of attempting to write a web-part for MOSS I was attempting to find the web.config in order to register the control as safe. To find the web.config, go to IIS manager, right click on the SharePoint web application, choose properties, then click on the Home Directory tab. You should see a path which goes something like wss\{GUID}. If you paste that into an explorer window, you should see the relevant web.config in the resulting directory...
Tuesday, September 19, 2006
MOSS Site Definitions and FeatureReceivers
It appears that the FeatureReceiver (FeatureActivited) method does not get called when a site is created if a List feature is referenced in the Site Definition.
I built a list feature with an associated FeatureReceiver assembly, and then referenced it in the site defintion. When a site was created, based on the def, the receiver was not called. However, manually activating the feature through the UI caused the method to fire...
I built a list feature with an associated FeatureReceiver assembly, and then referenced it in the site defintion. When a site was created, based on the def, the receiver was not called. However, manually activating the feature through the UI caused the method to fire...
Wednesday, September 13, 2006
Working with WSSv3 Lists and Features
Some initial findings from working with Site Definitions and Features
- If you create a list definition as a feature, and reference it within a site definition, you need to manually install the feature using stsadm before it will work
- Updates to the schema.xml file for a list definition within a feature will reflect automatically after an IISRESET without having to re-install the feature
Subscribe to:
Posts (Atom)
Feedburner RSS