SharePoint Developer Team Blog

Brought to you by Microsoft teams working on SharePoint developer content, Visual Studio tools, and of course the platform itself!

June, 2011

  • SharePoint Developer Team Blog

    Using jQuery Templates with SharePoint List Data

    • 2 Comments
    The new jQuery Templates plugin for the jQuery library offers a way to create data-driven HTML in client-side code.  The concept is similar to the idea behind ASP.NET templates only implemented on the client instead of on the server. A jQuery template is an HTML snippet with placeholders that identify fields in bound data. When the template renders on a page, the Templates plugin loops through the data and inserts field values where the placeholders indicate they should go. For a good getting-started article, see Introducing jQuery Templates .  For API documentation and example code, see Templates on the jQuery website . Both jQuery and the Templates plugin are powerful client-side tools for building user interfaces in SharePoint.  In this blog post, I walk through a short example that is written in JavaScript and deployed on a simple Content Editor Web Part. My example scarcely scratches the surface of what is possible with these tools, but it may give you a few ideas about...
  • SharePoint Developer Team Blog

    Resources for creating unit tests for SharePoint projects

    • 0 Comments
    As Saaid Khan mentioned in New SharePoint Developer Features in VS2010 SP1 – Unit Testing and IntelliTrace , you can create unit tests for projects that reference Microsoft.SharePoint.dll.  For the visually minded, Belgian SharePoint MVP Serge Luca has a demo at https://skydrive.live.com/?cid=e8a06d5f2f585013&sc=documents&ref=11&id=E8A06D5F2F585013%217980&sff=1 . You can also use the MSDN Library to help you along this path. For more information, Walkthrough: Verify SharePoint Code by Using Unit Tests . Alternatively, you can use Microsoft Pex and Moles to write isolated unit tests. For more information, see http://research.microsoft.com/en-us/projects/pex/pexsharepoint.pdf .
  • SharePoint Developer Team Blog

    PerformancePoint Services Architecture in SharePoint Server 2010

    • 0 Comments
    This diagram shows the high-level architecture of PerformancePoint Services in Microsoft SharePoint Server 2010 Enterprise. Its multi-tiered architecture includes components on the client tier, the front-end Web server, and the back-end application server. For more information, see PerformancePoint Services Architecture , Getting Started with PerformancePoint Services , and Fundamentals of PerformancePoint Services .
  • SharePoint Developer Team Blog

    Update User Personal Settings with the SharePoint Object Model (Guru Pratap Ketepalli)

    • 0 Comments
    Every user has his or her personal settings for a site collection. You can view these details by clicking the logged-in user link and then selecting My Settings . After My Settings is selected, you are redirected to display your personal information. SharePoint redirects userdisp.aspx to show user details in this form : http://sitecollection/_layouts/userdisp.aspx?Force=True&ID=XXX SharePoint stores user data in its “UserInfo” table in the Content DB of the site. When you navigate to : http://sitecollection/_layouts/people.aspx , it appears as a SharePoint list. These fields can be added or removed to suit the needs of an organization. If the User Profile service application is not enabled when you visit the site initially, your data is retrieved from the Active directory and stored in the content database "User Information List". Then the next time, the content database is searched for your information, and if found, it is then displayed. This information can be updated by...
  • SharePoint Developer Team Blog

    How to Open a List Form in a Modal Dialog Box

    • 3 Comments
    Among the many improvements to the user interface in SharePoint 2010, modal dialog boxes stand out. Odds are good that you will see one wherever a page transition would be distracting and it makes sense for you to remain in context. For example, when you are working with list items, the display, edit, and new forms each open in a modal dialog box such as the one shown in Figure 1. The background of the main page darkens, indicating that it is inactive. The dialog box that floats over the main page has input focus, and it does not release focus until it is closed. You cannot return to the main page until you deal with the dialog box.   Figure 1 – SharePoint 201 Modal Dialog Box Modal dialog boxes such as the one shown in Figure 1 are not created by calls to the window.showModalDialog method as you might expect. SharePoint modal dialog boxes are are not window objects. They are iframe objects, and they are  created by a client-side dialog framework that is new in SharePoint 2010...
  • SharePoint Developer Team Blog

    Dynamic Authorization for FBA based WCM Applications (Sanjay Arora)

    • 0 Comments
    Summary: Learn how to dynamically assign claims to users in a WCM application such as when the user authorization model is being fully driven through business logic. Applies to: Microsoft SharePoint Foundation 2010 | Microsoft SharePoint Server 2010 Contributors: Sanjay Arora, Pareshkumar Manjibhai Moradiya The security in Forms Based Authentication (FBA) based WCM Web Applications is generally implemented using one of the following approaches: The user is directly assigned to a SharePoint Security group(s) or through active directory groups, and then these Security Groups secure the content by using different permission levels. This approach requires that the administrator perform maintenance tasks to assign or un-assign users to or from the correct security group or active directory groups. The user is directly assigned to the content with different permission levels. Although not the best approach, it is still used occasionally. Another, rarely used, approach is to have specific roles...
  • SharePoint Developer Team Blog

    Dual Worker Process Model for Sandboxed Solutions

    • 0 Comments
    Note the following about this graphic: The User Code Service (SPUCHostService.exe) creates the sandbox worker processes and assigns each HTTP request to a sandboxed solution to one of these processes. A sandbox worker process (SPUCWorkerProcess.exe) is the process in which custom code that is a part of a sandboxed solution executes. A full trust proxy process (SPUCWorkerProcessProxy.exe) hosts the portion of the SharePoint object model that sandboxed solutions can access and enables second stage calls to the rest of the object model. For more information, see Sandboxed Solutions Architecture , Sandboxed Solutions ​, Sandboxed Solutions Execution Model , and Chapter 4: Sandboxed Solutions .
  • SharePoint Developer Team Blog

    Server Architecture Object Model Overview

    • 1 Comments
    The following diagram shows the SharePoint Foundation server architecture in relation to the collections and objects of the Microsoft.SharePoint.Administration namespace. The SPFarm object is the highest object within the SharePoint Foundation object model hierarchy. The Servers property gets a collection representing all the servers in the deployment, and the Services property gets a collection representing all the services. Each SPServer object represents a physical server computer. The ServiceInstances property provides access to the set of individual service instances that run on the individual computer. Each SPService object represents a logical service installed in the server farm. Derived types of the SPService class include, for example, objects for Windows services, such as the timer service, search, the database service, etc. and also objects for Web services, such as the basic content publishing Web service which supports the Web applications. An SPWebService object provides...
  • SharePoint Developer Team Blog

    Just Published: May 18-31 | 2010 SharePoint Dev Content (Beck Andros)

    • 0 Comments
    Your latest weekend reading list includes content about migrating managed metadata, changing authentication providers, and building effective workflows. Technical Articles · Migrating Managed Metadata in SharePoint Server 2010 Provided by: Scot Hillier | Review coordinator: Ken Milne | Editor: Kimberly Hope · Hiding Default Authentication Providers and Bypassing the Multi-Authentication Provider Selection Page in SharePoint 2010 Provided by: Steve Peschka | Review coordinator: Siew Moi Khor | Editor: Kimberly Hope · Building Effective Workflows Using SharePoint Server 2010 Provided by: Microsoft Corporation | Editor: Tonda Kiffin Developer Centers · Added SharePoint Developer Center content: o Redesigned the home page, added dynamic RSS headline set, added dynamic blog post set, updated Essential Resources, and added a list of Resource Centers to the right rail. o New ! SharePoint Developer Books Added a developer bookstore page for SharePoint 2010. o New ! SharePoint Quick Notes Created...
Page 1 of 1 (9 items)