Which approach should you take?

You are designing a solution that includes a custom list on a SharePoint 2010 site. You need to design the
solution to meet the following requirements:
The solution needs to add customized files to the site as part of the list provisioning.
.The list should only be provisioned in the sites of the site collection where it is specifically needed.
.The files must no longer remain provisioned in the site if the custom list is removed.
Which approach should you take?

You are designing a solution that includes a custom list on a SharePoint 2010 site. You need to design the
solution to meet the following requirements:
The solution needs to add customized files to the site as part of the list provisioning.
.The list should only be provisioned in the sites of the site collection where it is specifically needed.
.The files must no longer remain provisioned in the site if the custom list is removed.
Which approach should you take?

A.
Design a custom list. Implement list event receivers to add the custom files to the bin directory of the Web application.

B.
Design a custom feature solution. Implement feature event receivers on the Activate action to add files to the site.

C.
Design a custom feature solution. Implement feature event receivers on these two actions:
�Install action to add files
�Uninstall action to delete the files that were added during installation of the feature

D.
Design a custom feature solution. Implement feature event receivers on these two actions:
�Activate action to add the files
�Deactivate action to delete the files that were added during activation of the feature



Leave a Reply 1

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