What's New for Developers in SharePoint 2013


Published on

What's New for Developers in SharePoint 2013

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

What's New for Developers in SharePoint 2013

  1. 1. What’s New for Developers inSharePoint 2013?Presented by:Christian Malbeuf / Senior Instructor
  2. 2. Module 01Introducing TheSharePoint 2013 Platformfor Developers
  3. 3. Module Overview• Introducing SharePoint 2013 to All Stakeholders• The SharePoint 2013 Development Platform
  4. 4. Lesson 1: Introducing SharePoint 2013 to AllStakeholders• Major Areas of Investment• SharePoint’s Place in the Office Platform
  5. 5. Major Areas of Investment• Improved User Experience Office Web Applications Apps for Office Social Networking Translation Services Work Management Service• Core Capabilities Education Module Request Management Shredded Storage ECM and WCM Search CSOM• Life Cycle Management SharePoint Marketplace Corporate App Catalog Remove Apps Multi-Tenant Farms
  6. 6. SharePoint’s Place in the Office PlatformSharePoint 2013Exchange 2013Word, Excel,PowerPoint,OneNoteOutlookEmailShredded EditsApps for OfficeTasksTeam FoldersOffice WebApplicationsSQL Server2008 R2WebBrowserContentDocumentsSharePoint UIDocuments
  7. 7. Lesson 2: The SharePoint 2013 DevelopmentPlatform• The apps for SharePoint Model• The Marketplace and App Catalog• Demonstration: Demonstrating The App Catalog
  8. 8. The apps for SharePoint ModelSharePoint 2013Server-Side App• Web Page, iFrameClient-Side App• HTML, CSS• JavaScript, jQuery, CSOMServer-Side App• IIS, Windows Azure• ASP.NETServer-Side App• IIS, Windows Azure• ASP.NETHybrid App• HTML, CSS• JavaScript, jQuery, CSOMCloud
  9. 9. The Marketplace and App Catalog• The SharePoint Marketplace• The Corporate App Catalog• Obtaining and Controlling Access to Apps
  10. 10. Demonstration: Demonstrating The App CatalogIn this demonstration, you will see how to:• Use Visual Studio to Deploy an App• Control App Permissions• Add an App to the Corporate Catalog
  11. 11. Module Review• Module Summary• Review Questions
  12. 12. Module 02SharePoint 2013 Apps
  13. 13. Module Overview• SharePoint-Hosted Apps• Cloud-Hosted Apps
  14. 14. Lesson 1: SharePoint-Hosted Apps• What is a SharePoint-Hosted App?• Building SharePoint-Hosted Apps• Using Built-In Controls• Cross-Domain Calls• Demonstration: Creating a SharePoint Hosted App
  15. 15. What is a SharePoint-Hosted App?• Parent Sites and App Sites• Types of Client-Side App Full Page Apps Web Part Apps Command Extension Apps Top LevelSiteParentSiteApp Site App SiteApp Site
  16. 16. Building SharePoint-Hosted Apps• User Interface HTML CSS• Scripting Language andLibraries CSOM AJAX jQuery• Structure of a Client-SideApp Project
  17. 17. Using Built-In Controls• The Client Web Part• The Chrome Control<ClientWebPart Name="MyFirstApp" Title="My First App"><Content Type="html"Src="http://intranet/Clients/Default.aspx?Master=Empty" /></ClientWebPart><div id="chrome_ctrl_container"data-ms-control="SP.UI.Controls.Navigation"data-ms-options={"appTitle" : "Chrome Control","appIconUrl" : "../Pages/siteIcon.png"}></div>
  18. 18. Cross-Domain CallsParent Web App WebAnnouncementsListCompanyNewsRecentAppointmentsAppWebProxy.aspxAppWebProxy.aspxHidden IFrameSP.RequestExecutor.jsMyScript.js
  19. 19. Demonstration: Creating a SharePoint HostedAppIn this demonstration, you will see how to:• Create a Simple SharePoint-Hosted App• Add the jQuery library to your App• Use jQuery to obtain and manipulate HTML elements• Compile and run a SharePoint-Hosted App with debugging
  20. 20. Lesson 2: Cloud-Hosted Apps• What is a Cloud-Hosted App?• Cloud-Hosted App Architectures• Communicating with SharePoint• Demonstration: Demonstration: Accessing Data by UsingREST and OData
  21. 21. What is a Cloud-Hosted App?• SharePoint-Hosted Apps: Simple to create CSOM very powerful JavaScript AJAX and JQuery• Cloud-Hosted Apps: Flexible Architecture Always Running .NET Languages• Cloud-Hosted Apps include server-side components thatrun outside your SharePoint farm on cloud services or on-premise Web servers.
  22. 22. Cloud-Hosted App Architectures• Developer-Hosted Apps• Azure Auto-Provisioned Apps• Web Page• IFrame• Windows Azure• Web Services, WCFServices• SQL AzureSharePoint Cloud• Web Page• IFrame • IIS, Apache• ASP.NET, PHP• SQL Server, MySQLOn-Premise Web Server
  23. 23. Communicating with SharePoint• OAuth• OData• Windows Azure• Web Services, WCFServices• SQL AzureSharePoint Cloud• Web Page• IFrameAnnouncementsListCompany NewsRecentAppointmentsOAuth for AuthenticationOData for Data Access
  24. 24. Demonstration: Demonstration: Accessing Databy Using REST and ODataIn this demonstration, you will see how to:• Use OData calls in Internet Explorer• Explore SharePoint 15 content by issuing OData callsThe OData calls you see in this demonstration can beused to formulate requests in Server-Side Apps thataccess SharePoint data content.
  25. 25. Module Review• Module Summary• Review Questions
  26. 26. Module 03Apps for Office andSharePoint
  27. 27. Module Overview• Understanding apps for Office• Building apps for Office
  28. 28. Lesson 1: Understanding apps for Office• What is apps for Office?• Apps for Office Types• Apps for Office Catalogs
  29. 29. What is an app for Office?Apps for Office: An web-based extension to an Office2013 desktop application that can interact withOffice content.• Apps for Office Manifest Files Configuration values such as type, host apps, source location• Apps for Office Web Applications Static HTML with client-side code Server-side code, ASP.NET, C#, VB• Interacting with Office Documents The Office JavaScript Object Model
  30. 30. Apps for Office Types• Apps for Office Types Task Pane apps for Office Content apps for Office Contextual apps for Office• Embedding apps for Office in Files User adds an apps for Office to a file When the file is saved, the apps for Office is embedded• Apps for Office Permissions The <RequestedCapabilities> tag Granting permission on first use
  31. 31. Apps for Office Catalogs• Public apps for OfficeMarketplace• SharePoint apps forOffice Catalog• Exchange apps forOffice Catalog• File Share Catalogs• Browsing apps forOffice Catalogs
  32. 32. Lesson 2: Building apps for Office• Creating a New apps for Office Manifest• Coding apps for Office 2013• Integrating apps for Office with SharePoint 2013• Demonstration: Demonstration: Creating a Content appsfor Office
  33. 33. Creating a New apps for Office Manifest<OfficeWebExtensionxsi:type="TaskPaneExtension" ><Id>{GUID}</Id><Version>1.0</Version><ProviderName>Contoso</ProviderName><DefaultLocale>en-us</DefaultLocale><DisplayName DefaultValue="My First apps for Office"/><Description DefaultValue="A simple apps for Office"/><HostApps><HostApp MinVersion=“2013" Name="Word"/></HostApps><DefaultSettings><SourceLocation DefaultValue="http://server/Home.htm"/></DefaultSettings><RequestedCapabilities>ReadWriteDocument</RequestedCapabilities></OfficeWebExtension>AppManifest.xml
  34. 34. Coding apps for Office• Client-Side or Server-Side Technologies ASP.NET, C#, VB, IIS LAMP HTML, CSS, JavaScript, jQuery, other libraries• Interacting with Word, Excel, PowerPoint, Project, andOutlook The Office JSOM
  35. 35. Integrating apps for Office with SharePoint 2013• Web Page• IFrame• Windows Azure• Web Services, WCFServices• SQL AzureSharePoint CloudCloud-Hosted AppWordApps forOfficeSharePointSearchLoremipsum dolorsit amet,consecteturadipiscingelit. Utrhoncustinciduntconvallis….SharePointDoc LibraryCSOM
  36. 36. Demonstration: Demonstration: Creating aContent apps for OfficeIn this demonstration, you will see how to:• Modify The Registry to Add a File Share apps for OfficeCatalog• Create and Complete apps for Office Manifest File• Use the New apps for Office in Word• Add the New apps for Office to the apps for SharePointCatalog
  37. 37. Module Review• Module Summary• Review Questions
  38. 38. Module 04SharePoint 2013Enterprise Services
  39. 39. Module Overview• Enterprise Content Management and Web ContentManagement• Social Networking• Search
  40. 40. Lesson 1: Enterprise Content Management andWeb Content Management• Managed Metadata• Enterprise Content Management and Records Management• Web Content Management
  41. 41. Managed MetadataNew Features of The Manage Metadata ServiceApplication: More granular permissions New Term Set management pages Intended Use in Term Sets Managed Metadata access from CSOM Custom Term properties
  42. 42. Enterprise Content Management and RecordsManagement• Team Folders• Discovery Centers• Discovery Sets
  43. 43. Web Content Management• Term Sets for Site Structure and Navigation• Search Powers Content Retrieval• Clean URLs• Image Renditions• Design Manager
  44. 44. Lesson 2: Social Networking• The New My Site and Communities• Following Objects in SharePoint
  45. 45. The New My Site and Communities• My Site and User Profiles User Profile Replication Engine About Me My Tasks My Library• Community SiteTemplate
  46. 46. Following Objects in SharePointPeoplePagesSitesTagsMicrofeedAppMy SiteWhat’s New
  47. 47. QueriesUsing CSOM to run a query:ClientContext context = new ClienContext("http://intranet.contoso.com");//Formulate the keyword queryKeywordQuery query = new KeywordQuery(context, context.Site);query.QueryText = "SharePoint";query.ResultTypes = ResultType.RelevantResults;query.Id = Guid.NewGui();//Add the query to an array of queriesvar queries = new KeywordQuery[1];queries[0] = query;//Create a Search ExecutorSearchExecutor searchExecutor = new SearchExecutor(context);var rcc = searchExecutor.ExecuteQueries(queries);context.ExecuteQuery();
  48. 48. Module Review• Module Summary• Review Questions
  49. 49. Lesson 3: Search• New Search Architecture• Queries• Search Customization• Demonstration: Querying the Index From a SharePoint-Hosted App using CSOM
  50. 50. New Search ArchitectureSQLSharePointFileSharesExchangeBCSParsersParsersParsersParsersParsersFormatHandlersContentPipelineAnalyzer IndexerQueryEngineIndexQueryPipelineCSOMApp
  51. 51. Search Customization• Customization by Administrators Query Rule Result Types Result Sources• Customization by Developers Web Service Call-Outs The CSOM Migration API
  52. 52. Demonstration: Querying the Index From aSharePoint-Hosted App using CSOMIn this demonstration, you will see how to:• Call The Search Service by Issuing a REST Call inInternet Explorer• Build a Web Part that Uses REST Search Calls• Add The Web Part to the Home Page• Issue a Search Query with The New Web Part
  53. 53. Questions and Evaluation