Blog Home  Home Feed your aggregator (RSS 2.0)  
My DasBlog! - Wednesday, July 20, 2005
newtelligence powered
 
# Wednesday, July 20, 2005

Be sure to visit all the options undfer "Configuration" in the Admin Menu Bar above. There are 16 themes to choose from, and you can also create your own.

 

Wednesday, July 20, 2005 8:00:00 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   dasBlog  | 
# Tuesday, July 19, 2005
Today i had a head breaking issue. I needed two discussion boards placed on a WSS site using the ONET.XML template. Whatever i tried it resulted into another view of the same discussion board instead of a seperate discussion board. Then i saw it (together with a collegea)...
Tuesday, July 19, 2005 10:02:06 AM (GMT Daylight Time, UTC+01:00)  #    Comments [2]   SharePoint  | 

Paul Brenk has posted some usefull code which shows us how to deserialize a string containing XML to an object using a StringReader and a XmlTextReader object. It also shows us how it handles a XML-array using serialization attributes.

http://blogs.tamtam.nl/paulb/DeserializingAnXmlstringAndXmlArrays.aspx

Tuesday, July 19, 2005 7:25:56 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   C#  | 
# Monday, July 18, 2005

Mark Harrison did a post containing some usefull links to documentation for the new Business Scorecard Manager 2005. It seems that this tool is not gonna be a free tool like the previous version and that the licenses are not that cheap. :( We have to see...

Business Scorecard Manager 2005 documentation includes the following:

Scorecard Manager Server Planning and Administration Guide
The Planning and Administration Guide contains information that system administrators use to install, configure and manage a Business Scorecard Manager server deployment.

Business Scorecard Builder Help Documentation
The Business Scorecard Builder Help includes conceptual and procedural information that users need to build scorecards using the Scorecard Builder application.

SharePoint Web Part Help
The SharePoint Web Part Help is written for end users who use Business Scorecard Manager scorecards and reports in SharePoint.

Business Scorecard Manager API Reference
The Application Programming Interface (API) reference provides developers with the complete reference for the Business Scorecard Manager 2005 Beta 2 API

Article by Mark Harrison:
http://markharrison.co.uk/blog/2005/07/documentation-for-business-scorecard.htm

Monday, July 18, 2005 6:21:50 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   Microsoft | SharePoint  | 
# Thursday, July 14, 2005

When you change the application pool for a WSS site and you request the WSS site in a browser you could get a 403 error telling you that access is denied. By adding /default.aspx at the end of the url it works again.

This problem is caused by changing the application pool for the WSS site and not for its Application folders.

To solve the problem just change the application pool for its Application folders to the same as the WSS site. The Application folders I had to change were _layouts, _vti_bin and _wpresources.

Thursday, July 14, 2005 2:58:45 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   SharePoint  | 

"The purpose of the SharePoint Utility Suite is to provide a packaged collection of Tools and Utilities showcasing the rich Object Model that is delivered with the SharePoint Product and Technologies SDK (which includes Windows SharePoint Services 2.0 and SharePoint Portal Server 2003). This package includes code and tool examples that SharePoint Developers and SharePoint Administrators might find useful."

http://www.microsoft.com/sharepoint/downloads/components/detail.asp?a=724

Thanks to Paul Schaeflein and Jessica Gruber

Thursday, July 14, 2005 6:57:10 AM (GMT Daylight Time, UTC+01:00)  #    Comments [2]   SharePoint  | 
# Wednesday, July 13, 2005

Microsoft has a nice collection of controls bundled into a package called "IE Web Controls". Except for the fact that they are fully unsupported some controls are very handy.

I have used the TreeView in a custom WebPart and had some difficulty setting the styles. It seems you have to set the styles DefaultStyle, HoverStyle and SelectedStyle. The DefaultStyle is used when no action takes place, the HoverStyle is set when you hover with your mouse over an item and the SelectedStyle is the style of a selected item. Here are two examples of setting the style in a TreeView.

<mytree:treeview runat="server" 
   
ID="tvwResources" 
   defaultStyle="font-family:Verdana,Arial,Sans-serif;color:#000000;font-size:11px;" 
   hoverStyle="font-family:Verdana,Arial,Sans-serif;color:#000000;font-size:11px;" 
   selectedStyle="font-family:Verdana,Arial,Sans-serif;color:#000000;font-size:11px;>
</mytree:treeview>

Or programmatically

mytree.DefaultStyle["font-family"] = "Verdana,Arial,Sans-serif";
mytree.DefaultStyle["color"] = "#000000";
mytree.DefaultStyle["font-size"] = "11px";

mytree.HoverStyle["font-family"] = "Verdana,Arial,Sans-serif";
mytree.HoverStyle["color"] = "#000000";
mytree.HoverStyle["font-size"] = "11px";

mytree.SelectedStyle["font-family"] = "Verdana,Arial,Sans-serif";
mytree.SelectedStyle["color"] = "#000000";
mytree.SelectedStyle["font-size"] = "11px";

Wednesday, July 13, 2005 7:39:05 AM (GMT Daylight Time, UTC+01:00)  #    Comments [9]   C# | Microsoft  | 

Paul Schaeflein did a post about an example how to programmatically upload a file to a document library. The example is in VB.NET and could be very handy to use in custom made WebParts. Thanks for that! :)

