2012… het jaar van den hof!

Na 2 jaar modder en onkruid, gaan we met een beetje geluk dit jaar eindelijk van onze tuin kunnen genieten. 8-)
Rond nieuwjaar hebben we een tuinaannemer (Tuinaanleg Vanreyten uit Meeuwen-Gruitrode) gecontacteerd. Deze is na nieuwjaar langsgeweest om de situatie even te bekijken en heeft ons nadien een offerte bezorgd.

Ik had het eerst zelf willen doen, maar met al dat regenweer van het najaar hebben we gemerkt dat de grond (leem) te vast is. Het water kan niet weg en blijft op de leemgrond staan. Dit maakt ook dat het een rotkarwei is om deze af te graven voor de inrit. En we moeten héél wat afgraven. Als het zo vochtig is, dan is deze grond loodzwaar en als het een tijdje warm is, dan is het net beton waar je niet door geraakt. En het probleem is dan ook nog eens… waar moet je naartoe met deze grond hé?

Dus hebben we beslist om het te laten doen door een aannemer. Die heeft het materiaal ervoor. Ik niet. En dan is het ineens fatsoenlijk gedaan en op een week tijd. Als ik het moet doen, dan is het na de werkuren en gaat het serieus wat tijd kosten.

We hadden eerst gepland om voorlopig kiezel te nemen op de inrit om dan later klinkers te laten leggen. Maar nieuwsgierig als we waren, hebben we gevraagd om voor beide prijs te maken en wat blijkt… de meerprijs voor klinkers is op zich niet zoveel. Zelfs zo weinig, dat het een zotte kost is om nu kiezel te laten komen om binnen 2 jaar deze terug te laten afgraven en klinkers erin te leggen. Dus… ineens klinkers!  :mrgreen:

Vorige week overeenkomst getekend en men schat dat ze kunnen komen uitvoeren eind april, begin mei… afhankelijk van het weer. Dus laten we hopen dat we het gehad hebben met de regen zodat we in de zomer op ons terras kunnen zitten.

Werken die moeten gebeuren:
 – inrit afgraven langs het huis en voor de garage en voordeur en aanvullen met steenpuin en klaarmaken voor klinkers
 – plaatsen van 78 borduren voor bloemperken en boorden
 – Terras aanleggen in klinkers
 – afgraven van de achtertuin en overtollige grond afvoeren. De resterende mengen met zwarte grond voor hem poreuzer te maken en nivelleren.
 – plaatsen van 150m² grasmatten
 – plaatsen van 127m² klinkers (antraciet).

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Expose the Web Part Title in the XSL of your CQWP

The last couple of days, I have been busy with customizing the OOTB Content by Query Web Part and Summary Links Web Part from SharePoint 2010. I wanted to get rid of the default look and chrome and present my data in a nice box with rounded corners and a title with matches the rest of my styles.
After 2 days of trying, I can say… the result is too my liking. :-)

The first box is a Summary Links Web Part and the box below it, is a Content by Query Web Part.
To get rid of the default chrome, I simply set it to None in the Web Part properties.

 

 

 
Continue reading

VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)

Create a cache profile in SharePoint using PowerShell

I have been looking for a way to create a new cache profile in SharePoint using Powershell. This profile can be used in the Page Output cache.
I noticed that cache profiles are stored in a list called “Cache Profiles” and implement the “Page Output Cache” content type.

So, creating a new profile shouldn’t be that difficult.

To add the profile to your Page Output Cache and enable the cache, you can use the following code:

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Create Content Organizer Rules using PowerShell

I just wanted to share a way to create Content Organizer rules in SharePoint 2010 using PowerShell. I was looking for a way to implement those rules using a script.
The first thing I did was create a rule using the UI and then fire up SharePoint Manager to have a look at it and how it has been built up.
So, those rules are stored in a hidden list called “Content Organizer Rules”. Creating a new listitem in that list however is not that straightforward. I did found out that a rule is actually an instance of the Microsoft.Office.RecordsManagement.RecordsRepository.EcmDocumentRouterRule class. The link above contains an example on how to create a rule programmatically.
If it’s possible in C#, then it must be possible in PowerShell.
The script below is what I came up with and it works like a charm:

