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 you have this issue, start SharePoint 2013 Management Shell and do the following Continue reading

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 to use ScriptResx.ashx to be able to refer to resource strings inside JavaScript files).

In order to solve the problem, we added one JavaScript file for each language and named it res.cc-ll.js Continue reading

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 local administration rights and the sysadmin role on the database.

Continue reading

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 JSOM SharePoint API to get information about the current logged in user. Continue reading

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 encountered the following error in step 8: “Failed to install application files”. In more details, the exception in the log file was:

Failed to install the application content files. Continue reading