Adventure Works uses SharePoint to store product and order information. Product managers visit the Products list to see the status of each product. They request a feature that will allow them to easily see the recent and old product orders without opening the Products list. The products orders page is located at /sitepages/productorders.aspx, and the product order history page is located at / sitespages/productordershistory.aspx. Both pages require a query string parameter named ProductID. You need to add custom actions to the Products list by using the least amount of administrative effort. What should you do?

A. Add an empty element to the SharePoint project. Add a tag, set the Location element to EditControlBlock, and then use the tag for a redirect to the custom page.
B. Create a Windows Application and add a reference to Microsoft.SharePoint.Portal.CustomActions.dll and use the SPCustomActions class to add a custom action.
C. Open the site in SharePoint Designer. Create a custom List Item Display Template and then apply it to the Products List View Web Part.
D. Create a visual Web Part. Use a grid view with a template column and hyperlink, and databind the Products list. Add the Web Part to the allItems.aspx page of

  Discussion forum


Leave an answer