0

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

5,162

Published on

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

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
5,162
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
121
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide
  • 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.
  • Transcript of "Office 365 - Introduction to SharePoint Online Development - SharePoint Connections 2013"

    1. 1. Intro to SharePoint Online Development Corey Roth Principal Architect Infusion
    2. 2. 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
    3. 3. SESSION TITLE CONTACT INFO  E-mail: coreyroth@gmail.com  Twitter: @coreyroth  Blog: www.dotnetmafia.com  Apps: www.sp2apps.com www.devconnections.com 3
    4. 4. SESSION TITLE WHO IS USING OFFICE 365? www.devconnections.com 4
    5. 5. SESSION TITLE THINKING OUTSIDE THE BOX www.devconnections.com 5
    6. 6. SESSION TITLE TYPES OF CUSTOMIZATION  Browser-based  SharePoint Designer 2013  Sandboxed  App Solutions Model www.devconnections.com 6
    7. 7. 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
    8. 8. 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
    9. 9. SESSION TITLE CUSTOMIZATIONS WITH VISUAL STUDIO  Sandbox Solutions (deprecated)  Apps www.devconnections.com 9
    10. 10. SESSION TITLE SANDBOXED SOLUTIONS  Deprecated  Some  Still managed code can be deployed useful for deploying master pages www.devconnections.com 10
    11. 11. SESSION TITLE SHAREPOINT 2013 APP MODEL www.devconnections.com 11
    12. 12. 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
    13. 13. 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
    14. 14. SESSION TITLE COMPONENTS OF AN APP  Client-side Code  Deployable SharePoint Components  Features  Solution files  AppManifest.xml www.devconnections.com 14
    15. 15. SESSION TITLE APPMANFIEST.XML  Title, Version, and Icon of app  Permissions  Prerequisites  Supported  Remote www.devconnections.com Locales Endpoints 15
    16. 16. SESSION TITLE APPS – HOSTING MODELS  SharePoint  Provider Hosted Hosted  Auto-hosted www.devconnections.com 16
    17. 17. SESSION TITLE SHAREPOINT HOSTED APPS  SharePoint  Client  No hosts the app side code using JavaScript server side code www.devconnections.com 17
    18. 18. SESSION TITLE DEMO SharePoint Hosted Apps www.devconnections.com 18
    19. 19. SESSION TITLE PROVIDER HOSTED  Host server side code remotely  You provide the server(s)  Must account for multiple tenants www.devconnections.com 19
    20. 20. 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
    21. 21. SESSION TITLE SHAREPOINT 2013 APIS www.devconnections.com 21
    22. 22. SESSION TITLE API  Client  New Side APIs required functionality in REST and CSOM www.devconnections.com 22
    23. 23. SESSION TITLE API CHOICES  JavaScript Object Model (JSOM)  JavaScript + REST  Managed Client Object Model  Managed + REST www.devconnections.com 23
    24. 24. 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
    25. 25. SESSION TITLE DEMO JavaScript Object Model www.devconnections.com 25
    26. 26. SESSION TITLE REST www.devconnections.com 26
    27. 27. SESSION TITLE REST URL STRUCTURE www.devconnections.com 27
    28. 28. SESSION TITLE REST QUERY OPTIONS www.devconnections.com 28
    29. 29. 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
    30. 30. SESSION TITLE REST IN SHAREPOINT  Lists  Sites  User Profile  Social  Search  Publishing www.devconnections.com 30
    31. 31. 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
    32. 32. SESSION TITLE DEMO JavaScript + REST www.devconnections.com 32
    33. 33. 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
    34. 34. 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
    35. 35. SESSION TITLE DEMO Provider Hosted App with Managed Code www.devconnections.com 35
    36. 36. SESSION TITLE TEST ENVIRONMENT  Buy another Office 365 Tenant  Separate www.devconnections.com private site collection 36
    37. 37. SESSION TITLE RESOURCES www.devconnections.com 37
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×