How to validate file names of attachments on SharePoint forms
A few months ago I already posted a solution to check duplicated attachment names on SharePoint forms. Another common problem source are invalid file names. For example, if you have a standard list...
View ArticleHow to use PowerShell to check if a SharePoint Group with a specified ID or...
Recently I created a PowerShell script that should delete a group that has a specific name. If the script runs the second time, it throws an exception since the group is already deleted. If you want to...
View ArticleImporting multi-level Lookup Tables using PowerShell
Recently I’m working quite a lot with Project Server 2013. My tasks include – beyond development – creation of methods that supports the continuous delivery of the results from the development...
View ArticleHow to set the value of a Project Server Enterprise Custom Field via the...
Recently I had to set the value of a Project Server Enterprise Custom Field from a .NET client application. The samples I found on the web (like this one) used the PSI , and I found them rather...
View ArticleNo more “Show More” in Tasks lists
I meet frequently with the request to turn off the new “Show More” feature at the SharePoint 2013 Tasks lists. The next screenshot shows the default new task form as displayed after page load with the...
View ArticleError when opening PWA Settings in Central Administration
Today I faced an error when I was to configure some of the PWA setting in the Central Administration (Central Administration / General Application Settings / PWA Settings [Manage]). When I clicked the...
View ArticleManaging Project Server Event Handlers via the Managed Client Object Model
Project Server events provide a great way to extend the functionality of the product by custom logic. For example, you can write code that will be executed if the web site of the project was created...
View ArticleManaging Project Server Lookup Tables via the Managed Client Object Model
In my former post I described, how we can manage Project Server event handlers via the managed client object model. In the current post I show you how to do that in case of lookup tables. As I wrote in...
View ArticleManaging Project Server Enterprise Custom Fields via the Managed Client...
In the previous post I described, how to manage Project Server lookup tables via the managed client object model. In this current post I provide you some code snippets that help to manage enterprise...
View ArticleThe Pitfall of SharePoint Alerts
Recently we received a complain from one of our users. She has created a subscription for alerts on changes of a list, but as she decided later to cancel the subscription, she got an error (access...
View ArticleHow to Move all of the Site Collections of a Web Application into a Single...
Recently we had a task at one of our clients to consolidate all of the site collections of a SharePoint web application into a single content database. There were around 10 content DBs in this web...
View ArticleChanging Site Collection Administrators via PowerShell Using Elevated...
Recently we migrated the users of a SharePoint farm into another domain. As part of the migration the MySites of the users should have been migrated as well. For the user migration we used the...
View ArticleChanging Site Collection Administrators via PowerShell without Elevated...
In my recent post I’ve already illustrated how to read and set the primary and secondary site collection administrators (the Owner and SecondaryContact properties of the corresponding SPSite object)...
View ArticleSetting the Value of an URL Field or other Complex Field Types using...
Assume you have a SharePoint list that includes fields of type Hyperlink or Picture (name this field UrlField), Person or Group (field name User) and Lookup (field name Lookup) and you need to set...
View Article“Decoding” SharePoint Error Messages using PowerShell
When working with SharePoint errors in ULS logs, you can find the error message near to the stack trace. In case of simple methods the stack trace may be enough to identify the exact conditions under...
View ArticleFurther Effects of Running Code in Elevated Privileges Block
A few days ago I already published a blog post about the effects of running your PowerShell code in an elevated privileges block. In the past days I made some further tests to check what kind of effect...
View ArticleMigrating AngularJS-based SharePoint 2013 Applications to Former SharePoint...
In the past years we created several more or less simple AngularJS-based applications for SharePoint 2013 using REST / OData or the JavaScript Client Object Model (JSCOM). As we found this combo quite...
View ArticleUnhandled Exception in Gantt Chart View after Editing Calendar Item in...
The other day a user complained that since last week he receives an exception when navigating to a customized Calendar list in SharePoint. The error details found in ULS logs and displayed on the web...
View ArticleStrange (?) Behavior of the Client Object Model You should be Aware of
Note: The code examples in this post are based on the managed client OM (C#), however, you can expect the same behavior when working with the JavaScript / Silverlight versions of the client OM, both...
View ArticleHow to Programmatically “Enable reporting of offensive content” on a...
Recently a question was posted on sharepoint.stackexchange.com about how to “Enable reporting of offensive content” from code on SharePoint 2013 community sites. The Community Settings page...
View Article