Which XML fragment should you add to the workflow definition schema?
You create a Microsoft Windows SharePoint Services site and a custom workflow definition. The workflow must be associated with a custom list.
You need to display a form named Workflow1.aspx to the site administrator when the site administrator associates the workflow with a custom list.
Which XML fragment should you add to the workflow definition schema?
Which two actions should you perform?
You have multiple document libraries that must use the same workflow.
You need to create the workflow. You also need to ensure that the workflow can be associated with multiple document libraries.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which code segment should you use?
You are creating a Microsoft Windows SharePoint Services site.
You need to add a new site column of type Choice to the site.
Which code segment should you use?
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?
Which code segment should you use?
You create a Microsoft Windows SharePoint Services site that contains a document library.
You need to check out the current version of each document in the root folder of the document library.
Which code segment should you use?
What should you do?
You create a Microsoft Windows SharePoint Services site that contains task lists.
You are creating a custom Search Web Part that displays the number of unassigned tasks on the site.
You need to retrieve a list of task items from within the Web Part for which the assignment field is empty.
What should you do?
Which code segment should you insert at line 03?
You create a Microsoft Windows SharePoint Services application. A SharePoint site has a list named MyList. You write the following code segment. (Line numbers are included for reference only.)
01 Dim site As SPWeb = SPControl.GetContextWeb(context)
02 Dim list As SPList = site.Lists(“MyList”)
03 …
You need to bind the list to a DataGrid control. You also need to ensure that all the fields in the list are available in the DataTable object.
Which code segment should you insert at line 03?
Which code segment should you insert at line 04?
You are creating a Microsoft Windows SharePoint Services application.
You write the following code segment. (Line numbers are included for reference only.)
01 Public Sub DownloadDocument ( ByVal web As SPWeb )
02 Dim docLib As SPDocumentLibrary = _
CType ( web.Lists (“shared Documents”), SPDocumentLibrary )
03 Const fil eShare As String = “C:\Download”
04 …
05 End Sub
You need to move each document to the C:\Download folder. You also need to remove each document from the document library.
Which code segment should you insert at line 04?
Which code segment should you insert at line 04?
You create a Microsoft Windows SharePoint Services list named Books. The list has a column named Stock that stores the total number of available books.
You write the following code segment. (Line numbers are included for reference only.)
01 Protected Overloads Overrides Sub CreateChildControls()
02 Dim myWeb As SPWeb = SPControl.GetContextWeb(Context)
03 Dim myList As SPList = my Web .Lists(“Books”)
04 …
05 Dim myGrid As DataGrid = New DataGrid
06 myGrid.DataSource = results
07 myGrid.DataBind
08 Me.Controls.Add(myGrid)
09 End Sub
You need to render a list of books for which the value in the Stock column is less than 100.
Which code segment should you insert at line 04?
Which code segment should you use?
You create an application for a Microsoft Windows SharePoint Services site.
You need to delete all list-scoped alerts that are assigned to a user.
Which code segment should you use?