Category: CodePlex

Update to the SharePoint Solution Deployer

A new version is out. If brings some great new extensions (two of them are from me 🙂 )

v5.0.4.6440 (2015-04-04)

  • New: All extensions added: Blocked file extensions, content type hub, custom crawl connector, features, logging configuration, managed metadata, re-ghost, search schema, secure store, site structure, CSOM extensions for files and 2013 workflows
  • Updated: SharePointVersions.xml
  • Updated: Typos in comments fixed and some code clean-up
  • First release based on GitHub repository

Grab your version from http://spsd.codeplex.com

The SharePoint Solution Deployer

Deploying Solutions can be a …. (fill in as you wish).

The SharePoint Solution Deployer offers a great opportunity to writing your own scripts. The existing functionality should match your needs to deploy SharePoint Solutions. If not, the “framework” can be extended with custom Extensions or simple PowerShell code.

I’ve written two Extensions, which let you enable and disable features upon deployments and reset files to their site definitions (aka ReGhost).

To be able to have different URLs for your dev-machine, staging and production farms, simply create additional XML-files and configure URLs there. The XML-file needs to be named with the hostname of the server, where you want start the deployment.

Example

The example shows two files within the Environment subfolder.

Default XML Configuration file (Default.xml)

 Hostname.xml

The script will look if there is any XML file with the name “hostname.xml”

That’s it.

You can start the deployment with e.g. “Redeploy.bat” from the Rootfolder, no matter which farm you are on.

ChangePassword Webpart – new version available

The ChangePassword WebPart on CodePlex has been downloaded over 20.000 times. The new version has a couple of new features:

  • Easy Installation
  • SharePoint 2010 and 2013 (Foundation and Server)
  • Password strength indicator
  • Plugin support to extend functionality by custom code1
  • Warning if an unsecured connection is used
  • Copyright hint can be removed1
  • Auditing of password changes (and attempts)
  • Logging into the SharePoint logs

This is how it might look on your SharePoint:
ITaCS Password Changer
Documentation and downloads are available here.

A new home for this blog

After many years of SharePoint as blogging platform, I decided to move to WordPress. There are several reasons for the decision.

One would be that I want to get rid of my server at home.

Another is SharePoint and its blogging capabilities. As you probably know, I’ve worked on the CKS:EBE (Community Kit for SharePoint – Enhanced Blog Edition) blogging extension for SharePoint blogs some years ago. It is awesome to see that the default blog can be extended to such an extend. I’ve even made it compatible with SharePoint 2013. WordPress offers far more functionality with so many Plugins and Themes available.

And I wanted to try something different 😉

The migration process needed to respect all posts, comments, attachments/linked files and links. There was no tool that matches the requirements. So I developed my own. I will post other articles and the sourcecode later. Here is a small teaser of the WPF GUI, I put over the former console application.

Migrate SharePoint Blog to WordPress

Since the URL changed from https://www.hezser.de/blog/archive/2014/09/05/tfs-migration-from-on-premise-to-visual-studio-online.aspx to https://www.hezser.de/blog/2014/09/05/tfs-migration-from-on-premise-to-visual-studio-online, I had to think about redirection. Fortunately I am not the first person with the problem. The WordPress Plugin “Redirection” from John Godley does all that for me. The Regex “/blog/archive/(\d*)/(\d*)/(\d*)/(.*).aspx” matches old URLs and will redirect to “/blog/$1/$2/$3/$4”.

A couple of other plugins provide similar functionality.

So bye bye SharePoint for blogging and welcome WordPress. Btw: what do you think about the theme? It’s red now 🙂

CKS – Dev for Visual Studio 2012

The Tools have been released for VS 2012. Great!

The CKS – Development Tools Edition for Visual Studio 2012 is a collection of Visual Studio templates, Server Explorer extensions and tools providing accelerated SharePoint 2010/2013 development based on Microsoft’s SharePoint 2010/2013 development tools.

