How-tos for SharePoint 2013

Find how-to articles and related code examples that show how to perform basic development tasks in SharePoint 2013, including how to set up your development environment and start building sites, mobile apps, and apps for SharePoint.
Applies to: apps for SharePoint | apps for Office | Office 365 | SharePoint Server 2013 | SharePoint Foundation 2013
Title | Summary |
|---|---|
How to: Set up an environment for developing apps for SharePoint on Office 365 | Learn about getting started with apps for SharePoint development on an Office 365 Developer Site. |
How to: Create a basic app for SharePoint by using "Napa" Office 365 Development Tools | Learn how to create a basic app for SharePoint by using "Napa" Office 365 Development Tools. |
How to: Set up an on-premises development environment for apps for SharePoint | Learn how to set up a development environment that is specifically suited to developing apps for SharePoint with an on-premises installation of SharePoint 2013. |
Learn how to create a basic provider-hosted app for SharePoint with the Office Developer Tools for Visual Studio 2012, how to interact with SharePoint 2013 sites by using the SharePoint CSOM, and how to implement OAuth in an app for SharePoint. | |
Create a basic autohosted app for SharePoint with the Office Developer Tools for Visual Studio 2012, interact with SharePoint 2013 websites by using the REST/OData web service, and implement OAuth in an app for SharePoint. | |
Learn how to create a basic SharePoint-hosted app for SharePoint with the Office Developer Tools for Visual Studio 2012. |
Title | Summary |
|---|---|
How to: Complete basic operations using SharePoint 2013 client library code | Learn how to write code to perform basic operations with the SharePoint 2013 .NET Framework client object model (CSOM). |
How to: Complete basic operations using JavaScript library code in SharePoint 2013 | Learn how to write code to perform basic operations using the JavaScript client object model in SharePoint 2013. |
How to: Complete basic operations using SharePoint 2013 REST endpoints | Learn how to perform basic create, read, update, and delete (CRUD) operations with the SharePoint 2013 REST interface. |
How to: Use a SharePoint website's style sheet in apps for SharePoint | Learn how to use a SharePoint 2013 website’s style sheet in an app for SharePoint. |
How to: Use the client chrome control in apps for SharePoint | Learn how to use the chrome control in apps in SharePoint 2013. |
Learn how to create an app part in SharePoint 2013 that is available in the Web Part gallery of the host web when you deploy your app for SharePoint. | |
How to: Create custom actions to deploy with apps for SharePoint | Learn how to create a custom action in SharePoint 2013 that deploys to the host web when you deploy an app for SharePoint. |
How to: Customize a list view in apps for SharePoint using client-side rendering | Learn how to customize a list view in a SharePoint-hosted app by using the client-side rendering technology in SharePoint 2013. |
How to: Use the client-side People Picker control in apps for SharePoint | Learn how to use the client-side People Picker control in apps for SharePoint. |
How to: Create a custom proxy page for the cross-domain library in SharePoint 2013 | Learn how to create a custom proxy page to access data in a remote service from a SharePoint webpage by using the cross domain library in SharePoint 2013. |
How to: Query a remote service using the web proxy in SharePoint 2013 | Learn how to access data in a remote domain from a page that is hosted in SharePoint 2013 by using the web proxy. |
How to: Access SharePoint 2013 data from remote apps using the cross-domain library | Learn how to access data in a SharePoint website from a remote app by using the cross domain library in SharePoint 2013. |
Learn the basics about how to handle, add, and remove events in an autohosted app for SharePoint by using the Office Developer Tools for Visual Studio 2012. | |
Learn the basics about how to create a receiver and add or remove handlers for events that occur to an autohosted app for SharePoint by using the Office Developer Tools for Visual Studio 2012. | |
Learn how to handle events in a provider-hosted app for SharePoint by using Visual Studio 2012. | |
How to: Create a cloud-hosted app that includes a custom SharePoint list and content type | Create an app for SharePoint that combines a cloud-hosted web application with custom SharePoint-hosted list templates, list instances, and custom content types by using the Office Developer Tools for Visual Studio 2012. Learn how to interact with SharePoint 2013 app webs by using the REST/OData web service, and how to implement OAuth in an app for SharePoint. |
Learn the different ways to retrieve user identity and user information in SharePoint 2013. | |
Localize an app for SharePoint by using resource files, JavaScript "resource" files, and other techniques. | |
Learn how to create a high-trust app for SharePoint 2013. A high-trust app is a provider-hosted app for use on-premises that uses the server-to-server protocol. | |
How to: Package and publish high-trust apps for SharePoint 2013 | Learn how to package and publish a high-trust app for SharePoint for on-premises use. |
How to: Create an autohosted app that includes a SQL Server database | Create an autohosted app for SharePoint that includes a SQL Azure database by using the Office Developer Tools for Visual Studio 2012. |
Title | Summary |
|---|---|
How to: Package apps for SharePoint for publishing by using Visual Studio | Learn how to package your app for SharePoint by using Visual Studio 2012. |
How to: Create or edit your seller account in the Microsoft Seller Dashboard | The Microsoft Seller Dashboard is the central location for app developers to submit apps for Office and SharePoint. Learn how to create a seller account, including a marketing profile, so that you can submit apps for inclusion in the Office Store. |
How to: Create Client IDs and secrets in the Microsoft Seller Dashboard | Learn how to create Client IDs and secrets, and associate them with your apps in the Seller Dashboard to enable Open Authorization (OAuth) authorization services in your apps for Office and SharePoint. |
The Microsoft Seller Dashboard enables software developers to submit apps for SharePoint and Office to the Office Store. Learn how to submit your apps for approval and inclusion in the Office Store. | |
How to: Create an effective Office Store listing for your app for Office or SharePoint | Get guidance on how to create an effective Office Store listing: name your app appropriately, write effective, engaging app descriptions for your app, and include consistent, properly formatted logos with your app submission to the Seller Dashboard. |
Title | Summary |
|---|---|
Learn how to add code to your app for Office that checks the validity of a user’s app license, and takes action based on the app license properties. Load test app license tokens to test your license checking code. | |
Learn how to add code to your app for SharePoint that checks the validity of a user’s app license, and takes action based on the app license properties. Load test app license tokens to test your license checking code. |
Title | Summary |
|---|---|
If the behavior of your solutions depends on the locally installed SKU of SharePoint 2013 or Project Server 2013, use the code sample in this article to find the SKU information you need. | |
How to: Set up an environment for developing mobile apps for SharePoint | Learn about the system requirements and configuring a development environment for SharePoint mobility projects. |
Title | Summary |
|---|---|
Learn how to customize a field type by using the client-side rendering technology in SharePoint 2013. | |
How to: Customize list item queries and filter data for Windows Phone apps | Customize the data queries on which the views in a Windows Phone app are based. |
How to: Customize the user interface of a SharePoint 2013 list app for Windows Phone | Customize the Windows Phone user interface generated by the Windows Phone SharePoint List Application template. |
Title | Summary |
|---|---|
How to: Create a companion mobile app for an app for SharePoint | Learn how to create a companion mobile app for an existing or new autohosted app in SharePoint 2013. |
How to: Set up an environment for developing mobile apps for SharePoint | Learn about the system requirements and configuring a development environment for SharePoint mobility projects. |
Create a Windows Phone app in Visual Studio based on the Windows Phone SharePoint List Application template. | |
How to: Store and retrieve SharePoint list items on a Windows Phone | Learn about the Windows Phone application life cycle and storing network data locally. |
How to: Implement business logic and data validation in a Windows Phone app for SharePoint 2013 | Implement data validation in a Windows Phone app created by using the Windows Phone SharePoint List Application template. |
How to: Support and convert SharePoint 2013 field types for Windows Phone apps | Implement data-conversion logic to support SharePoint field types in Windows Phone apps. |
How to: Customize list item queries and filter data for Windows Phone apps | Customize the data queries on which the views in a Windows Phone app are based. |
How to: Customize the user interface of a SharePoint 2013 list app for Windows Phone | Customize the Windows Phone user interface generated by the Windows Phone SharePoint List Application template. |
How to: Use multiple SharePoint 2013 lists in a Windows Phone app | Create Windows Phone apps that use data from multiple SharePoint lists. |
How to: Configure and use push notifications in SharePoint 2013 apps for Windows Phone | Create a solution in SharePoint Server for sending push notifications and develop a Windows Phone app for receiving the notifications. |
How to: Create a mobile app in SharePoint 2013 that contains data from an external data source | Learn how to create a simple mobile app in SharePoint 2013 that contains data from external data source by using Business Connectivity Services (BCS) and connecting to an external list. |
How to: Integrate maps with Windows Phone apps and SharePoint 2013 lists | Learn how to integrate location information and maps in SharePoint lists and location-based web and mobile apps for SharePoint, by using the new Geolocation field, and by creating your own geolocation-based field types. |
How to: Build search-driven mobile apps with the Navigation and Event Logging REST interfaces | SharePoint Server 2013 introduces the Navigation and Event Logging REST interfaces, enabling you to create a search-driven mobile app for mobile devices such as phones and tablets that run on operating systems other than Windows—for example, Android and iOS. |
How to: Export the Name field in a Document Library list to a mobile app | Export the Name field of a Document Library list to a mobile app by using the Visual Studio SharePoint List wizard. The Name field does not appear automatically when a user creates a mobile app for a document library in SharePoint. |
Title | Summary |
|---|---|
How to: Use code to pin terms to navigation term sets in SharePoint 2013 | Learn how to use code to pin terms to navigation term sets. |
Learn how to create a device channel, change a device channel, delete a device channel, and reorder device channels in SharePoint Server 2013. | |
How to: Map a network drive to the SharePoint 2013 Master Page Gallery | Learn how to map a network drive to the Master Page Gallery so that you can use Design Manager to upload design files in SharePoint Server 2013. |
How to: Convert an HTML file into a master page in SharePoint 2013 | With Design Manager, you can convert an .html file into a SharePoint 2013 master page, a .master file. After the conversion, the HTML file and master page are associated, so that when you edit and save the HTML file, the changes are synced to the associated master page. |
Learn how to map a master page to a SharePoint 2013 site. | |
When you use Design Manager to create a page layout, two files are created: an .aspx file that SharePoint uses, and an HTML version of that page layout that you can edit in your HTML editor. The HTML file and page layout are associated, so that whenever you edit and save the HTML file, your changes are synced to the associated page layout. | |
How to: Resolve errors and warnings when previewing a page in SharePoint 2013 | After you convert an HTML file into a SharePoint 2013 master page, or after you create a page layout, you can preview that page in the browser. But before you can preview a master page or page layout, you may have to resolve any issues that prevent the server-side preview from rendering your page. |
How to: Change the preview page in SharePoint 2013 Design Manager | Learn how to set, create, and change the preview page in Design Manager in SharePoint Server 2013. |
How to: Add a Device Channel Panel snippet in SharePoint 2013 | A Device Channel Panel is a snippet that you can add to a master page or page layout to control what content is rendered for each channel that you create. The primary purpose of a Device Channel Panel is to selectively display different page fields on different channels from a single page layout. |
An Edit Mode Panel is a snippet that you can use to display instructions or other content to content authors, who see the contents of that panel only when they edit a page. Conversely, this snippet can also be configured to display its contents only in regular (view) mode instead of in edit mode. | |
A Web Part zone is a snippet that you can add to a page layout so that content authors can add, edit, or delete Web Parts in that zone. | |
You can use a Security Trim snippet to display content only to specific users, based on a specific permission that those users must have and whether the users are authenticated or anonymous. | |
Learn how to create, edit, or delete image renditions. An image rendition defines the dimensions that are used to display images in SharePoint publishing sites. | |
Learn how to use image renditions in a SharePoint publishing site. | |
Learn how to specify the portion of the image to use in an image rendition. |
Title | Summary |
|---|---|
Learn how to model business processes whose requirements are not met by the existing library of workflow actions in SharePoint Designer by creating custom workflow actions in SharePoint 2013. |
Title | Summary |
|---|---|
Create a console application that reads and writes to the social feed by using the SharePoint 2013 .NET client object model. | |
How to: Learn to read and write to the social feed by using the REST service in SharePoint 2013 | Create a SharePoint-hosted app that uses the REST service to publish a post and get the personal feed for the current user. |
Learn how to create and delete microblog posts and retrieve social feeds by using the SharePoint 2013 .NET client object model. | |
Learn how to create and delete microblog posts and retrieve social feeds by using the SharePoint 2013 JavaScript object model. | |
How to: Include mentions, tags, and links to sites and documents in posts in SharePoint Server 2013 | Learn how to add SocialDataItem objects to microblog posts, which render as mentions, tags, or links in SharePoint Server 2013 social feeds. |
How to: Embed images, videos, and documents in posts in SharePoint Server 2013 | Learn how to add SocialAttachment objects to microblog posts, which render as embedded pictures, videos, and documents in SharePoint Server 2013 social feeds. |
How to: Follow people by using the .NET client object model in SharePoint 2013 | Learn how to work with Following People features by using the SharePoint Server 2013 .NET client object model. |
How to: Follow people by using the JavaScript object model in SharePoint 2013 | Learn how to work with Following People features by using the SharePoint 2013 JavaScript object model. |
How to: Follow documents and sites by using the .NET client object model in SharePoint 2013 | Learn how to work with Following Content features by using the SharePoint Server 2013 .NET client object model. |
How to: Follow documents, sites, and tags by using the REST service in SharePoint 2013 | Learn how to work with Following Content features by using the SharePoint Server 2013 REST service. |
How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013 | Learn how to retrieve user profile properties programmatically by using the SharePoint 2013 .NET client object model. |
How to: Retrieve user profile properties by using the JavaScript object model in SharePoint 2013 | Learn how to retrieve user properties and user profile properties programmatically by using the SharePoint 2013 JavaScript object model. |
Learn how to create, retrieve, and change SharePoint 2013 user profiles and user profile properties programmatically by using the SharePoint 2013 server object model. |
Title | Summary |
How to: Add a Geolocation column to a list programmatically in SharePoint 2013 | Learn how to programmatically add a Geolocation column to a list in SharePoint 2013. Integrate location information and maps in SharePoint lists and location-based websites by using the new Geolocation field creating your own geolocation-based field type. |
How to: Set the Bing Maps key at the web and farm level in SharePoint 2013 | Learn how to set the Bing Maps key programmatically at the web and farm level by using the SharePoint 2013 client object model and Windows PowerShell, to enable the Bing Maps functionality in SharePoint lists and location-based web and mobile apps. |
How to: Extend the Geolocation field type using client-side rendering | Learn how to customize the SharePoint 2013 Geolocation field type programmatically using client-side rendering. |
Title | Summary |
|---|---|
How to: Crawl associated external content types in SharePoint 2013 | Learn how to use the search specific properties in the Business Data Connectivity (BDC) service metadata model for crawling associations, and the different user experiences that you can enable. |
How to: Crawl binary large objects (BLOBs) in SharePoint 2013 | Learn how to modify the BDC model file for a database BCS indexing connector to enable the Search in SharePoint 2013 crawler to crawl binary large object (BLOB) data stored in a SQL Server database. |
Learn how to configure item level security when crawling external data with BCS indexing connectors in SharePoint 2013. | |
How to: Use the Content Enrichment web service callout for SharePoint Server | Learn how to implement the Content Enrichment web service in SharePoint Server 2013 to modify the managed properties of crawled items before they are indexed. |
How to: Use a custom security trimmer for SharePoint Server search results | This how-to guides you through the steps to implement—create, deploy, and register—a custom security trimmer for Search in SharePoint 2013 by using Visual Studio 2010. |
How to: Create external content types for SQL Server in SharePoint 2013 | Learn how to create an external content type for SQL Server in SharePoint 2013. |
How to: Create an external content type from an OData source in SharePoint 2013 | Learn how to use Visual Studio 2012 to discover a published OData source and create a reusable external content type for use in BCS in SharePoint 2013. |
How to: Create an OData data service for use as a BCS external system | Learn how to create an Internet-addressable WCF service that uses OData to send notifications to SharePoint 2013 when the underlying data changes. These notifications are used to trigger events that are attached to external lists. |
How to: Create an external list using an OData data source in SharePoint 2013 | Learn how to create an external list programmatically and bind it to an OData-based external content type in SharePoint 2013. |
Learn the steps for creating external event receivers for BCS external lists. | |
How to: Create an app-scoped external content type in SharePoint 2013 | Learn how to create external content types that can be installed, secured, and used in an app for SharePoint. |
Learn how to access external data from SharePoint 2013 by using Representational State Transfer (REST) URLs for BCS. | |
How to: Use the client code library to access external data in SharePoint 2013 | Learn how to use the SharePoint 2013 client object model to work with BCS objects in SharePoint 2013 using browser-based scripting. |
Title | Summary |
|---|---|
How to: Create report renderers for PerformancePoint Services in SharePoint 2013 | Learn how to create the renderer component in a custom report extension for PerformancePoint Services. |
How to: Create report editors for PerformancePoint Services in SharePoint 2013 | Learn how to create the editor component of a custom report extension for PerformancePoint Services. |
How to: Create filter data providers for PerformancePoint Services in SharePoint 2013 | Learn how to create the data provider component in a custom filter extension for PerformancePoint Services. |
How to: Create filter editors for PerformancePoint Services in SharePoint 2013 | Learn how to create the editor component of a custom filter extension for PerformancePoint Services. |
How to: Create tabular data source providers for PerformancePoint Services in SharePoint 2013 | Learn how to create the data source provider component in a custom tabular data source extension for PerformancePoint Services. |
How to: Create tabular data source editors for PerformancePoint Services in SharePoint 2013 | Learn how to create the editor component of a custom tabular data source extension for PerformancePoint Services. |
How to: Create scorecard transforms for PerformancePoint Services in SharePoint 2013 | Learn how to create custom scorecard transforms for PerformancePoint Services in SharePoint Server 2013. |
Title | Summary |
|---|---|
Learn how to create and implement a SharePoint 2013 claims provider that fulfills the requirements for claims augmentation and claims picking. | |
Learn how to deploy a SharePoint 2013 claims provider by using the features infrastructure and creating a class that inherits from SPClaimProviderFeatureReceiver. |