This is a migrated thread and some comments may be shown as answers.

Deploy the solution with activated features

4 Answers 98 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Guillaume
Top achievements
Rank 1
Guillaume asked on 27 Sep 2007, 01:02 PM
Hi,

I will use RadEditor for quite a large collection site. I have no problem to install and deploy the solution, but the feature's scope is site level which means that i'll have to go on every website to activate the feature. I was wondering if there were anything I could modify in the wsp or somewhere else to have the features activated by default.

Thanks,

Guillaume.

4 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 28 Sep 2007, 07:21 AM
Hello Guillaume,

Several customers have complained about this problem so we decided to address it in the next editor for MOSS update. Currently, the editor only checks the current site to see if the features are active. We will change it so i also checks the site collection features. This means that you will be able to change the features scope to be the site collection and activate them for all sites at once.

I think this will be a good solution in your case.

Best wishes,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Guillaume
Top achievements
Rank 1
answered on 02 Oct 2007, 12:33 PM
Thank you for your reply,

Now that the solution is deployed and the feature activated on each website i was wondering how I could enable this feature by default on every new website being created. I ve tried to modify site definitions to include the feature but it doesn t seem to work because only an administrator can activate this feature where some users can create websites. Any solution ?
0
Guillaume
Top achievements
Rank 1
answered on 02 Oct 2007, 12:33 PM
Thank you for your reply,

Now that the solution is deployed and the feature activated on each website i was wondering how I could enable this feature by default on every new website being created. I ve tried to modify site definitions to include the feature but it doesn t seem to work because only an administrator can activate this feature where some users can create websites. Any solution ?
0
Lini
Telerik team
answered on 03 Oct 2007, 01:44 PM
Hi,

It is not possible to have our feature activate when you create a new web. There is a feature attribute called ActivateOnDefault, but unfortunately it does not apply to site or web scoped features. However, if you have an active RadEditor feature in the Site Collection and you create new web sites (e.g. a new personal site for a user) then the editor should be active in those new sites as well. This means that the proposed workaround in my last message (changing the scope of the RadEditor feature) should do the job in your case.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
Guillaume
Top achievements
Rank 1
Answers by
Lini
Telerik team
Guillaume
Top achievements
Rank 1
Share this question
or