avatar Bipul Raman Engineer | Speaker

Developing SharePoint App on Office365 : Part 1 - Setting-up Dev Environment
Posted by Bipul Raman on May 22, 2015.

Introduction

Office 365 is a SaaS (Software as a service) by Microsoft. It includes several packages which also includes SharePoint along with One Drive, Excel, Word, Outlook etc. Since this article is very much specific to Apps development on SharePoint on Office 365, hence we will be only discussing about SharePoint (version: 2013). Using App-model feature in SharePoint, We can built SharePoint Apps.
SharePoint Apps can be categorized into two based on hosting:
1. SharePoint Hosted Apps
2. Provider hosted Apps

SharePoint Hosted apps are hosted on the same server where SharePoint is installed. Whereas Provider hosted Apps are hosted on the different server, can be said hosted on remote server.

Setting-up Dev Environment

Here i have explained step by step procedure to setup a development environment on your local machine. I have mentioned two approach for that. Step 1 is common in both the approach.

Step1: Install Visual Studio 2013
Approach 1: (From step 2)
Step 2: Open NAPA Dev tool and create a sample project there. It can be found inside Site Contents of root level Site collection. (Shown below in purple color). If NAPA is not available, you can add it using this URL. Read more about NAPA at the end of this article.

Step 3: Click on the “NAPA Office 365 Development Tool".
Step 4: Click on “Add a new project”.
Step 5: Select “App for SharePoint” and give a name to your app and click on Create.
Step 6: In left pane you can find a icon to open the project in Visual Studio on your local system. Click on that icon.
Step 7: It will ask to save and run an exe file. Proceed to do that.

Step 8: A dialogue box will appear asking permission to run devenv.exe (Visual Studio).
Step 9: Dev Environment has been setup. You may delete this app later from Site Contents.

Approach 2: (From step 2)
Step 2: Open web platform installer (searching from task bar)
Step 3: Select Tools option as shown in figure:

Step 4: Select Microsoft Office Developer Tools for Visual Studio, Workflow manager tools (all four).
Finally: Dev Environment has been setup now.

What is NAPA ?

NAPA is a tool on SharePoint on Office 365 which allow to develop JavaScript & HTML based SharePoint App within the browser without installing any software on you local machine.