Why can’t We Send E-Mails from the SharePoint JavaScript Client Object Model,...
As you might know, we can send e-mails from the SharePoint managed client object model (see code sample below), but not from the JavaScript version of the client object model. Note: This feature has...
View ArticlePermission-based Rendering Templates, Part 1: The Asynchronous Solution
Recently I read a question on SharePoint StackExchange about how one can restrict the available options in a choice field based on the group membership of the current user. My answer was to create a...
View ArticlePermission-based Rendering Templates, Part 2: The Synchronous Solution
In my recent post I’ve illustrated how can you implement a permission-based custom rendering template using the JavaScript client object model (JSCOM) and jQuery. That rendering template was...
View ArticleCreating an AngularJS Directive for Mouse Hold
Most of the time we use AngularJS to create our single-page application (SPA) in SharePoint and Project Server. Recently we had a requirement that AngularJS does not provide an out-of-the-box solution...
View ArticleUsing Edge.js as a Replacement for win32ole
Last month I had to create a NodeJS script that invokes methods of ActiveX object. I work in a Windows-only environment, so it should be no problem. I find the win32ole package quickly. Based on its...
View Article‘The URL "[url]" is invalid. It may refer to a nonexistent file or folder, or...
Recently one of our SharePoint administrators wanted to change the address of a site via Site Settings / Title, description, and logo: He got an error with a correlation ID. Based on this ID we found...
View ArticleSharePoint Designer Workflow Gets Suspended after Task Completion – How to...
Nowadays we are working quite a lot with SharePoint Designer 2013 based workflows. On workflows I mean the “new”, Workflow Manager based ones. Recently we wanted to access a workflow task field beyond...
View ArticleUsing PowerShell and REST with Project Server (or SharePoint) for Reporting
If you are working with Project Server or SharePoint Server, you should not ignore the potential provided by PowerShell and the REST (OData) interface to create simple reports. You should although at...
View ArticleHow to Change the Service Account for the Workflow Manager
A few weeks ago we made a mistake when installing Workflow Manager in a new environment, as we have chosen a wrong account name as the service account for Workflow Manager. As a first try, we simply...
View ArticleMicrosoft.Workflow.Client.InvalidRequestException: Failed to query the OAuth...
Recently we installed a new Workflow Manager farm (a single-server one) on the front-end server of one of our SharePoint farms. I wanted to register the Workflow Manager for a web application in the...
View ArticleGenerating Pseudo GUIDs for Your Project Server Entities
As you might have known, since the version 2013, Project Server utilizes pseudo-GUIDs to improve Project Server performance. These ones has the format of a “classical” GUID, but actually generated...
View ArticleHow to Create a Simple “Printer Friendly” Display Form
Our users needed a simply way to print items in SharePoint, that mean only item properties without any ribbon or navigation elements. Assuming you have a list ‘YourCustomList’ available at the URL...
View ArticleWorking with the REST / OData Interface from PowerShell
If you follow my blog you might already know that I am not a big fan of the REST / OData interface. I prefer using the client object model. However there are cases, when REST provides a simple (or even...
View ArticleDisabling SharePoint Alerts Temporarily for a Specific SharePoint List
Recently we extended a SharePoint list in our test environment with a few new fields. Users have been complained that they received immediate notifications due to their existing subscriptions on the...
View Article"The file name you specified is not valid or too long. Specify a different...
Recently a user complained, that although he can create and copy files on a mapped drive on his Windows 7, linked to a SharePoint document library, the following error message was displayed to him in...
View ArticleGetting a List of Checked-Out Projects from PowerShell via REST
We have an application running as a monthly scheduled batch process that updates enterprise fields of projects on our Project Server implementation based on values taken from various satellite systems....
View ArticleA Quick and Dirty Solution to Create a Blank Site in SharePoint 2013
Recently one of our clients requested a change in a custom-built SharePoint application. The original version of the application was built for SharePoint (MOSS) 2007 using Visual Studio 2008, then...
View ArticleCopying Flat Lookup Table Entries via the Managed Object Model
Assume you have in Project Server a flat lookup table (I mean a lookup table having a single level, without any hierarchy between the entries), and you would like to copy the entries to another...
View ArticleCopying Hierarchical Lookup Table Entries via the Managed Object Model
After I’ve described, how to copy flat lookup tables via the Project Server managed object model, this time I will go a step forward, and show how you can copy lookup tables with hierarchy, like the...
View ArticleHow to get the Url of the “Edit View” Page of a Specific SharePoint List View...
There might be cases when you can’t access the Edit View page of a specific list view from the SharePoint UI. For example, there is no such direct link in the case of Survey lists. There is no ribbon...
View Article