What should you do?
You are creating a custom site definition for a Microsoft Windows SharePoint Services site. You define a document library as a part of the custom site definition.
You need to set the default document type as a Microsoft Office Excel 2007 spreadsheet file for any new instances of the document library.
What should you do?
Which code segment should you use?
You create a records repository for a Microsoft Windows SharePoint Services farm.
You need to enable the Send To menu for a SharePoint site within the farm.
Which code segment should you use?
What are two possible ways to achieve this goal?
You create a Microsoft Windows SharePoint Services solution.
You need to deploy the solution files.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Which code segment should you use?
You are writing a program that will periodically display activity on a Microsoft Windows SharePoint Services site.
For each job, you need to display the time that the job will run next.
Which code segment should you use?
What should you do?
You create a Microsoft Windows SharePoint Services site that contains a content type named Proposal. The Proposal content type is applied to lists that are named within the site collection.
You need to update the Proposal content type to include a new column. You also need to ensure that the existing lists display the new column.
What should you do?
Which path should you use?
You create a new feature that contains shared resources. The new feature will be used within a site definition. You are manually deploying the feature on a Microsoft Windows SharePoint Services site.
You need to create a folder for the feature.
Which path should you use?
Which code segment should you insert at line 07?
You create a TimeTracking feature and install the feature on a Microsoft Windows SharePoint Services site.
You write the following code segment. (Line numbers are included for reference only.)
01 Public Class TimeTrackerEventReceiver Inherits SPFeatureReceiver
02
03 Public Sub NotifyUser(ByVal user As SPUser, ByVal featureName As String)
04
05 co de omitted
06 End Sub
07 …
08
You need to ensure that the site administrator is notified only when the TimeTracking feature is activated.
Which code segment should you insert at line 07?
What should you do?
You are creating a Microsoft Windows SharePoint Services application.
The application has the following two Web Parts:
* Web Part A, which implements the IRowProvider interface
* Web Part B, which implements the IParametersInConsumer interface
You need to ensure that Web Part B can receive data from Web Part A.
What should you do?
What should you do?
You have a Microsoft Windows SharePoint Services development server.
You create a Web Part that uses a strong-named assembly. You edit the Web.config file to add the Web Part as a fully trusted Web Part.
When you test the Web Part, an exception occurs. The exception states that the assembly security permission grant set is incompatible with the app domain.
You need to prevent the occurrence of the exception when you test the Web Part.
What should you do?
Which code segment should you use?
You are writing a program that will periodically display activity on a Microsoft Windows SharePoint Services site.
For each job, you need to display the time that the job will run next.
Which code segment should you use?