Show/hide custom action with JSON Formatter in SharePoint based on file type

The Case I had a customer case where they wanted to show or hide a setValue custom action (customRowAction) conditionally based on the type of document in a SharePoint document library. The custom action without any conditions applied looks like this: The requirement was that they wanted to show this toggle button (setValue custom row … Continue reading Show/hide custom action with JSON Formatter in SharePoint based on file type

“JavaScript-only” deployment of display templates

In most articles concerning the deployment of search display templates to SharePoint the method described is to copy one of the existing html design files in the "/_catalogs/masterpage/display templates" folder and save it with a new name in the same folder. But, when deploying from Visual Studio or from a package wsp, I think a … Continue reading “JavaScript-only” deployment of display templates

Custom e-mail content in a SingleTask activity in SharePoint 2013 Workflows

When creating a SharePoint 2013 workflow in Visual Studio 2013 you might want to assign a task to a person involved in the workflow. This can easily be done by using the built-in SingleTask activity. Here is an example of such an activity:   The SingleTask activity automatically sends an e-mail to the person that … Continue reading Custom e-mail content in a SingleTask activity in SharePoint 2013 Workflows

SharePoint REST API – getting user information from list item field

If you are using the SharePoint REST API to fetch list items, you might need to present the user information in a user field of the list item. If you for example have a Task List and want to present the Assigned To field, you will need to build the REST Query in a certain way. … Continue reading SharePoint REST API – getting user information from list item field

Search Service Application stuck in “Paused for:External request”

If you discover that the search service application in your environment is paused (look under "administrative status" under Search Administration in Central Administration), you can first try to find the reason, and if the service is stuck, you can try to force it to resume. Typically, the administrative status could be "Paused for:External request". If … Continue reading Search Service Application stuck in “Paused for:External request”

Localize JavaScript files in SharePoint

In a project I was working on, I needed a way to localize strings in JavaScript files in order to support different languages in the application. The solution was designed to be a SharePoint sandboxed solution, so we could not deploy custom resx files to the file system (this article by Waldek Mastykarz explains how … Continue reading Localize JavaScript files in SharePoint

Enable Workflow Manager 1.0 in a SP2013 development environment

Preparations: The Workflow Service and Service Bus can be run as the farm account, but it is recommended to use specific accounts for these services. I created the following to accounts in my Active Directory: wfService (for the workflow service) and sbService (for the service bus) The installation must be done with a user that has … Continue reading Enable Workflow Manager 1.0 in a SP2013 development environment

Setting default value of person field in SharePoint 2013 with JSLink

Often, there is a need for setting a default value in a person field. In this article, we will have a look at how to set a person field value to the current logged in user. This involves using the Client People Picker with JSLink for rendering the field in the new form and using the … Continue reading Setting default value of person field in SharePoint 2013 with JSLink

Failed to install application files – SharePoint 2013 SP1

Today, I was upgrading a SharePoint 2013 development server that had been "laying low" for a while to Service Pack 1. The installation itself went without any problems – I downloaded the SP1 executable from Microsoft and ran the installation. After the installation, it was time to run the SharePoint Products Configuration Wizard, and I … Continue reading Failed to install application files – SharePoint 2013 SP1

Windows Phone Mobile apps for SP2013

Yesterday I attended the "Building Windows Phone Mobile apps with SharePoint 2013" sesson, here are a few notes I made:The new Windows Mobile API in the Client Side APIs, in addition to SharePoint mobile SDK, makes it easy to extend SharePoint to Windows Phone. It includes authentication via CSOM, push notification possibilites, location, etc. It … Continue reading Windows Phone Mobile apps for SP2013