New answers tagged provisioning
Remove "Lists/" from your module's Url parameter. <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module RootWebOnly="FALSE" Name="Templates" Url="ActivityReports/Templates" Path="Templates"> <File Url="Template1.xlsx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE" /> <File Url="Template2.xlsx" ...
It's not possible to create site collection scoped event receivers. What you need is "Feature Stapling". You can connect a site or web scoped feature to a certain site template. So in your case you create a site scoped feature that contains the code to manipulate the home page of the root web. If you also want to activate that kind of modifications on all ...
I think you create an event receiver scoped to Web Events and fire it when A Site is being provisioned and A site was provisioned. How to Attach an Event Receiver to the Web Added Event And For What Purpose How to: Programmatically Activate a Feature
Have you tried using Get-SPODeletedSite, and if you found anything there run the Remove-SPODeletedSite? This should surely remove any deleted site making the URL available for a new site. But there may still be references which needs to be removed by a Timer Job. These timer jobs are unfortunately inaccessible to us, and I usually wait to the next hour ...
Top 50 recent answers are included