Select Page

Moving day

As you've might have noticed, if you are a regular reader. The site has moved. During the weekend...
Read More

Get Windows 7, 8 of Windows 10 (bootcamp) to Recognize a Thunderbolt-to-Ethernet Adapter

Note: This is a bit off-topic from my usual SharePoint ramblings, but I just needed to archive...
Read More

Update SharePoint groups in all webs in a SiteCollection using PowerShell

Say you have a ton of subwebs in a sitecollection. Each web have unique permissions and unique...
Read More

Update SharePoint groups in all webs in a SiteCollection using PowerShell

Say you have a ton of subwebs in a sitecollection. Each web have unique permissions and unique groups. You would like to update alle membergroups to have Contribute permissions, instead of Edit permissions. If you need to update all ownergroups or visitorgroups, just...

DateDif in SharePoint

The function for calculating the difference between two dates in a calculated column in SharePoint, without counting the weekends: =(DATEDIF([Start Date];[End Date];"D"))-INT(DATEDIF([Start Date];[End Date];"D")/7)*2-IF((WEEKDAY([End Date])-WEEKDAY([Start...

Office 365 public website – going down

I've blogged about the discontinuing of public websites a while back and I promised that I would write an update, when there was something to update on. And guess what! Somethings updating. When the changes was announced, there was a small outcry from a few partners,...

Office 365 shuts down public website feature

Using Office 365 for a public website have always been a simple but not so sweet ride. Microsoft never got that one right and most likely, that is why they are discontinuing that part of Office 365. According to this support document existing websites will have two...

Formatting dates in Itemstyle.xsl

Insert this line at the top xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" That will give you a header looking like this: [xml] <xsl:stylesheet version="1.0" exclude-result-prefixes="x d xsl msxsl cmswrt"...

Office 365 Summit in Copenhagen is well underway

I am sitting here in Cinemaxx. For a brief moment, I managed to get some of the room to myself. Otherwise it's pretty packed with around 600 IT-people. All which are interested in Office 365, Lync, Project, SharePoint, Sales etc. And so far it's going great. The...

SharePoint Image Gallery that doesn’t suck in 7 easy steps

[Update] I got an e-mail from Robert, who has refined the solution. Thank you for sharing Robert. Hi Ulrich, hi Joe, first I want to thank Ulrich for his great work and sharing it with us! I also don't have the problem with more than 40 pictures in a picture gallery...

Pop-up modal window SP2010

Code for adding pop-up links to list items and to Library items. Full Code For a List Item:  [html] <a onclick="javascript:NewItem2(event,...

Pop-up modal window SP2013

Simple javascript command to open the dialog modal form function OpenPopUpPage(url, callback, width, height) function OpenPopUpPageWithTitle(url, callback, width, height, title) function OpenPopUpPageWithDialogOptions(dialogOptions) DialogOptions supports:...

PowerShell – Create multiple SPWebs

I often find myself in need of building a structure of SPWebs for demo purposes or for custom migrating scenarios. In order for me to build the structure fast, test it and then tear it down or extend it, I use PowerShell. Just extend the $url and the $name so they...

PowerShell – Create MySites for all users

I found this script to be the most effective for creating MySites in advance for all users. [ps] #--------------------------------------------------------------------------------- #The sample scripts are not supported under any Microsoft standard support #program or...

Clear SharePoint Designer Cache

It can happen that SharePoint Designers local files gets out-of-sync. For some reason hitting the update button won't help. Easy fix: Delete the local cache by deleting the contents of these two folders: %APPDATA%\Microsoft\Web Server Extensions\Cache...

Import user profile pictures to SharePoint using PowerShell

Best solution to create Automatic UserProfile Import to SharePoint Create folder "ImportProfileImages" Create subfolder "ProfileImages" Create "c:\SPSolutions\ImportProfileImages\UpdateUserProfiles.ps1" with the code from SharePoint Use Cases [ps] cls if((Get-PSSnapin...

Force InfoPath to open in browserview

A normal link to an InfoPath template could be /FormServerTemplates/template.xsn But in order to get pageviews in InfoPath to work in IE11, you have to add the domain in Compatibility View Settings, thus breaking the function of starting a new form in the browser,...

Hide a text field in a SharePoint form using jquery

If you have several SharePoint Forms, where you want to hide the input field and using SharePoint Designer to create a custom form is not an option. Here is my collection of jQuery you can insert, using the ScriptEditor webpart. Edit the "view" of a ListItem...

Force batch file to answer yes to prompts

A little while ago, I came across this issue at one of my clients. They needed the SharePoint Instance of the MSSQL server to restart at 5 am every morning. That seemed like a fair task to fix pretty easily. It turns out though, that the prompt, asking the user, if...

Upgrade Your Office 365 Site Collections by April 1st 2014

In case you've missed it. Microsoft have been upgrading SharePoint Online on the Office 365 platform since late 2012. That means that they are now finished upgrading all the SharePoint Farms. Or at least in the European Datacenters, where I am seated. The announcement...