Category Archives: SharePoint

SPClientSideDeployment 3.3 adds option to publish on deployment

With SPClientSideDeployment 3.3 you can now have the file(s) published automatically on deployment from Visual Studio. This option is disabled by default as it would require additional calls to SharePoint during deployment. To enable this option, go to Tools \ … Continue reading

Posted in SharePoint, SPClientSideDeployment | Leave a comment

Handling pre-save action for publishing pages in JavaScript for SharePoint

In SharePoint 2013 it is fairly well known that you can catch and handle the pre-save action in JavaScript for list item forms by implementing the PreSaveAction() method. This however does not work for publishing pages as this method is … Continue reading

Posted in SharePoint, SharePoint 2013 | 5 Comments

Solving IIS SMTP mails stuck in Queue folder when using Gmail

It is actually quite easy to setup a local SMTP and routing through Gmail to test sending emails from your application. There are a few good posts on this that you can follow: https://fmuntean.wordpress.com/2008/10/26/how-to-configure-iis-smtp-server-to-forward-emails-using-a-gmail-account/ (note that it works for me without … Continue reading

Posted in CRM, SharePoint | Leave a comment

SPClientSideDeployment now supports deploying assemblies to GAC (On-Prem only)

While these days server-side solution looks as if it’s going out of fashion, the fact is quite a number of people are still dependent on them for various reasons. Back in the days when server-side solution was the only (practical) option, … Continue reading

Posted in SharePoint, SharePoint 2013, SPClientSideDeployment | Leave a comment

SPClientSideDeployment 3.1 brings support for minified JS/CSS and seamless dev-prod transition

I have just released version 3.1 of SPClientSideDeployment with added support for minified JS/CSS. You are now able to include minified files in the deployment package that the tool generates, and instruct the generated PowerShell script to use them during … Continue reading

Posted in SharePoint, SharePoint 2013, SPClientSideDeployment | Leave a comment

Setting HTML content for Content Editor Web Part by code

To set the content of a Content Editor Web Part (CEWP) by code you need to set the Content property of the ContentEditorWebPart class. There is an example of how to do this in the aforementioned MSDN link. There is however … Continue reading

Posted in SharePoint | Leave a comment

SPClientSideDeployment 3.0 adds auto-deploy on save option and support for compilable JS and CSS

I have just released version 3.0 of SPClientSideDeployment with two major enhancements: Auto-deploy on save: when this option is enabled, files will automatically be deployed to SharePoint each time you save them Support for compilable JavaScript and CSS: the tool detects … Continue reading

Posted in SharePoint, SPClientSideDeployment | 2 Comments

Enabling native TypeScript support in other project types in Visual Studio 2015

Native TypeScript support in Visual Studio 2015 is not available for all project types by default. As far as I’m aware, it is only available for the ASP.NET Web Application project type. Sometime, you may be working with TypeScript but … Continue reading

Posted in CRM, JavaScript, SharePoint | Leave a comment

New version of SPClientSideDeployment adds support for folder-based file deployment and automatic folder creation

I have just released version 2.0 of SPClientSideDeployment with two major enhancements: Folder-based file deployment – this allows you to define a local folder in the DeploymentSettings.xml file. All files under this folder (and its sub-folders) will be processed by the tool. … Continue reading

Posted in SharePoint, SPClientSideDeployment | 1 Comment

New deployment context menu in SPClientSideDeployment 1.2

I have just released version 1.2 of SPClientSideDeployment. This version adds a “Deploy to SharePoint” context menu to files and folders in the Solution Explorer. With this addition, you can now selectively deploy files that you typically don’t open in … Continue reading

Posted in SharePoint, SPClientSideDeployment | Leave a comment