Browse by Tags

Related Posts

  • Dynamically creating a Sharepoint Web-Service proxy instance

    In my current code, I find myself accessing many Sharepoint web services. In one run of code I can access 5-6 different web services on dozens of different sites, not necessarily even on the same server. Given that I find myself writing a lot of boilerplate code looking like this: using (SiteData siteDataWS...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 09-03-2007, 12:00 AM
    Filed under: .NET, SharePoint, CodeSnippets, C#, Generics
  • Retrieving all properties for a Sharepoint list

    When we call the GetListItems or GetListItemChanges methods in Sharepoint's Lists Web Service, we pass an XmlNode parameter specifying which fields we want to return, in this format: <ViewFields> <FieldRef Name="ows_ID"/> </ViewFields> Now, if we leave this field as null , we get a...
    Posted to Miscellaneous Debris (Weblog) by Avner Kashtan on 06-03-2007, 12:00 AM
    Filed under: .NET, SharePoint, CodeSnippets, C#
  • Customizing Sharepoint Portal Server CSS

    Tracking down correct css classes and overriding the right attributes can be very cumbersome. These CSS elements shows how to customize the main elements in the portal. /* Top Portal Bar */ .ms-banner, .ms-GRHeaderText { font-size: 8pt; font-family: verdana; text-align: right; background-color: #003366;...
    Posted to Mads Nissen (Weblog) by mnissen on 08-19-2004, 12:00 AM
    Filed under: CodeSnippets, Sharepoint
  • Displaying Sharepoint elements' Css Class and Id

    This useful script can be pasted into the body element of any Sharepoint aspx page through FrontPage and will display an elements css class when hovering over it with the mouse. < script language ="jscript" > function ClassInfo() { if (window. event .srcElement.className != null ) { stsclass.innerText...
    Posted to Mads Nissen (Weblog) by mnissen on 08-19-2004, 12:00 AM
    Filed under: CodeSnippets, Sharepoint
Page 1 of 1 (4 items)
Microsoft Communities