The current 1.0 release includes the following features:

  • Server Exploration from CKSDev 2010 v2.4 – Visual Studio 2012 version of the Visual Studio 2010 exploration. Includes all the existing server explorer features.
  • Quick Deploy extensions from CKSDev 2010 v2.4 – Visual Studio 2012 version of the Visual Studio 2010 quick deploy. Includes all the existing quick deploy features.

About the Community Kit for SharePoint

The Community Kit for SharePoint is a set of editions, components, tools and recommended documentation for SharePoint development. You are currently viewing the edition project site for the Development Tools Edition. To learn about the other editions and components you can go to http://www.communitykitforsharepoint.org/default.aspx.

You can read more and download the tools here: http://visualstudiogallery.msdn.microsoft.com/cf1225b4-aa83-4282-b4c6-34feec8fc5ec

A CodePlex page also exists: http://cksdev.codeplex.com

Mastering your Hyper-V R2 Core Server

If you like – and use – Hyper-V is out of scope of this post. So let’s assume you have a Hyper-V core installation, as it is free and works great 🙂

Microsoft® Hyper-V™ Server 2008 R2 is a stand-alone hyper-visor based virtualization product which includes Live migration.

Download: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3512 (about 1GB)

OK. That was the marketing part.

Many people have great respect for a server, which has no GUI. At least not the way we know “Windows Servers”.

Well, at least for managing your VMs, there are some tools out there. One of them is the PowerShell Management Library for Hyper-V, available on CodePlex. It will give you great control over VMs on your server. And… it has a GUI (kind of), which can be started with “Show-HyperVMenu”:

image

Starting, Stopping and changing the configuration is now possible, without using the Hyper-V Management Console.

The module for PowerShell can be installed by calling a batch file. It works smooth, and does what is needed to manage Hyper-V via PowerShell.

get-command -module HyperV will show all available commandlets. As always (with PowerShell), a get-help commandname shows some help for the commandlet.

Update July 2012

The command for showing the GUI above is “Show-HyperVMenu”

CKS:EBE 3.0-Enhanced Blog Edition 3.0

Like many other blogs running SharePoint, my blog uses the EBE to add more functionality to the default SharePoint blog.

And since I am one of the developers of the EBE 3.0, I’m glad that we announce the release of the next release. Version 3 brings along many new features and improvements of already implemented features.

New Features
*Ability to theme wiki pages
*Ability to export post to PDF
*Localization (French, Spanish)
*Technorati Links from post categories
*Ability to bookmark post with Twitter
*Centralized Theming – Ability to create a theme library at the root and allow sub blog sites to use the common theme library.
*The ability to add an XML feed control
*Logging of pingbacks and trackback errors to SharePoint Logs directory
*Support of feature stapling
*Preliminary SharePoint 2010 Beta 3 compatible (with web.config edits)
*EBE caching and performance validation
*Performance increases for page loads less than <3 sec
Note: Some features are specific to certain themes

Enhancements
*Caching enhancements
*Added caching to XML controls
*Added enhanced XSL caching
*Ability to exclude the EBE HttpModule from specific paths
*Auto-Discovery for Live Writer metaweblog api
*Tweaks and enhancements to all themes
*Ability to sign-in after denied access to system pages
*Posts with future date are now hidden from posts list
*Browser title now matches post titles
*Comments are not added if they are spam

Read the release notes here: http://cks.codeplex.com/releases/view/28520

SiteDirectory for SharePoint 2010

SP 2010 does not bring a SiteDirectory template. Microsoft Consulting Services UK have released a CodePlex version of a SiteDirectory for SharePoint 2010: http://spsitedirectory2010.codeplex.com/

What is the Purpose of the Site Directory for SharePoint 2010?

SharePoint 2007 used to have a type of Site Called Site Directory which provided a directory of all sites that had been created. In SharePoint 2010, this feature has been dropped. This solution has been developed to fill the gap in SharePoint 2010. The solution follows the same basic principle of the Site Directory in SharePoint 2007 but adds some commonly requested features.

What does Site Directory for SharePoint 2010 do?

