What should you modify?
You have a SharePoint site that uses the default search settings. You create a new Search
Center. You need to ensure that the new Search Center is the default Search Center for the site.
What should you modify?
Which method type should you use?
You create an entity named Customer in a Business Connectivity Services (BCS) object mode.
You need to ensure that Customer data can be displayed in a Business Data List Web Part. —
Which method type should you use?
You need to ensure that each time the workflow starts, the three activities are linked to a single task
You plan to create a workflow that has the following three activities: CreateTask OnTaskChanged
CompleteTask You need to ensure that each time the workflow starts, the three activities are
linked to a single task. What should you do?
You need to ensure that the tasks assigned to User1 can only be viewed by User1
You develop a custom approval workflow. The workflow uses the CreateTask class to assign
tasks to a user named User1. A list called Tasks stores the tasks. Other workflows and users use
the Tasks list. You need to ensure that the tasks assigned to User1 can only be viewed by User1.
What should you do?
You need to ensure that when a new item is created in List1, WF1 starts automatically
You create a list named List1. You create two workflows named WF1 and WF2 for List1. You
need to ensure that when a new item is created in List1, WF1 starts automatically. WF2 must start
automatically after WF1 completes. What should you do?
Which code segments should you add at lines 07 and 08?
You have the following event receiver. (Line numbers are included for reference only.) 01 public
override void FieldDeleting(SPListEventProperties properties) 02 { 03
base.FieldDeleting(properties); 04 05 if (properties.FieldName == “Status”) 06 { 07 08 09 } 10 }
You need to cancel the operation and redirect the user to a custom error page if the name of the
deleted field is Status. Which code segments should you add at lines 07 and 08?
Which parent control should you use for Field1?
You create a custom page layout that has a field control named Field1. You need to ensure that
Field1 is only visible when users modify the contents of the page. Which parent control should you
use for Field1?
Which code segments should you add at lines 04 and 05?
You are creating an event receiver. The event receiver will have a field named Title and a field
named Priority. You write the following code segment for the event receiver. (Line numbers are
included for reference only.) 01 public override void ItemUpdating ( SPItemEventProperties prop)
02 { 03 base.ItemUpdating (prop); 04 05 06 } You need to ensure that when the Title field is
changed to include the word IMPORTANT, the Priority field is set to URGENT. Which code
segments should you add at lines 04 and 05?
What should you add to the schema of the action?
You are creating a custom workflow action to be used in Microsoft SharePoint Designer reusable
workflows. The action programmatically creates a SharePoint site named Site1 at a specific URL.
The workflow actions schema file contains the following code segment. < Workflowlnfo> <Actions
Sequential=”then” Parallel=”and”> <Action Name=”Create Sice” ClassName =”
SPDActivityDemo.Createsite ” Assembly=” SPDActivityDemo , Version=l.0.0.0, Culture=neutral,
PublicKeyToken= Ia4a7a2c3215a71b ” AppliesTo =”all” Category=”Test”> <Parameters>
<Parameter Name=”Url” Type=” System.String , mscorlib ” Direction=”Inr’ /> <Parameters>
</Action> </Actions> </ Workflowlnfo > You need to ensure that users can specify the URL
property of the action in SharePoint Designer. What should you add to the schema of the action?
Which code segment should you add to the application?
You need to create a custom application that provides users with the ability to create a managed
property. The managed property name must be specified in the args [1] parameter. You write the
following code segment for the application. 01 SPSite currentSite = new SPSite(“http://intranet”);
02 SearchContext context = SearchContext.GetContext(currentSite); 03 Schema schema = new
Schema(context); Which code segment should you add to the application?