Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I'm developing a custom SharePoint 2013 Site Definition that will include some custom masterpages, custom page layouts, some content types, a set of WebParts … in this this template I was asked to activate some features, deactivate some unused settings which has been done successfully using Onet.xml but the problem, I was asked to disable some unused apps like (Form Library, Access App , External List, Asset Library) and unfortunately, I’m getting stuck, I tried to do it in the main feature event receiver using (web.Features.Remove), but it’s generating a lot of error message when I try to create site collection using this site definition.

Any help will be appreciated

Thanks
Posted
Updated 17-Apr-15 3:57am
v2

1 solution

Dont you have option in ONET.XML of that Site definition.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900