HOW TO: Change file extension of an existing item in SharePoint document library

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team. For various reasons, people want to change the file extension of an existing item in a document library.  For example, with SharePoint 2007, files with JSON extension in document library can be opened without problems.  However, once you upgrade…

4

SharePoint 2010: SQL limitations in lookup columns

This post is a contribution from Balaji Sadasivan, an engineer with the SharePoint Developer Support team. As most of you are already aware SharePoint stores both the person/group field and the metadata fields as lookup values internally. SharePoint dynamically creates a stored procedure to store the lookup values in SQL.  The stored procedure accepts a…

1

HOW TO: Change master page of a personal site in SharePoint 2013

This post is a contribution from Pavan Kumar, an engineer with the SharePoint Developer Support team. As in SharePoint 2007 and 2010, one of the ways to achieve this is to use FeatureStapling.  Below are the steps to be followed to get this working. Create a SharePoint 2013 Empty project in Visual Studio 2012 and…

7

HOW TO: Publish a LightSwitch App (high-trust) to SharePoint On-Premises environment

This post is a contribution from Raghavendra B Nanjaiah, an engineer with the SharePoint Developer Support team. Just wanted to publish this post provided the steps to publish a LightSwitch App to SharePoint On-Premises environment.  Hope you will find this useful. Section 1: Create issuer ID (same as high-trust app) 1. Check if any previously…

5

HOW TO: Deploy InfoPath List Forms for an External List using Visual Studio 2012 solution package

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team. Create a test site 1. We create a SharePoint site collection named http://intranet.contoso.com/sites/testsite/testexternallist. **It’s good to use a site which does not have lot of stuffs, best would be to create a new team site or blank site. 2….

0

HOW TO: Deploy a provider hosted app as an Azure site

This post is a contribution from Charls Tom Jacob, an engineer with the SharePoint Developer Support team. In this blog, I will describe the steps to deploy a provider hosted app on Windows Azure hosted site (same steps should work for any IIS sites for that matter).  The app will be deployed into SharePoint Online…

8

HOW TO: Add users to SharePoint Groups using SharePoint 2013 UserGroup.asmx Web Service

This post is a contribution from Raghavendra B Nanjaiah, an engineer with the SharePoint Developer Support team. Problem When you try to add users through the UserGroup.asmx web service (http://localhost/_vti_bin/UserGroup.asmx) in SharePoint 2013 with the sample code below. sp.UserGroup usrgrpService = new sp.UserGroup(); usrgrpService.Credentials = new System.Net.NetworkCredential("Administrator", "access", "contoso");   usrgrpService.AddUserToGroup("Dev Members", "usera", "contoso\\usera", "usera@contoso.com",…

2

HOW TO: Develop a workflow code activity in SharePoint 2013

This post is a contribution from Raghavendra B Nanjaiah, an engineer with the SharePoint Developer Support team. First part is to create our code activity and let the Workflow Manager and SharePoint 2013 know about it. 1. In VS 2012, click New Project, Workflow and choose Activity Library. 2. Delete the declarative Activity1.xaml from the…

26

Custom field types and rendering templates correlation with the new “Server Render” property of the ListFormWebPart

I worked on a few issues dealing with this subject recently and I thought I’ll share this out so that it can come handy for you. If you have developed custom field types and custom rendering template that uses server-side OM to achieve a certain UI behavior or to perform some server-side validation… read on! …

2

Running SharePoint 2013 in 2010 mode and solution “CompatibilityLevel”

This post is a contribution from Vitaly Lyamin, an engineer with the SharePoint Developer Support team. SharePoint 2013 allows users to run sites in SharePoint 2010 mode.  In this scenario, the solution (WSP) deployment needs to be deployed with the “CompatibilityLevel” flag set to “All”  or {14,15}. When deploying the solution from the Central Administration…

6