Blog

SharePoint

How to: Disable the “No end date” option when creating repeating events

When creating a repeating event using the recurrence column in a SharePoint calendar you have the option of not setting an end date. If, however, you wish to disable this option for your users you can by using the following jQuery script. jQuery(document).ready(function($){   var rb = $(".ms-formrecurrence input[value=’endDateRangeType0′]");   if(rb.length > 0){     […]

Read more...

Unable to approve multiple items

In SharePoint 2013 it is possible to approve multiple items in one go by selecting the items in a view and clicking on the Approve/Reject button in the Items tab. However, if the user has the appropriate permissions for the item, but not for the list and site, the user can select multiple items and […]

Read more...

Workspace templates missing

In a previous post I explained how to enable meeting workspaces in SharePoint 2013. After installing and activating the solution, it is possible, however, that your meeting workspace templates are not available. In which case your screen will look something like this. This is because the webtemp_SapiensMPS.xml file is missing from the respective folder for […]

Read more...

How to: Use a dropdown to select the location for an event

When creating an event from a calendar you can usually only use a text box to specify the location of an event. This is because the location column is sealed and you cannot change the field type of this column. However, if you wish to use a dropdown to select the location, there are 3 […]

Read more...

SharePoint Designer: Errors were found when compiling the workflow

Today I tried to publish a SharePoint Designer Workflow and received the following error: “Errors were found when compiling the workflow. The workflow files were saved but cannot be run” The error detail was also not very informative: “Unexpected error on server associating the workflow” I found a lot of possible reasons and suggestions how […]

Read more...

How to: Archive items in SharePoint

Today I already explained how to clone a SharePoint list using a SharePoint power shell script. I used this script to create archive lists. Now I want to create a workflow to archive items after a certain time period. This is what I did: Create a calculated date time column “Archive Date” In my case […]

Read more...

How to: Clone a list using SharePoint power shell

In this short post I want to give you an example of how you can clone a SharePoint list using a SharePoint power shell script. Here is the script: # get web $web = Get-SPWeb http://yoursite # get list $list = $web.Lists["Your List"] # save list as a template without content $list.SaveAsTemplate($list.ID.ToString(), $list.ID.ToString(), "", $false) […]

Read more...

How to: Update item or document properties without changing the Modified or Modified By fields using SharePoint Powershell

Today I want to provide a useful SharePoint PowerShell script that allows you to update properties of a list item or a document without changing the Modified or Modified by fields and without firing any event receiver or workflow. In this example I have only changed the title of the first item in my list. […]

Read more...

Make the workspace field visible in an existing SharePoint 2013 calendar

In a previous post I explained how to enable meeting workspaces in SharePoint 2013. The solution also includes a calendar list template with the meeting workspace field visible. You can use this template to create new calendar lists and use meeting workspaces there. But what if you want to use meeting workspaces on an existing […]

Read more...