|
Serge van den Oever Profile |
|
| Blog Title |
Serge van den Oever [Macaw] |
| Blog Description |
IYour source for hot information on Microsoft SharePoint Portal Server and Windows SharePoint Services/I/P
a href='http://weblogs.asp.net/soever/archive/2006/01/12/435105.aspx' target='_blank'Macaw SharePoint Skinner/a - A HttpModule for skinning SharePoint by modifying at server side the HTML output sent to the browserBR
a href='http://weblogs.asp.net/soever/archive/2005/03/04/385523.aspx' target='_blank'Macaw Discussion Board/a - The way SharePoint discussions should work... and now do work!BR
BR
MSDN Article: a href='http://msdn2.microsoft.com/en-us/library/aa505323.aspx' target='_blank'SharePoint Data View Web Part Extension Functions in the ddwrt Namespace/aBR
Weblog Posts: a href="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx" target='_blank'All my SharePoint related blog posts/aBR |
| Blog URL |
http://weblogs.asp.net/soever |
| RSS Feed |
http://weblogs.asp.net/soever/rss.aspx |
| Validate Feed |
Validate this feed: feedvalidator.org or validator.w3.org |
| Feed Last Checked |
Mar 11, 2010 10:45:55 PM EST. |
| Realtime Update |
|
| Landed Here |
Jun 06, 2008 |
| Location |
|
| Posts: # / 1st / Latest |
58 - May 30, 2007 - Feb 13, 2010 |
| Total Hits |
883 |
|
Temporary Post Used For Theme Detection (10f20140-0a1d-4e61-b800-96029ce17f75 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
Serge van den Oever pThis is a temporary post that was not deleted. Please delete this manually. (8b398a5d-03c4-4f47-a047-7dbf19549262 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)/pimg src="http://weblogs.asp.net/aggbug.aspx?PostID=7346667" width="1" height="1" [read]. Posted: Sat, Feb 13th '10 |
Powershell output capturing and text wrapping… again…
Serge van den Oever pA while a go I wrote a post “a href="http://weblogs.asp.net/soever/archive/2008/12/09/powershell-output-capturing-and-text-wrapping-strange-quirks-solved.aspx"Powershell output capturing and text wrapping: strange quirks... solved!/a” on preventing output wrapping in PowerShell when capturing the output. In this article I wrote that I used the following way to capture the output with less probability of wrapping:/p pstrongPowerShell -Command#160; quot;`$host.UI.RawUI.BufferSize = new-object [read]. Posted: Sat, Feb 13th '10 |
Debugging executing program from PowerShell using EchoArgs.exe
Serge van den Oever pSometimes you pull you hairs out because the execution of a command just does not seem to work the way you want from PowerShell. /p pA good example of this is the following case:/p pGiven a folder on the filesystem, I want to determine if the folder is under TFS source control, and if it is, what is the server name of the TFS server and the path of folder in TFS./p pIf you don’t use integrated security (some development machines are not domain joined) you can determine this using the command [read]. Posted: Mon, Jan 25th '10 |
WPK – 2: Some thoughts, and my first really small databound app
Serge van den Oever pMy second article on using WPF from PowerShell. You can download WPK as part of the a href="http://code.msdn.microsoft.com/PowerShellPack" target="_blank"Windows 7 Resource Kit PowerShell Pack/a. When you can navigate to the folder stronglt;My Documentsgt;\WindowsPowerShell\Modules/strong you see the modules that are installed. The folder WPK contains the WPK module./p pOn the Modules level a few documents are installed:/p ul listrongReadme1st.txt /strong– information on installing, using, un [read]. Posted: Fri, Dec 25th '09 |
WPK - 1: Creating WPF applications using PowerShell
Serge van den Oever pMy first article on using WPF from PowerShell. What is WPK? Were can you get it? How to get started?/p pI have been programming in PowerShell since 2006. At Macaw we use PowerShell for most of the development on the a href="http://solutionsfactory.macaw.nl" target="_blank"Macaw Solutions Factory/a. I have written thousands and thousands of lines of code in PowerShell 1.0. Some of the GUI tools in the Macaw Solutions Factory are even written completely in PowerShell. We use a href="http://www.pr [read]. Posted: Thu, Dec 24th '09 |
Fun: Quoted on SharePoint 2010 Development with Visual Studio in InfoWorld Article
Serge van den Oever pWhen I was at the SharePoint Conference 2009 in Vegas I was sitting in the hallway working on my little white Mac Book writing a blog post on SharePoint 2010 when a guy passed by. “Can I ask you some questions?” “Sure”, I said. “If I did anything with SharePoint?” he asked me… Ok, sitting with a Mac on a Microsoft conference can be strange, but hey: VMware Fusion did let me run the Technical Preview of SharePoint 2010 on my little Mac Book with 4GB, which couldn’t be said of my [read]. Posted: Wed, Nov 18th '09 |
The bear goes loose: Office 2010 public beta link (includes SharePoint 2010!)
Serge van den Oever pAn old Dutch phrase… translated into bad English! But it is going to happen: the first public beta of the Office tools… including: SharePoint 2010!/p pAnd where can you download it… I know it… download it /p h1 align="center"a href="http://bit.ly/AD2010"HERE!/a/h1 p align="left"This link is provided by Microsoft The Netherlands to a group of people called the “Wave 14” ambassadors. We have a small competition between the ambassadors: the one who gets the most clicks gets an XBox!! S [read]. Posted: Wed, Nov 18th '09 |
SharePoint 2010: #SPC09 - SSP is dead, long live Service Applications!
Serge van den Oever Notes from the SharePoint Conference 2009 session "Introduction to Service Applications and Topology". This is my personal interpretation of what has been said during the presentation. Don't shoot me if I interpreted something wrong:-) In SharePoint 2010 Shared Service Providers (SSP's) are replaced by Service Applications. Services are no longer combined into a SSP. Services are running independent as a service application. So in MOSS 2007: SSP: combines services like Search, Excel Services, [read]. Posted: Tue, Oct 20th '09 |
SharePoint 2010: Client side JavaScript Object Model Library written in Script#?
Serge van den Oever Note: this blog post is based on experiences with the SharePoint 2010 Technical Preview version. SharePoint 2010 now extends the object model to the client. A remote object model proxy is available for C# development (including Silverlight) and a Javascript client library which can be found at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.js, accessible at /_layouts/SP.js. I tried to understand what happens in the Javascript code, did some document [read]. Posted: Mon, Oct 19th '09 |
Visual Studio and having multiple startup projects
Serge van den Oever Never knew this: you can have multiple startup projects in a solution. Was there already in Visual Studio 2005! See http://msdn.microsoft.com/en-us/library/ms165413%28VS.80%29.aspx for more info. [read]. Posted: Mon, Oct 19th '09 |
SharePoint 2010: When SQL memory usage keeps growing…
Serge van den Oever After a single machine SharePoint 2010 install using the built in SQL Server Express my machine became really sloooooooow. After checking the processes it became clear that SQL server was eating memory. This is the default behavior of SQL Server. I tried to install the SQL Server 2008 Manager Express, but the installation failed. The SQL Server Express provided with SharePoint 2010 seems to be a newer version than the SQL Server 2008 Express version. After a long search on the internet I finally [read]. Posted: Mon, Oct 19th '09 |
SharePoint 2010: #SPC09 - Notes from the keynote
Serge van den Oever Some quick notes I took about things I found interesting from the two keynote speeches of the SharePoint Conference 2009. Steve Ballmer keynote SharePoint 2010 Beta release: November 2009 SharePoint 2010: RTM in First half 2010 Visual Studio Beta 2 released today!! SharePoint Designer remains free in the 2010 version Versions of SharePoint: SharePoint Foundation 2010 = WSS SharePoint 2010 for Intranet Standard SharePoint 2010 for Intranet Enterprise SharePoint 2010 for Internet S [read]. Posted: Mon, Oct 19th '09 |
SharePoint 2010: Getting Publishing template working
Serge van den Oever Note: this post is only relevant for people running the SharePoint 2010 Technology Preview. When I create a new site based on the Publishing Portal template you get a .../Pages/Default.aspx page with an error on it. The error seems to be generated by a ContentByQuery web part (the only web part) on the page. Add ?contents=1 to the url (…/Pages/Default.aspx?contents=1): Check Out the page, remove the web part (Delete, not Close), and your page starts working again. Happy Publishing! Disclaim [read]. Posted: Mon, Oct 19th '09 |
SharePoint 2010: Site exporting as WSP solution (Part 1)
Serge van den Oever Note: this blog post is based onexperiences with the SharePoint 2010 Technical Preview version. In the good old days of SharePoint 2003 and 2007 it was possible to save a site as a template. These sites were saved as .stp files, I assume this acronym stands for SiteTemPlate, a non-documented closed format that did not allow for modification in the saved template files. so new sites could be created based on the template. SharePoint 2010 promises the possibility to save a site as a WSP package, t [read]. Posted: Mon, Oct 19th '09 |
Visual Studio: alway run as administrator
Serge van den Oever I’m currently developing on a 64 bit Windows Server 2008 R2 that is domain joined, so I log in with my domain account and user access control is enabled. I need to run my Visual Studio as an administrator, because otherwise I get all kind of errors. I can do this by right-clicking on the Visual Studio Icon and select “Run as administrator”: The problem is: I forget to do this all the time, and I ALWAYS want to run Visual Studio as an administrator. You can enable this as follows: Right- [read]. Posted: Wed, Oct 7th '09 |
Microsoft Virtual labs - getting the lab notes directly
Serge van den Oever Microsoft has great virtual labs available, but it takes some time to get in there. If you just want the lab notes, type the following in Google: site:download.microsoftvirtuallabs.com filetype:pdf or just follow this link. [read]. Posted: Fri, Jul 3rd '09 |
SharePoint, Features and web.config modifications using SPWebConfigModification
Serge van den Oever SharePoint has a great way for deploying content and functionality using Windows SharePoint Services Solution Packages (WSP's). While developing a powerful new feature for SharePoint Publishing sites I had to deploy a HttpModule "the SharePoint" way. Building a HttpModule , a corresponding feature and the resulting WSP package is easy with our Macaw Solutions Factory. The actual logic in the Http Module and the feature is the difficult part. One of the things I had to do was to create a feature [read]. Posted: Thu, Jun 18th '09 |
SharePoint WCM: flushing publishing pages from the cache
Serge van den Oever SharePoint WCM does a lot of caching. One of the things that is cached are the publishing pages. These pages are cached in the object cache. Sometimes there is a situation where you want to flush a publishing page from the cache. In my case I had to flush a publishing page from the cache in a http module. The cache id for this page is the server relative url without any characters after the url. For example: /Pages/MyFirstLittleWCMPage.aspx. Therefore the path must be "normalized" so additional [read]. Posted: Thu, Jun 18th '09 |
Debugging SharePoint/ASP.NET code? Smart key-codes + disable timeout!
Serge van den Oever I'm currently running around in the Visual Studio debugger to debug some complex SharePoint code. There are two things really annoy me: all the mouse-clicks needed to attach to the Internet Information Server process and the time-out you get when you are exploring complex data-structures for too long. First my favorite key-sequence for the last week: PW3. I will explain it: brings up the debugging menu in Visual Studio: With P the action "Attach to Process..." is executed, which brings you to [read]. Posted: Thu, Jun 18th '09 |
SPDevExplorer 2.3 – Edit SharePoint content from within Visual Studio (4)
Serge van den Oever After a weekend of hard work I have a new version of SPDevExplorer ready with many new enhancements. Download at http://spdevexplorer.codeplex.com/WorkItem/View.aspx?WorkItemId=7799 See http://weblogs.asp.net/soever/archive/tags/SPDevExplorer/default.aspx for all myposts on SPDevExplorer. Some screen shots to give an impression: Connect to a SharePoint site: Checkout and edit a page from SharePoint: Actions on the context menu of a site: Actions on the context menu of a folder: Actions [read]. Posted: Mon, May 25th '09 |
SPDevExplorer 2.1 – edit SharePoint content from within Visual studio (3)
Serge van den Oever I did a lot of additional bugfixing and enhancements on SPDevExplorer. Resulted in version 2.1 of SPDevExplorer. Download bin + sources at http://spdevexplorer.codeplex.com/WorkItem/View.aspx?WorkItemId=7799. Let me know if you find any issues. See also: http://weblogs.asp.net/soever/archive/2009/05/23/spdevexplorer-edit-sharepoint-content-from-within-visual-studio-2.aspx http://weblogs.asp.net/soever/archive/2009/05/23/spdevexplorer-edit-sharepoint-content-from-within-visual-studio-1.aspx [read]. Posted: Fri, May 22nd '09 |
SPDevExplorer – edit SharePoint content from within Visual studio (2)
Serge van den Oever I recorded a video on installing and using the SharePoint Developer Explorer. See my first post for information on location for download and last changes. If the video below does not show follow this link to the video file. [read]. Posted: Fri, May 22nd '09 |
SPDevExplorer – edit SharePoint content from within Visual studio (1)
Serge van den Oever There is a great project http://SPDevExplorer.codeplex.com by TheKid that allows you to edit SharePoint content from within Visual studio. This is especially handy when creating SharePoint Publishing sites where you are editing master pages and page layouts. Most people do this in SharePoint designer, hating the fact that SharePoint Designer messes with your code and sometimes locks files mysteriously. SPDevExplorer allows you to do this using Visual Studio using the great Visual Studio editor. [read]. Posted: Thu, May 21st '09 |
LiveWriter finally working again with my weblogs.asp.net blog!
Serge van den Oever Thanks to Joe Cheng who was so kind to respond to my previous post on the topic I finally have LiveWriter working again against my blog. The metablog handler needs to be: http://weblogs.asp.net/metablog.ashx In the past this was: http://weblogs.asp.net/blogs/metablog.ashx, and it was changed without notification! At least I didn’t receive one! Joe, thanks again! Time to get blogging again! [read]. Posted: Mon, May 4th '09 |
Factory Overview, Part 1: A Bird’s Eye View of the Macaw Solutions Factory
Serge van den Oever A very interesting and extensive overview of our Macaw Solutions Factory has just been published by my collegue Vincent hoogendoorn. It is our first installment in our "Macaw Solutions Factory Overview" blogpost series: Factory Overview, Part 1: A Bird’s Eye View of the Macaw Solutions Factory. This blog post touches on all the work I have been doing in the last years. Check it out, I think it is impressive, and it gives a real look into the kitchen on how our company and our customers are doi [read]. Posted: Wed, Apr 29th '09 |
Macaw Vision on SharePoint Release Management
Serge van den Oever Developing SharePoint solutions is fun, especially with our Macaw Solutions Factory because we have all the tools to go from development to test to acceptation and to production. But then you want to make a modification to your version 1.0 SharePoint solution. How do you do that? We know how... with our Site Management Tool which is part of the Macaw solutions factory! Read all about our vision and concepts in the blogpost by my collegue Vincent hoogendoorn. Read Macaw Vision on SharePoint Relea [read]. Posted: Wed, Apr 29th '09 |
Factory Vision, Part 1: Introducing the Macaw Solutions Factory
Serge van den Oever We finally started our public "comming out" on a project we are working on for few years already: the Macaw Solutions Factory.
Vincent just posted the first installment in our "Macaw Solutions Factory Vision" blogpost series: Factory Vision, Part 1: Introducing the Macaw Solutions Factory.
We are very interested in your feedback. [read]. Posted: Fri, Apr 17th '09 |
Help: Windows LiveWriter not working anymore against http://weblogs.asp.net?
Serge van den Oever I almost stopped blogging because Windows Livewriter stopped working against my http://weblogs.asp.net account on three different platforms.
I get the following error when trying to post with LiveWriter:
The response to the metaWeblog.newPost method received from the weblog server was invalid:
Invalid response document returned from XmlRpc server
or when I am logged in on the administration part of the web site and try to post using LiveWriter:
An unexpected error has occurred while attempti [read]. Posted: Fri, Apr 10th '09 |
PowerShell: Return values from a function through reference parameters
Serge van den Oever PowerShell has a special [ref] keyword to specify which parameters are used in a fuction to return values. It's usage is not directly clear however.
If the type of the variable to update is a value type, use the [ref] keyword in the declaration of the function parameter, this specifies that a "pointer" to the variable will be passed.
To pass the "pointer" to the variable, use ([ref]$variable) to create the pointer, and pass this as parameter. To set the value of the value variable pointed to by [read]. Posted: Thu, Mar 26th '09 |
FactoryTest
Serge van den Oever Ignore [read]. Posted: Thu, Mar 19th '09 |
Presentation on the Business Productivity Online Suite as given at DIWUG
Serge van den Oever Yesterday evening I gave a presentation on the Business Productivity Online Suite (BPOS) for the DIWUG. The session was hosted by Sparked in Amsterdam.
I uploaded the presentation at my skydrive.
The presentation starts with a general introduction to BPOS. It then zooms in on the features of SharePoint Online and gives some ideas on how you could integrate Silverlight applications with BPOS.
Part of the presentation is in Dutch, but I think most of the presentation can be understood by English r [read]. Posted: Wed, Feb 18th '09 |
Documenting PowerShell script code
Serge van den Oever The Macaw Solutions Factory contains a lot of PowerShell script code. A lot of the code is documented, but it is not documented in a consistent way because there were no documentation standards available for PowerShell 1.0, we only had the very complex XML based MAML documentation standard that was not useable for inline documentation.
With the (upcoming) introduction of PowerShell 2.0, a new more readable documentation standard for PowerShell code is introduced. I did not find any formal docume [read]. Posted: Sun, Feb 8th '09 |
Microsoft Tag, funny idea, will it take off?
Serge van den Oever Microsoft came up with a simple but funny and possibly really effective idea: Microsoft Tag. You can create a nice visual tag consisting of colorful triangles, and when you scan this tag with the camera of your Internet enabled cell phone you get connected to a web page, vcard, a text note or a dialar (audio) advertisement. I just tried it out, I created a tag to this web log: I logged in into http://www.microsoft.com/tag with my live ID account Created a new tag to my weblog: This results i [read]. Posted: Mon, Jan 12th '09 |
Inspecting SharePoint
Serge van den Oever When developing for SharePoint you absolutely need a SharePoint inspection tool, a tool that can navigate through the SharePoint object model and SharePoint content. A nice tool is http://www.codeplex.com/spi that comes with source code, but it has a few issues: The latest release 1.0.0.0 is old A newer version is available, but you must compile it yourself from the code respository (I included a compiled version on the codeplex site at http://www.codeplex.com/spi/WorkItem/View.aspx?WorkItemId= [read]. Posted: Sat, Jan 3rd '09 |
Powershell output capturing and text wrapping: strange quirks... solved!
Serge van den Oever Summary To capture (transcript) all output of a Powershell script, and control the way textwrapping is done, use the following approach from for exmaple a batch file or your Powershell code: PowerShell -Command "`$host.UI.RawUI.BufferSize = new-object System.Management.Automation.Host.Size(512,50); `"c:\temp\testoutputandcapture.ps1`" -argument `"A value`"" >c:\temp\out.txt 2>&1 Note the '`' (backtick characters). The problem: output capture and text wrap Powershell is a great l [read]. Posted: Tue, Dec 9th '08 |
Powershell: Generate simple XML from text, useful for CruiseControl.Net merge files
Serge van den Oever I had the problem that I need to include ordinary text files into the CruiseControl.Net build output log file. This log file is a merge of multiple files in xml format. So I needed to get some text files into a simple xml format. I ended up with the following Powershell code to convert an input text file to a simple output xml file Powershell code: function Convert-XmlString { param ( [string]$text [read]. Posted: Sun, Dec 7th '08 |
Moss 2007 StsAdm Reference Poster by Microsoft
Serge van den Oever All SharePoint developers and administrators will be familiar with the Stsadm.exe command line tool in the bin folder of the "12 hive", normally located at: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\STSADM.EXE. This tool has many available operations and an extensibility model. For a nice poster on all available operations (Moss2007 SP1) and available properties, see http://go.microsoft.com/fwlink/?LinkId=120150. See Index for Stsadm operations and properties ( [read]. Posted: Mon, Dec 1st '08 |
Notes from PDC Session: Extending SharePoint Online
Serge van den Oever A waste of time, terrible session, no news, no knowledge by the presentor. Didn't give a good feeling on the SharePoint Online platform itself. Sorry to be so hard.I took some notes, and augmented it with some of my own thoughts and information.-------SharePoint Online provides: Managed Services on the net - No server deployment needed, just a few clicks to bring your instance up and running - Unified admin center for online services - Single sign on system, no federated active directory yet E [read]. Posted: Mon, Oct 27th '08 |
From the PDC: Windows Azure - the Windows cloud server - is here!
Serge van den Oever New times have arived! Exactly what we hoped for, developing for the cloud using Microsoft technology. Of course, EC2 and Google App Engine did beat Microsoft in timing, but bringing up Linux instances, and learning python happened to be a big hurdle for a guy who has been using Microsoft technology for too long. I did some testing with both platforms and was impressed by their concepts. But the Azure cloud platform that Microsoft announced today is more "my kind of candy". In the PDC keynote I [read]. Posted: Mon, Oct 27th '08 |
Profke is offline, to the end of time...
Serge van den Oever For years and years I have followed the travels of Patrick "Profke" Tisseghem from one end of the world to the other end of the world on my screen in Windows Live Messenger. Patrick was a busy guy, evangelizing, educating, inspiring the world. It was always good to see when he was back @home either in Belgium or Cyprus for some well deserved time with his family. A few days ago I saw his new, and what later appeared to be his last, destination: Goteborg in Sweden. For the last days his sta [read]. Posted: Tue, Sep 9th '08 |
Post to self: getting the directory where the CLR is installed in PowerShell
Serge van den Oever [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory() will return a path like: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ [read]. Posted: Fri, Aug 8th '08 |
C:Program FilesReference Assemblies for assemblies to reference in your code
Serge van den Oever I just stumbles across a "new" concept of Microsoft. In the C:\Program Files\Reference Assemblies folder Microsoft installs assemblies for products that can be referenced from your code. Instead of referencing assemblies directly from the GAC or copying an assembly from an installation folder or the GAC to your project for reference, you can now reference the assemblies in this folder. We have a similar approach in our Macaw Solutions Factory where we have a _SharedAssemblies folder to keep trac [read]. Posted: Sun, Jul 20th '08 |
Use VS2008 to create a VSPackage that runs in VS2008 and VS2005
Serge van den Oever We all want to use the new features in Visual Studio 2008 during development. When using VS2008 for VsPackage development we need to install the Visual Studio 2008 SDK. The approach taken for building VsPackages in VS2008 is incompatible with the approach taken in VS2005. In this article I explain an approach to use VS2008 to build a compatible VsPackage that can be tested in the experimental hives of both versions of Visual Studio. About VsPackage A VsPackage is a very powerful Visual Studio e [read]. Posted: Wed, Jun 4th '08 |
Edit file in Wss3 web application with SharePoint Designer blows up your web site
Serge van den Oever I wanted to create a simple html file in the root of my Wss3 web application, so I created an empty file test.htm. I double clicked te file and because I have SharePoint Designer installed, it is the default editor for .htm files. I put some test into the .htm file along the lines of "Hello world!", and boom: my Wss3 web application is dead. I get the following error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to servic [read]. Posted: Tue, Jan 29th '08 |
Reduce the size of a virtual hard disk before delivery for reuse
Serge van den Oever When delivering a virtual hard disk to your team to build their virtual machines on I perform the following steps to minimize the size of the virtual hard disk. It is assumed that Virtual Server 2005 R2 SP1 is installed. Make sure you merged the Undo disks, and that differencing disks are merged with their parent disks Disable undo disks Start the virtual machine to compact In the virtual machine download CCleaner on http://www.ccleaner.com . This is a great tool to clean your disk from history [read]. Posted: Mon, Jan 14th '08 |
VirtualPC/Virtual Server machine at higher resolution than 1600x1200!
Serge van den Oever I have always been so annoyed by the fact that on my laptop with 1920x1200 resolution I could only get a connection to my virtual machines at a resolution of 1600x1200, the max resolution by the emulates S3 graphics board, resulting in two 160 pixesl wide black bars on the left and right sides. But on Vista I did get a connection on higher resolutions, after some searching I found that the old Remote Desktop Connection software of XP (SP2) was the problem. Upgrade it to version 6 and you worries [read]. Posted: Mon, Jan 7th '08 |
SharePoint Content Management Package (CMP) explorer
Serge van den Oever Ronalus has created a great small utility to explore the contents of SharePoint Content Management Pages called Content Migration Package Explorer. This tool can be used to investigate the data exported by the SharePoint Content Migration API. You can create an export either with stsadm.exe, or with custom code. As example for this weblog I exported a simple site containing some test data using the following command: Stsadm.exe –o export –url http://wss3dev/FlexShop -filename c:\temp [read]. Posted: Sun, Jan 6th '08 |
SharePoint development: handy little utility to get GUID’s and Attribute names
Serge van den Oever I just stumbled accross a handy little utility that is really handy during SharePoint development: Show List and ViewGUIDs. Type a Site URL, and select “Display Lists Titles and Ids”. From the list of lists you can select a list GUID, and with right-click copy it to the List ID input field. After clicking “Display Views” you see the available list views. Again you can select a view guid, and with right-click copy it to the View input field. Select “Display Items [read]. Posted: Sun, Jan 6th '08 |
SharePoint stsadm.exe and the infamous "Command line error"
Serge van den Oever The SharePoint command-line utility stsadm.exe was driving me crazy for the last two days. I'm automating all kind of this from PowerShell scripts, but I got the error "Command line error" while I was absolutely sure that what I was doing was correct. I did stsadm.exe -o deletesolution foobar.wsp. And the problem was: character encoding... First I thought it was a problem with the way I executed this command from PowerShell. When I copied over the command to a different script it worked. What!!! [read]. Posted: Fri, Dec 21st '07 |
The future of Domain Specific Languages on the Visual Studio platform
Serge van den Oever Now Visual Studio 2008 is released (I know, I'm blogger #100.000 to mention this) it is interesting to look at the future of one of the important building blocks on the Microsoft platform for building Software Factories: the DSL Tools. Stuart Kent, Senior Program Manager with the Visual Studio Ecosystem team, reveals a part of the post Visual Studio 2008 roadmap for the DSL tools in its blog post DSL Tools beyond VS2008. Some of the mentioned concepts are already available in the implementation [read]. Posted: Thu, Nov 22nd '07 |
PowerShell Exception handling using "Trap" explained - links
Serge van den Oever PowerShell has powerful exception handling, but it is badly documented and takes while to understand what the heck they actually want to do to wire up the exception handling. I'm normally not such a link poster, this is more of a "post-to-self" item that might be useful for others as well. See Trap [Exception] { “In PowerShell” } for a very good explantation See PowerShell: Try...Catch...Finally Comes To Life for a Try/Catch/Finally implementation in PowerShell for the more c# oriented deve [read]. Posted: Thu, Nov 22nd '07 |
The P&P Web Service Software Factory modeling edition and the Secret Dutch Software Factory Society
Serge van den Oever It is final! After almost nine months of hard work the version 3 of the Patterns&Practices Service Factory is released on CodePlex. Johan Danforth already published this announcement here, but it doesn't hurt to bring it to your attention again because this stuff is good! And the strange thing is that Don Smith, the Technical Product Planner of the Service Factory didn't had the time to blog about it and announce it officially. But I know why: he is a busy man! After TechEd 2007 in Barcelona [read]. Posted: Fri, Nov 16th '07 |
Powershell: Is a SharePoint solution installed or deployed?
Serge van den Oever I was having some fun with PowerShell to talks against the SharePoint object model. I needed to know if a SharePoint solution was installed and if it was deployed. I got to the code below. Might be handy for someone to see how easy it is to get info out of SharePoint. And the purpose I need it for? In our Macaw Solutions Factory we have a development build and a package build. Development build for SharePoint deploys everything to the bin folder of one or more web applications. Package build cre [read]. Posted: Wed, Oct 10th '07 |
PowerShell: Creating a SharePoint solution package (WSP file) with CAS
Serge van den Oever I need to add some code access security information to a SharePoint solution package manifest file. Given the assembly file we can retrieve the required assembly info, and with some xml magic in PowerShell create some result xml. It is not actually the exact code I use in my solution, but it shows the job... # function: GetAssemblyInfo # Arguments: $assemblyFile - path to assembly file to determine information from # Returns: Hashtable with the following keys: PublicKeyBlob, Name, Version functi [read]. Posted: Wed, Oct 10th '07 |
Visual Studio SDK 4.0, Vista and symbolic links...
Serge van den Oever When you install Visual Studio SDK on Vista, it doesn't install by default on X:\Program Files, but on X:\Program Files (x86).
When I tried to recompile the VSIP Software Factory from Codeplex, it had links to the Visual Studio SDK in c:\program files.
Instead of moving things around I created a symbolic directory link:
mklink /D "Visual Studio 2005 SDK" "c:\Program Files (x86)\Visual Studio 2005 SDK"
Works like a breeze! [read]. Posted: Sat, Sep 22nd '07 |
SharePoint: Custom Field Type for MultiLine text
Serge van den Oever When you add a custom field type that can hold more than the 255 characters you can't use a field of type SPFieldText because it has a max length of 255 characters. An obvious candidate is to use the field type SPFieldMultiLineText. No problems so far. But... in your custom version of the fldtypes.xml file (for example fldtypes_mytypes.xml) you have to define your parent type of the custom field. You would expect a parent type named MultiLineText, but no, that would be too obvious. It should be [read]. Posted: Tue, Sep 18th '07 |
PowerShell: get SharePoint Central Administration web application path
Serge van den Oever One of those things that you find out, forget, and never find back. So its more a post to self;-) [void][reflection.assembly]::LoadWithPartialName("Microsoft.SharePoint") [Microsoft.SharePoint.Administration.SPAdministrationWebApplication]::Local.IisSettings.get_Item(0).Path.FullName [read]. Posted: Fri, Aug 17th '07 |
Generate a list of GUID's
Serge van den Oever Sometimes you just need a lot of GUID's while programming. Ofcourse you could use the Visual Studio GUID tool, bu that is a lot of work. Open a PowerShell console, and paste in the following line to get a list of 100 guid's: $i=100; while ($i-- -gt 0) { Write-Host ([System.Guid]::NewGuid()) } [read]. Posted: Wed, May 30th '07 |