Sub ProcessPostedFile(ByVal fileUpload As HtmlControls.HtmlInputFile)
    Try
    ' get the filename and stream
    Dim fn As String = System.IO.Path.GetFileName(fileUpload.PostedFile.FileName)
    Dim stm As System.IO.Stream = fileUpload.PostedFile.InputStream
    Dim contents(CInt(stm.Length)) As Byte

    stm.Read(contents, 0, CInt(stm.Length))
    stm.Close()

    ' get the library path
    Dim docLibPath As String = Configuration.ConfigurationSettings.AppSettings("DocUploadPath")
    ' first, get the site containing the library
    Dim site As SPSite = New SPSite(docLibPath)
    Dim web As SPWeb = site.OpenWeb
    ' then get the folder
    Dim docFolder As SPFolder = web.GetFolder(docLibPath)

    ' delete the file if it exists
    Dim docFile As SPFile
    Try
        docFile = docFolder.Files(fn)
    Catch ex As Exception
    End Try

    If Not docFile Is Nothing Then
        docFolder.Files.Delete(fn)
    End If

    ' save the file
    docFile = docFolder.Files.Add(fn, contents)

    Catch ex As Exception
        Context.Trace.Warn(ex.ToString)
    End Try
End Sub

http://sharepointblogs.com/SPDiary/archive/2005/07/12/2632.aspx

Article written by Bil Simser doing the same upload using a HTTP PUT. Meaning that you could use it from any place and not only on the SharePoint server.

http://weblogs.asp.net/bsimser/archive/2004/06/06/149673.aspx

Wednesday, July 13, 2005 7:25:44 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   SharePoint | VB.NET  | 

Patrick Tisseghem pointed out to us a nice article by Christophe Lauer which has created a sample application demonstrating the concept of programming against the Desktop Search API. I'm using the Desktop Search myself and find it incredible usefull. You can download the sample application at Christophe Lauer his site.

http://blogs.microsoft.fr/clauer/archive/2005/07/09/4563.aspx

Wednesday, July 13, 2005 7:17:16 AM (GMT Daylight Time, UTC+01:00)  #    Comments [3]   Microsoft  | 
# Monday, July 11, 2005

Hi there all,

Maybe some of you already noticed, my blog moved to a new location. The new location is http://net.bloggix.com.

For all those people reading my blog, thank you all!! :)

The old RSS feed is still working but will be gone in some time. A new RSS feed is available at: http://net.bloggix.com/SyndicationService.asmx/GetRss

Thanks :)

Alex

Monday, July 11, 2005 4:36:09 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]    | 
Copyright © 2010 Alexander Meijers. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: