Oops, so embarrassing! I didn't mean to send this to all of OzMoss sorry. You must agree though. Thanks a lot Clayton for being active on this list. I'm a bit biased though as we work together J
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Daunt Sent: Thursday, 20 December 2007 6:22 AM To: listserver@ozMOSS.com Subject: RE: [OzMOSS] You can't have a hidden feature with an activation dependency? Hi Clayton, You on fire with the OzMoss stuff. Good work! That's a really good thing to do to get visibility for MVP etc. Do you do anything with the news groups? Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clayton James Sent: Thursday, 20 December 2007 12:34 AM To: listserver@ozMOSS.com Subject: RE: [OzMOSS] You can't have a hidden feature with an activation dependency? Hi Bill You can create a feature receiver class that contains code when a feature gets: * Installed * Activated * DeActivated * UnInstalled You can do this by writing code in a class that inherits from SPFeatureReceiver base class and override the following methods: * FeatureInstalled * FeatureActivated * FeatureDeactivating * FeatureUninstalling http://msdn2.microsoft.com/en-us/library/ms469501.aspx Using the object model you can activate/deactivate a feature, but you cannot install/uninstall a feature (as far as I am aware). If this was required then in the FeatureActivated event you could write code that runs a .cmd/.bat file that copies the feature and its associated files to the TEMPLATE\FEATURES directory to install (and activate) the feature. Clayton James Data Cogs Information Technology ________________________________ From: [EMAIL PROTECTED] on behalf of Ishai Sagi Sent: Fri 14/12/2007 4:48 PM To: listserver@ozMOSS.com Subject: RE: [OzMOSS] You can't have a hidden feature with an activation dependency? Maybe use featureactived event? ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Bill Williamson [EMAIL PROTECTED] Sent: Friday, 14 December 2007 4:34 PM To: listserver@ozmoss.com Subject: [OzMOSS] You can't have a hidden feature with an activation dependency? -Create a hidden feature which creates a list -Install feature -Create a hidden feature which depends on the above hidden feature, and creates an item in that list -Attempt to install the second feature "Hidden features with activation dependencies are not supported." You can't be serious... is there NO way around this? ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 17/12/2007 02:13 PM ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net