TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
SharePoint Developer Support Team Blog
The Official blog of the SharePoint Developer Support Team
Tags
Alerts
API
App Parts
Apps
Auto-hosted Apps
Azure
BCS
Browser back button
Browser Cache
calendar
CAML
claims authentication
Claims Provider
Client-Side Rendering
CMIS
CMIS APIs
code
CodeSample
Compilation Error
Content Query
crawled properties
CSR Render Mode
CTS
Custom Help Collection
customization
Delegate Controls
Deleting single event
Deployment
Discussion Board
Discussion Board Posts
EnablePageMethods
Event Handlers
External Content type filter
External Lists
Feature Stapling
Features
High-Trust Apps
HowTo
iFilters
InfoPath Forms
Information
jQuery
JSOM
Json
LDAP Query
LightSwitch
ListView control
Lookups
meetings
Multi-Value Lookup
MySites
No Code Stuffs
Object Model
On-demand
powershell script
Product Help
Programming
PropertyBag
PropertyMapping
Provider-Hosted Apps
Recurring Event
RegisterModuleInit
Rich Text Editor
RunWithElevatedPrivileges
Sample Code
ScriptManager
SharePoint 2007
SharePoint 2010
SharePoint 2013
SharePoint 2013 Project and Item Templates
SharePoint Apps
SharePointProductVersion
SignOut
Silverlight
SPAlert
SPD2013
SPHelpCollection
SQL
test
Trust
Trust Certificates
Upgrade
Upload Control
Upload redirection
User Profile Synchronization Connections
User Profiles
Visual Studio
Visual Studio 2012
WebAnalytics
webservices
WORKFLOW
Workflow Architecture Series
Workflow Code Activity
Workflow Custom Actions
Workflow History
Workflow Manager
Workflow Name
WorkflowContext
WorkflowStarting
XML Connector
Browse by Tags
TechNet Blogs
»
SharePoint Developer Support Team Blog
»
All Tags
»
howto
Related Posts
Blog Post:
HOW TO: Programmatically set/pass WorkflowContext from a Visual Studio workflow to a custom workflow action in SharePoint 2010
SharePoint Developer Support
This post is a contribution from Himani Sharma, an engineer with the SharePoint Developer Support team. Scenario: You have a workflow custom action that you’d like to be used in SharePoint 2010 workflow. This activity uses Microsoft.SharePoint.WorkflowActions.WorkflowContext to obtain WorkflowContext...
on
25 Sep 2012
Blog Post:
HOW TO: Change file extension of an existing item in SharePoint document library
SharePoint Developer Support
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...
on
8 Oct 2013
Blog Post:
HOW TO: Develop a workflow code activity in SharePoint 2013
SharePoint Developer Support
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...
on
28 Aug 2013
Blog Post:
HOW TO: Create a custom ASPX association and initiation forms for Visual Studio Workflow
SharePoint Developer Support
This post is a contribution from Himani Sharma, an engineer with the SharePoint Developer Support team. Requirement You want to use custom Association and Initiation forms with your Visual Studio workflows. InfoPath forms do not fulfill your requirement due to the limitation they pose in terms of controls...
on
25 Sep 2012
Blog Post:
HOW TO: Programmatically modify values of people and groups column of type multi-value using Lists.asmx in SharePoint 2010
SharePoint Developer Support
This blog post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team. In this post, I’ll show you how to use UpdateListItems method of the Lists.asmx web service to modify a ListItem which has multi-value people and group column. Most of us tend to fall into...
on
13 Mar 2013
Blog Post:
HOW TO: Deploy a provider hosted app as an Azure site
SharePoint Developer Support
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...
on
5 Sep 2013
Blog Post:
A case of custom email templates not used when alerts are created from code in SharePoint
SharePoint Developer Support
Recently, I had a case where customer was creating SPAlert object using SharePoint object model code and things were not working out well. What seem to happen was that whenever the condition that warrants alert trigger is met (e.g., an item is changed in a list), the alert email that was sent out was...
on
29 May 2012
Blog Post:
HOW TO: Generate Document IDs for custom content types with Inherits=False
SharePoint Developer Support
This blog post is a contribution from Deepak Kumar, an Engineer with the SharePoint Developer Support team. The “Inherits” attribute of the custom content type when set to “False” indicates that the custom content type will only inherit Fields that were in the parent content...
on
17 Apr 2013
Blog Post:
HOW TO: Display runtime-generated data in a ListView control in SharePoint web part
SharePoint Developer Support
This blog post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team. We often find that ListView control is used to display data which is fetched from a database directly. After reading a lot of articles where I could not find the specific article that talks...
on
15 Mar 2013
Blog Post:
HOW TO: Customizing SharePoint AppWeb web template
SharePoint Developer Support
This blog post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer support team. SharePoint Apps provides a great deal of flexibility and how much we can do with it. Using WebTemplate we can direct AppWeb (the SPWeb under which the App is hosted) to use any other Site Template...
on
2 Nov 2012
Blog Post:
HOW TO: Include symbols in rich text editor in MOSS 2007
SharePoint Developer Support
This post is a contribution from Jaishree Thiyagarajan, an engineer with the SharePoint Developer Support team. Note: The below walk-through is based off of a publishing site. We can include symbols in rich text editor in MOSS 2007 in just 3 easy steps. Step1 Copy the image (symbol.jpg) to C:\Program...
on
7 Sep 2012
Blog Post:
How to subscribe for an alert for a “Post” in discussion board programmatically
SharePoint Developer Support
This post is a contribution from Jaishree Thiyagarajan, an engineer with the SharePoint Developer Support team. Let’s first talk about some basic facts about discussion board and alert terminologies. Discussion Board We all know about discussion board. Discussion board is where we can add “posts” and...
on
28 May 2012
Blog Post:
HOW TO: Add a custom field to blog posts in SharePoint 2013
SharePoint Developer Support
This blog post is a contribution from David Wilborn, an engineer with the SharePoint Developer Support team. I recently worked a project where we needed to add a custom field to blog posts and use the new Client Side Rendering in SharePoint 2013 to display the field. My first thought was to create...
on
9 Apr 2013
Blog Post:
Using SPSite and SPWeb objects with RunWithElevatedPrivileges: Don’t cross the borders
SharePoint Developer Support
This blog post is a contribution from David Wilborn, an engineer with the SharePoint Developer Support team. Although it’s mentioned in the SPSecurity.RunWithElevatedPrivileges documentation , I find that there is still often a lack of clarity for developers when using SPSite and SPWeb objects in conjunction...
on
13 Mar 2013
Blog Post:
HOW TO: Delete AD group from SharePoint site collection using web services
SharePoint Developer Support
This blog post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team. I recently worked on a project where we had to delete an AD group which has permissions on a specific site collection. Since we had a limitation to not use server object model, I used web...
on
25 Mar 2013
Blog Post:
HOW TO: Programmatically delete a single instance of a recurring event in a SharePoint calendar
SharePoint Developer Support
This blog post is a contribution from Kevin Jacob Kurian, an engineer with the SharePoint Developer Support team. When we edit a single instance of a recurring event, it actually creates a new instance of the event and deletes the old one. The old instance is deleted by setting certain attributes...
on
25 Mar 2013
Blog Post:
HOW TO: Not allow a user to add multiple items of a meeting at the same time & date in a Calendar list for a user in SharePoint 2010
SharePoint Developer Support
This post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team. By default, SharePoint 2010 allows you to add multiple items in the calendar for the same date and time. Below screenshot shows that Meeting1 and Meeting2 occur at the same date and time for...
on
1 Aug 2012
Blog Post:
HOW TO: Change master page of a personal site in SharePoint 2013
SharePoint Developer Support
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...
on
17 Sep 2013
Blog Post:
HOW TO: Use REST to POST in Hosted SharePoint Apps
SharePoint Developer Support
This blog post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team. This blog post demonstrates the use of SharePoint 2013 REST from AppWeb to issue HTTP POST on HostWeb. This does not require cross domain calls or the use of SP.RequestExecutor.js. Cross-site...
on
15 Apr 2013
Blog Post:
HOW TO: Create UserProfile Synchronization connection to BCS and map User Profile Property to BCS field in SharePoint 2010
SharePoint Developer Support
This blog post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team. The end goal is to populate User Profile Property values from an external database. From SharePoint 2010 UI, this requires the following three steps: 1. Create BCS Model. Have Finder...
on
18 Mar 2013
Blog Post:
HOW TO: Publish a LightSwitch App (high-trust) to SharePoint On-Premises environment
SharePoint Developer Support
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...
on
16 Sep 2013
Blog Post:
HOW TO: Add users to SharePoint Groups using SharePoint 2013 UserGroup.asmx Web Service
SharePoint Developer Support
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...
on
28 Aug 2013
Blog Post:
HOW TO: Access list item in WorkflowStarting event receiver when “Required documents to be checked out” option is set to “Yes”
SharePoint Developer Support
This post is a contribution from Charls Tom Jacob, an engineer with the SharePoint Developer Support team. Scenario: You have a SharePoint library in which “Require documents to be checked out before they can be edited?” is set to Yes . You have a WorkflowStarting event receiver associated to the list...
on
28 Jun 2013
Blog Post:
HOW TO: Deploy InfoPath List Forms for an External List using Visual Studio 2012 solution package
SharePoint Developer Support
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...
on
6 Sep 2013