The thing to remember is the ConditionsString. If you don’t specify a specific condition, you can’t just leave it empty. You have to include the tags of the Conditions element. If you do need to specify additional conditions, then the easiest way to construct this string is to create the rule in the UI, inspect the Xml string of the rule with SharePoint Manager and look at the “ows_RoutingConditions” argument, which contains the condition.

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Limit list of available web templates in your custom site definition

SharePoint 2010 allows you to create custom web templates or site definitions.
Using the UI, you can limit the available web templates which users are allowed to use if they want to create a new site. But what if you want to do this automatically and you have your own custom site definition or web template and you want limit this list of templates to a number of custom definitions?
This is possible.
You can specify the allowed templates in your custom onet.xml.
In this file, you have a Publishing feature with ID {22A9EF51-737B-4FF2-9346-694633FE4416} where you can add a property with the name “AvailableWebTemplates”. The value for this property is a list of web templates.
The format of this list is as follows:
”*-{FeatureID}#WebTemplateName1;*-{FeatureID}#WebTemplateName1;”

The FeatureID is the GUID of the feature which contains the definitions for the web templates.
The WebTemplateName can be found in the elements.xml of the web template.

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

AvailablePageLayouts property value has to be one a single line

Today, I was deploying a custom web template in SharePoint 2010 in which I had specified that only 9 custom page layouts were allowed. I did this by adding a property to the Publishing feature (id 22A9EF51-737B-4ff2-9346-694633FE4416) in my custom onet.xml file called AvailablePageLayouts where you specify the location and the name of the allowed page layouts.
The format of the string with the list of layouts you specify as the value for that property has to be specific:

  • the location of the page layout has to be a relative URL
  • they have to separated by a colon (:)

After I deployed the feature I created a new site from my custom template and all of a sudden I got an error:

All Page layout urls inside the string have to be server relative
The error message furthermore mentioned more information on which page layouts were affected.

When I looked at the list of page layouts I added to this property, they all had relative urls.
Since the 1st layout was not mentioned in the error, something started to go wrong with the second one. I placed each page layout on a new line because that was so much easier than a single line and this was the problem. So, I put everything on a single line and for sure… this solved the error. My site was created successfully and only the 9 specified page layouts were available.

Update (4/12/2011): Someone commented on this post that you can actually split the page layouts over multiple lines for readability. You just need to start each line with the colon. And he’s right. The next does work:

[xml]

Value=”~SiteCollection/_catalogs/masterpage/ArticleLeft.aspx
:~SiteCollection/_catalogs/masterpage/ArticleLinks.aspx
:~SiteCollection/_catalogs/masterpage/ArticleRight.aspx”/>
[xml]

VN:F [1.9.17_1161]
Rating: +2 (from 2 votes)

Laat die panda’s maar komen

Mooi weer dit weekend. De perfecte moment om wat in de tuin te werken. Het is nu de perfecte periode om bamboe te planten en dus zijn we gisteren naar bamboekwekerij Kimmei geweest in Valkenswaard voor een lading Fargesia Robusta “Campbell” en de onontbeerlijke begrenzer om hem in toom te houden. We willen de buren uiteraard niet opzadelen met bamboe 8-). Alhoewel we gekozen hebben voor een niet-woekerende soort… maar better safe then sorry, nietwaar.

Vandaag samen met onze pa en mijn broer er effe ingevlogen. Begrenzer ingegraven, plantjes verplant, terug aangevuld en deftig water gegeven.

Klik HIER voor het volledige fotoalbum.

Het compostvat heeft daarna ook zijn plaatske gekregen. Is er weer wat extra plaats in de garage voor andere rommel.

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Plaatsing L-elementen is achter de rug

Vorige vrijdag hebben ze eindelijk onze L-elementen geleverd. We hebben er lang op gewacht maar ze zijn er. Maandag zijn ze dan ook begonnen met de plaatsing ervan. Maandagavond was de achterkant reeds geplaatst en waren ze al volop bezig met de zijkant. Het is dus vrij vlot gegaan. Enkel het hoekelement was een zware bevalling omdat dit perfect juist moest staan.

Continue reading

VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)