Site Listings List: A basic SharePoint list which stores an entry for each site that is picked up by the Scan Job.
Scan Job: A timer job which scans Web Applications for sites and updates or adds to the Site Listings list. Supports exclusions, three different ways of identifying Site Owners and can be configured for multiple Web Applications, each with their own schedule.
Delete Broken Listings Job: A timer job which checks each Site Listing to see if it exists. If it does not then it keeps a count of how many times it was missing and then removes the listing once a configurable number of missed scans is reached.

Thank you 🙂

CodePlex project

Active Directory User Editor

SharePoint is importing user information from the Active Directory through the Shared Services Provider (if you have MOSS).

Wouldn’t it be nice if users could “manage themselves”? That would save lots of time for the Admins 🙂

The answer is here: http://nominesptools.codeplex.com/

  • 5 different types of properties fields: Simple TextBox, DropDownList/ListBox (with predefined values), People Picker, Date Picker with calendar.
  • Multi-domain compatible.
  • Nearly Any Active Directory property can be easily added or removed of the edit form, directly trough the webpart configuration (nothing "hard-coded").
  • SharePoint "look & feel"
  • Available in English and French

Additional informations and installation manual are available here (French & English): http://alexis.nomine.fr/

image

This Webpart is again a prove that there are plenty SharePoint solutions for you to use.

btw: this was my post #200 😀

Automate iFilter and PDF Indexing support

Setting up your SharePoint farm to be able to crawl PDF files and show the PDF icon is a manual task which involves changing the registry.

If you don’t want to go through the steps manually, try the stsadm command from here: http://notesfor.net/post/2009/07/14/Automate-iFilter-and-PDF-Indexing-support-to-a-SharePoint-Farm.aspx

You can find the CodePlex site here: http://notesforsearchfilter.codeplex.com/

After the stsadm extension has been installed, setting up PDF support is easy:

   1: stsadm -o searchfilter -ext pdf -filter PDFlib –iconfile "C:\Temp\icpdf.gif"

CKS:EBE

Finally I found the time to enable the Enhanced Blog Edition on my blog.

As you can see, the layout did change 🙂 The EBE also brings some new functionality like comment spam detection, trackbacks and a cleaner RSS feed.

So if you are using the old URL for my RSS feed, please update it to http://feeds2.feedburner.com/ReneHezser

The new feed URL may result in duplicate RSS items.

The EBE is not a final version. So if something is not working as expected, please let me know.

Modify blog post categories

If you plan to use the CKS:EBE (Enhanced Blog Edition), you might want to update the categories of your posts, because the EBE supports multiple categories for a post.

I’ve created a Windows Forms Application, which will help you with this task.

Features:

  • Update categories for blog posts
  • Select multiple categories
  • Remove categories from blog post
  • Add categories to the categories list
  • Modify the blog posts, without changing the modified date

Requirements:

  • Windows SharePoint Services V3 😉
  • .NET Framework 3.5 installed on the SharePoint Server where this application will run

Usage:

Type in your blog URL and hit "Connect". You will see all posts in your blog. Selecting one will fill the Title, Body and Post Categories on the right.

You can now add or remove categories to the selected post by clicking on the << or >> button.

If you need a new category to add to the selected post, click "New Category" to add a new category. After you did that, the new category will appear in the available Categories ListBox.

  Download

Technorati Tags: ,

Many SharePoint Features

CodePlex has a project for SharePoint 2007 Features. Within this workplace there are features like:

  • Ajax Config Feature
  • Content Type Hierarchy Feature
  • Debug Config Feature
  • Debugger Feature
  • Features Source Code
  • Log Viewer Feature
  • Manage Configuration Modifications
  • Manage Form Users Feature
  • Manage Hierarchical Object Store Feature
  • Manage Layouts Site Map Feature
  • Minimal Master
  • Minimal Publishing Site
  • Placeholder Master Feature
  • Presence Contact List Feature
  • Print List Feature
  • Task Alert Feature
  • Task Mover Feature
  • Theme Changer Feature
  • Window Links Feature

Especially the Ajax Config Feature is great. In the future I will release more Webparts based on Ajax. This makes it much more easier to deploy them 🙂