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 use?
You create a Feature receiver.
You need to hide the Quick Launch navigation bar of a SharePoint site.
What should you use?
What should you configure?
You have a SharePoint site that contains 10 lists.
You need to prevent a list named List1 from appearing on the Quick Launch navigation bar.
What should you configure?
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?
Which code segment should you add to the Custom Action node of the Elements.xml file?
You plan to add a custom tab to the Ribbon in a SharePoint Web application.
You create a custom Feature that contains an Elements.xml file.
You need to ensure that the custom tab only appears in the document libraries of the Web application.
Which code segment should you add to the Custom Action node of the Elements.xml file?
What should you do?
You are creating an application page that will open a dialog box.
The dialog box uses a custom master page. You write the following code segment. (Line numbers are included for reference only.)
01 <script type=”text/javascript”>
02 function DialogCallback(dialogResult, returnValue)
03 {
04 }
05 function OpenEditDialog(id)
06 {
07 var options = {
08 url:”http://intranet/_layouts/MsgToShow.aspx,
09 width: 300,
10 height: 300,
11 dialogReturnValueCallback: DialogCallback
12 };
13 SP.UI.ModalDialog.showModalDialog(options);
14 }
15 </script>
You need to ensure that the code opens the dialog box.
What should you do?
Which namespace should you use?
You are developing an application page.
You need to create a pop-up window that uses the ECMAScript object model.
Which namespace should you use?
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 use?
You create a modal dialog that displays a list of items.
You need to capture the items selected by a user.
Which code segment should you use?
What should you do?
You have a Web page named ShowMessage.aspx.
You create a new Web page.
You need to display the content from ShowMessage.aspx in an IFRAME on the new Web page. You must achieve this goal by using the minimum amount of effort.
What should you do?