550 likes | 734 Views
Intro to Apps. Minnesota SharePoint User Group Raymond Mitchell @iwkid www.iwkid.com April 2014. Agenda. What are Apps for SharePoint What’s needed to run Apps for SharePoint Under the hood What’s needed to build Apps for SharePoint Q&A
E N D
Intro to Apps Minnesota SharePoint User Group Raymond Mitchell @iwkidwww.iwkid.com April 2014
Agenda • What are Apps for SharePoint • What’s needed to run Apps for SharePoint • Under the hood • What’s needed to build Apps for SharePoint • Q&A Goal - understand what SharePoint Apps are, aren’t, and how you can begin using them in your organization
Raymond Mitchell • Independent ConsultantOwner of IWSPACE, LLC • Specialize in SharePoint & Information Worker Technologies • SharePointing since 2001 www.iwkid.com www.iwspace.com @iwkid linkedin.com/in/iwkid
What are Apps? General Info
Apps, Apps, Apps • Windows 8 • Windows Phone • Xbox One • SharePoint • Office
Why Apps? • Familiar model (for users) • Custom (managed) code on the server is risky • Performance • Upgrade • Microsoft says “not on my cloud you don’t!” • SharePoint is evolving – faster and faster • Apps offload customizations from the SharePoint server
What are Apps? • Add functionality to a site
What are NOT Apps? • Lists • Libraries • Web Parts
Where do you get Apps? • App Store • Managed by Microsoft • App Catalog • Managed by your Organization
Who can add Apps? • Site Owners • Manage Web site and Create Subsites permissions • Must grant permission / trust
DEMO Adding Apps
What’s needed? Administrators
What’s needed? Office 365 & SharePoint Online • Good to go! • Ok, mostly…
What’s needed? On-Premises • Service Applications (and related services on server) • App Management Service Application • Subscription Settings Service • DNS entries • SSL (recommended for production)
What’s needed? Hosted & On-Premises • Configure the App Catalog (Site)
DEMO Configuring Apps
DEMO Configuring the App Catalog On-Premises
DEMO Configuring the App Catalog Office 365
Under the hood General Info
UX Design for Apps • Multiple ways to implement your App’s UX in SharePoint
Application Hosting Options • Automatically hosted in SharePoint • Creates an App Web under the Host Web • No server-side code involved – only JavaScript / scripting • Application Data is stored in SharePoint Lists
Application Hosting Options • App code is deployed *somewhere* • Can execute server-side code • Application Data can be stored anywhere • User experience is responsibility of the App developer • Some tools to help implement portions of the SharePoint UX
Application Hosting Options • Same as the Provider-Hosted Apps • Automatically deployed to Azure • Facilitates development of Provider-Hosted Apps • Mostly used for Development
App Web URLs • http://app-98f0a4b67b2129.devapps.lab.local/sites/SPSTC/AEDailyDilbertApp/Pages/Default.aspx • ?SPHostUrl=http://portal/sites/SPSTC • &SPLanguage=en-US • &SPClientTag=0 • &SPProductNumber=15.0.4420.1017 • &SPAppWebUrl=http://app-98f0a4b67b2129.devapps.lab.local/sites/SPSTC/AEDailyDilbertApp
.app File • .zip file • Contains manifest as well as .wsp file
Building Apps Developers
Office 365 Developer Subscription • Visual Studio Ultimate and Premium comes with 1-year Office 365 subscription • Already have an E1/E3 Office 365 subscription? Add a Dev site collection • Buy a developer subscription $99/year • Get your developer tenant at: • http://dev.office.com
Developer Site Template • Used to facilitate “side-loading” of Apps (via F5 Deployment) for easy testing • Acts as a sandbox App Catalog • Available on-premises and in Office 365
Office 365 Developer Sites • Napa • Free browser-based developer tool • Available in Office 365 • Distributed as a SharePoint 2013 app • Allows you to create SharePoint 2013 apps • *very* powerful • Can export (one-way!) to Visual Studio
DEMO Napa
Visual Studio • Template for creating Provider-Hosted Apps • Template for creating CBAs (LightSwitch)
DEMO? Visual Studio
Access Services • Requires Access Services (SharePoint Server Enterpriselicensing)orOffice 365 • All new in 2013 – now creates SharePoint Apps • Come learn more at next month’s MNSPUG!
Chrome Control • For Provider-Hosted apps
Interacting with SharePoint • CSOM • Greatly expanded JavaScript client object model in SharePoint 2013 Complete basic operations using JavaScript library code in SharePoint 2013 http://msdn.microsoft.com/library/office/jj163201
Interacting with SharePoint • CSOM
Interacting with SharePoint • REST http://server/site/_api/lists/getbytitle('listname')
Resources • Apps for Office and SharePoint bloghttp://blogs.msdn.com/b/officeapps/ • Office Dev Center – Apps for SharePointhttp://msdn.microsoft.com/en-US/office/dn448479 • Developer Training – Apps for SharePointhttp://msdn.microsoft.com/en-US/office/dn448488 • Apps for Office & SharePoint sampleshttp://code.msdn.microsoft.com/officeapps?WT.mc_Id=SPO_NA_O365DevSKU_Home_Samples