This functionality- Simply awesome! If you have governance
already setup in your organization then everybody will talk about this feature
implementation.
Once you select the proper web application from the drop-down then it will be applicable for all the site collections that nested underneath.
This is really a good feature which reduces the storage
management task if the site is not being utilized and kept idle for long
duration. We can control the number of notifications to be send across (by
default is 28) and time duration is 90 days. If the site remains idle for 90
days then the timer job will start sending notifications to the site collection
administrators on daily basis, until & unless the site collection administrator
clicks on the confirmation link.
How
to implement this / from where we can enable this functionality?
Here are the complete details:-
1. Open
the Central Administration
2. Application
management
3. Under
Site Collections
4. Confirm
site use and deletion
We can implement this functionality web application wise, hmm
what is meant by web application wise? Is this something will be applicable at
the web application level or site collection level? Does this functionality enable
the access to web app level?
So much curiosity and excitement is there to know the
answer-correct? Me too were having the same before I explored all the things J
Please refer the following screenshot-
Once you select the proper web application from the drop-down then it will be applicable for all the site collections that nested underneath.
Which
things are important before applying these settings?
Basically there are two check boxes-
1. Email
notifications
2. Deletions
Let’s talk about Email notifications:
a) Time span-
By default it is 90 days but if you think this is less time frame for the
owners (think from the governance perspective) then you can adjust this window
for suppose 5 months / 6 months i.e. 180 days.
b) When you
will get the email from the SharePoint system that please confirm the usage then
please don’t ignore by considering that you will get the next reminder email.
You need to click on the link which talks about confirmation.
c) Let me
tell you one interesting thing about these emails- customizations. Yes
you got it correct; you can customize this email as per your organization
requirements. The location is- C:\Program
Files\Common Files\Microsoft Shared\Web Server
Extensions\14\TEMPLATE\1033\XML\DEADWEB.xml
Note: Please take the backup of
this file before making any kind of changes.
d)
There is one more possibility that
initially there might be large numbers of email floating around (on the
first-go only) when the timer job gets execute for the first time as we have
experienced this behavior.
Let’s talk about Deletions now:
I.
Be careful on this- Once the site gets deleted then it won’t go
to Recycle Bin. Most of the people are having the misconception that just like
windows/SP end user recycle bin, this site will also go to the same place but
it’s not like that. It will be completely removed from the database also.
II.
Don’t worry about the sub sites as if gets deleted then you can
recover them from the second stage recycle bin but this funda is not applicable
for site collections.
Note: In case of any issue or
large number of emails floated around then also please don’t modify the database
numbers as it is completely not supported.
Let’s talk about behind the scene
functionality:
Site use confirmation and deletion
functionality is basically depends on three main factors / database parameters:
1)
DeadWebNotifyCount
2)
CertificationDate
3)
LastContentChange
More Information- http://technet.microsoft.com/en-us/library/ff631154(v=office.14).aspx
Common FAQ’s:
1) Can we disable this functionality once we
enable it? – Yes, you can disable this functionality anytime by the same
steps as-
·
Central Administration > Application Management > Site Use
Confirmation and Deletion
·
Uncheck the "Send e-mail notifications to owners of unused
site collections” check box for the web app these sits are under.
·
Verify the "Dead Site Delete" is 'disabled'
2)
Can we
implement this functionality without deleting the site? –
Yes, when you turn on / enable the functionality in Central Admin then don’t select
the check box which says – “Automatically delete the site collection if use is
not confirmed”
3) When exactly the email will trigger? - The
Confirmation and Deletion functionality will e-mail the site owner when the
site goes unused for a period of time.
4)
When
exactly the site will be deleted? - If there is no response after
a certain number of notifications by logging in to the site then you can choose
to have the site deleted automatically.
5) Is there any SharePoint job plays a vital
role in this functionality? – Yes, that’s correct. Under
Operations> Timer Job Definitions > Dead Site Delete" for all web
applications (You will see this job only when you enable the functionality)
I hope the above mentioned information will be helpful to
understand this useful functionality.
In case of any queries/questions then please let me know. I
would be more than happy to help you as well as resolves your issues, Thank
you.
Nice information Amol - Thank you
ReplyDeleteExcellent piece of info! I just can't stop myself reading this article again & again, Great Job Amol!
ReplyDeletehi, unfortunately you are not allowed to query the Content databases directly.
ReplyDeleteThis shows that you don't have a appropriate rights to execute the command. Please get in touch with your SQL Team / DBA to get this done. Thanks
DeleteHi, nice article. I have though one question, which might be important for somebody else as well. There are 2 links in the deadweb.xml file (href="|0">|0 and href="|1">|1), which link to confirmation page and to site settings page.
ReplyDeleteMy question is, is it possible to add a third link (or just a label) that will grab sites name and insert it in the email? I have tried to search for this, but could not find any answer so far.
Regards,
Igor
I haven't tried this till todays date but i will check it out and let you know. Thank!
DeleteThanks for a quick reply! It is a nice feature, but users get often confused, because site name is not mentioned in the confirmation email and URL is not always the same as site's name/title.
DeleteI'm also looking for a solution that will add the Site Title (Name) to the email that is send out...
ReplyDelete