Office 365 - Introduction to SharePoint Online Development - SharePoint Connections 2013

on

  • 4,435 views

Slides from my into to SharePoint Online development talk at Dev/IT Connections 2013

Slides from my into to SharePoint Online development talk at Dev/IT Connections 2013

Statistics

Views

Total Views
4,435
Views on SlideShare
4,433
Embed Views
2

Actions

Likes
1
Downloads
64
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • In this demo, we will create a new app from scratch and deploy it to SharePoint Online. We’ll examine the creation process as well as some of the files created in the project.
  • Will be updated after demos.

Office 365 - Introduction to SharePoint Online Development - SharePoint Connections 2013 Office 365 - Introduction to SharePoint Online Development - SharePoint Connections 2013 Presentation Transcript

  • Intro to SharePoint Online Development Corey Roth Principal Architect Infusion
  • SESSION TITLE COREY ROTH  Principal Architect at Infusion Development  SP2 Apps for SharePoint 2013  Three-time Microsoft SharePoint MVP  Specializing www.devconnections.com in ECM, Search, and apps 2
  • SESSION TITLE CONTACT INFO  E-mail: coreyroth@gmail.com  Twitter: @coreyroth  Blog: www.dotnetmafia.com  Apps: www.sp2apps.com www.devconnections.com 3
  • SESSION TITLE WHO IS USING OFFICE 365? www.devconnections.com 4
  • SESSION TITLE THINKING OUTSIDE THE BOX www.devconnections.com 5
  • SESSION TITLE TYPES OF CUSTOMIZATION  Browser-based  SharePoint Designer 2013  Sandboxed  App Solutions Model www.devconnections.com 6
  • SESSION TITLE CUSTOMIZATION LIMITATIONS  No farm level features  No site definitions  Cannot modify  built-in SharePoint files  web.config  security policies  No changes to web server or .NET framework www.devconnections.com 7
  • SESSION TITLE WHAT DO YOU NEED?  Office 365 Account  Visual Studio 2012  Office Developer Tools  No virtual machine required  Developer www.devconnections.com Site Collection 8
  • SESSION TITLE CUSTOMIZATIONS WITH VISUAL STUDIO  Sandbox Solutions (deprecated)  Apps www.devconnections.com 9
  • SESSION TITLE SANDBOXED SOLUTIONS  Deprecated  Some  Still managed code can be deployed useful for deploying master pages www.devconnections.com 10
  • SESSION TITLE SHAREPOINT 2013 APP MODEL www.devconnections.com 11
  • SESSION TITLE WHY APPS?  Recommended customizations option for  Allows for different customizations over sandboxed solutions  Code isn’t deployed to the server  Works on both SharePoint Online and onpremises www.devconnections.com 12
  • SESSION TITLE WHAT CAN I DEPLOY WITH APPS?  Lists  Workflows  Pages  Client Web Parts (App Parts)  Content  Ribbon www.devconnections.com Types and Site Columns Custom Actions 13
  • SESSION TITLE COMPONENTS OF AN APP  Client-side Code  Deployable SharePoint Components  Features  Solution files  AppManifest.xml www.devconnections.com 14
  • SESSION TITLE APPMANFIEST.XML  Title, Version, and Icon of app  Permissions  Prerequisites  Supported  Remote www.devconnections.com Locales Endpoints 15
  • SESSION TITLE APPS – HOSTING MODELS  SharePoint  Provider Hosted Hosted  Auto-hosted www.devconnections.com 16
  • SESSION TITLE SHAREPOINT HOSTED APPS  SharePoint  Client  No hosts the app side code using JavaScript server side code www.devconnections.com 17
  • SESSION TITLE DEMO SharePoint Hosted Apps www.devconnections.com 18
  • SESSION TITLE PROVIDER HOSTED  Host server side code remotely  You provide the server(s)  Must account for multiple tenants www.devconnections.com 19
  • SESSION TITLE AUTO-HOSTED APPS  Remotely hosted server side code  Web application automatically provisioned with Azure  Available  Can only with SharePoint Online deploy custom databases www.devconnections.com 20
  • SESSION TITLE SHAREPOINT 2013 APIS www.devconnections.com 21
  • SESSION TITLE API  Client  New Side APIs required functionality in REST and CSOM www.devconnections.com 22
  • SESSION TITLE API CHOICES  JavaScript Object Model (JSOM)  JavaScript + REST  Managed Client Object Model  Managed + REST www.devconnections.com 23
  • SESSION TITLE JAVASCRIPT OBJECT MODEL  Similar  to 2010 but more functionality User Profile, Taxonomy, Search, etc  Suitable for all app models  Managed Metadata only available through JSOM www.devconnections.com 24
  • SESSION TITLE DEMO JavaScript Object Model www.devconnections.com 25
  • SESSION TITLE REST www.devconnections.com 26
  • SESSION TITLE REST URL STRUCTURE www.devconnections.com 27
  • SESSION TITLE REST QUERY OPTIONS www.devconnections.com 28
  • SESSION TITLE REST URL EXAMPLES http://server/site/_api/web/lists http://server/site/_api/web/lists/getbytitle('listname') http://server/site/_api/web/lists/getbytitle('listname')/items(2) http://server/_api/search/query?querytext=’SharePoint’ http://server/_api/social.feed/my/news http://server/_api/SP.UserProfiles.PeopleManager/GetMyProperties www.devconnections.com 29
  • SESSION TITLE REST IN SHAREPOINT  Lists  Sites  User Profile  Social  Search  Publishing www.devconnections.com 30
  • SESSION TITLE JAVASCRIPT + REST  REST  Old support greatly expanded REST services (listdata.svc) deprecated  Must specify odata=verbose  Build REST URL and use $.ajax()  Include Headers: { “Accept”: “application/json; odata=verbose” } www.devconnections.com 31
  • SESSION TITLE DEMO JavaScript + REST www.devconnections.com 32
  • SESSION TITLE MANAGED CLIENT OBJECT MODEL  Useful for provider hosted apps  Similar to JavaScript model  With SPO, not required to configure secrets for authentication www.devconnections.com 33
  • SESSION TITLE MANAGED CLIENT OBJECT MODEL IN APPS  TokenHelper.cs context token  Use provides code to get a TokenHelper to get an access token  Store access token locally for subsequent requests  Use access token to get ClientContext on subsequent requests www.devconnections.com 34
  • SESSION TITLE DEMO Provider Hosted App with Managed Code www.devconnections.com 35
  • SESSION TITLE TEST ENVIRONMENT  Buy another Office 365 Tenant  Separate www.devconnections.com private site collection 36
  • SESSION TITLE RESOURCES www.devconnections.com 37