Which type of element should you use?
You create a Feature.
You need to add an item to the context menu of a list.
Which type of element should you use?
What should you do?
You have one Web application that contains several SharePoint site collections.
You need to create a Feature that adds a custom button to the Documents tab on the Ribbon of one site collection only.
What should you do?
What should you use?
You need to add a modal dialog box to a SharePoint application.
What should you use?
Which code segment should you add at line 04?
You need to disable the CriticalExceptionCount measure for all user solutions.
You write the following code segment. (Line numbers are included for reference only.)
01 SPUserCodeService userCode = SPUserCodeService.Local;
02 SPResourceMeasureCollection measures = userCode.ResourceMeasures;
03 SPResourceMeasure measure = measures[“CriticalExceptionCount”];
04
05 measure.Update();
Which code segment should you add at line 04?
What should you do?
You need to create a custom content type and specify the content type ID.
What should you do?
Which class should you use in FeatureReceiver1?
You have a Web application named WebApp1.
You have a Feature receiver named FeatureReceiver1. FeatureReceiver1 stores a connection string in the web.config file of WebApp1.
You need to ensure that when FeatureReceiver1 makes configuration changes to web.config, the changes are automatically replicated to all Web servers in the farm.
Which class should you use in FeatureReceiver1?
Which element should you configure in the Feature definition file?
You have a Feature that contains an image named ImageV1.png.
You plan to create a new version of the Feature.
You need to ensure that when the Feature is upgraded, the image is renamed as ImageV2.png. You must achieve this goal by using the minimum amount of development effort.
Which element should you configure in the Feature definition file?
Which class should you use in FeatureReceiver1?
You have a Web application named WebApp1.
You have a Feature receiver named FeatureReceiver1. FeatureReceiver1 stores a connection string in the web.config file of WebApp1.
You need to ensure that when FeatureReceiver1 makes configuration changes to web.config, the changes are automatically replicated to all Web servers in the farm.
Which class should you use in FeatureReceiver1?
What should you use?
You need to add a new field to a provisioned content type.
You must propagate the field to child lists and child content types.
What should you use?
What should you create?
You are developing a Feature that will be used in multiple languages.
You need to ensure that users view the Feature’s title and description in the display language of their choice.
What should you create?