Which approach should you recommend?

You are designing a SharePoint 2010 intranet site at your company. The accounting
department has designed a SharePoint list. They need this list to be included in any new
site that is created by using the Team Site site definition provided by SharePoint. A feature
has been created that provisions the list in a site. You need to satisfy the request from the
accounting department, while reducing the risk that future SharePoint service pack updates
will impact your solution. Which approach should you recommend?

You are designing a SharePoint 2010 intranet site at your company. The accounting
department has designed a SharePoint list. They need this list to be included in any new
site that is created by using the Team Site site definition provided by SharePoint. A feature
has been created that provisions the list in a site. You need to satisfy the request from the
accounting department, while reducing the risk that future SharePoint service pack updates
will impact your solution. Which approach should you recommend?

A.
Create an event handler and register it with the WebProvisioned event. Activate the
feature in the event handler.

B.
Create an event handler and register it with the WebAdding event. Activate the feature in
the event handler.

C.
Modify the Team Site onet.xml file. Add the feature to the WebFeatures element in the
onet.xml file

D.
Modify the Team Site onet.xml file. Add the feature to the SiteFeatures element in the
onet.xml file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *