The SharePoint Guys

The blog of the SharePoint Guys from Microsoft Consulting Services, UK.

Browse by Tags

Tagged Content List
  • Blog Post: Quick Tip: Provisioning a List View to a Web Part Page

    Following on from my recent post ( Provisioning Web Parts to a Page ), I had a question asking how to do this for List Views. Below is a code sample showing how to do this… 1: <? xml version ="1.0" encoding ="utf-8" ? > 2: < Elements xmlns ="http://schemas.microsoft...
  • Blog Post: Deploying Files to the Root of a SharePoint Web Application

    I’ve recently been working on a project where a Silverlight App sitting on a separate url calls through to a WCF service hosted in SharePoint. For this to work, a “clientaccesspolicy.xml” file is required at the root of the SharePoint web application. This file will contain the following: 1: <? xml...
  • Blog Post: Quick Tip: Provisioning Web Parts to a Page

    When deploying a page to SharePoint through a Modules feature, there are several options adding web parts to this. These are as follows: Add the web parts to the page programmatically via a feature receiver. This approach can be done quickly and easily if you are familiar with coding, however if...
  • Blog Post: Quick Tip: Throwing SPExceptions

    Just a quick note for developers. If you want normal code execution to be terminated and want a useful message to be presented back to the end user on the SharePoint error page, throw an exception that either is of type SPException, or derives from type SPException. If this is done, the associated exception...
Page 1 of 1 (4 items)