Intro to Apps Minnesota SharePoint User Group Raymond 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 2
@iwkid linkedin.com/in/iwkid Raymond Mitchell Independent Consultant Owner of IWSPACE, LLC Specialize in SharePoint & Information Worker Technologies SharePointing since
What are Apps? General Info 4
Apps, Apps, Apps Windows 8 Windows Phone Xbox One SharePoint Office 5
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 6
What are Apps? Add functionality to a site 7
What are NOT Apps? Lists Libraries Web Parts 8
Where do you get Apps? App Store Managed by Microsoft App Catalog Managed by your Organization 9
Who can add Apps? Site Owners Manage Web site and Create Subsites permissions Must grant permission / trust 10
Adding Apps 11 DEMO
What’s needed? Administrators 12
What’s needed? Office 365 & SharePoint Online Good to go! Ok, mostly… 13
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) 14
What’s needed? Hosted & On-Premises Configure the App Catalog (Site) 15
Configuring Apps 16 DEMO
17
18
19
20
21
22
Configuring the App Catalog On-Premises 23 DEMO
24
25
Configuring the App Catalog Office DEMO
27
28
Under the hood General Info 29
UX Design for Apps Multiple ways to implement your App’s UX in SharePoint 30
Application Hosting Options 31 SharePoint- Hosted Apps Provider- Hosted Apps Auto-Hosted Apps
Application Hosting Options 32 SharePoint- Hosted Apps Provider- Hosted Apps Auto-Hosted Apps 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 33 SharePoint- Hosted Apps Provider- Hosted Apps Auto-Hosted Apps 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 34 SharePoint- Hosted Apps Provider- Hosted Apps Auto-Hosted Apps Same as the Provider-Hosted Apps Automatically deployed to Azure Facilitates development of Provider-Hosted Apps Mostly used for Development
App Web URLs app- 98f0a4b67b2129.devapps.lab.local /sites/SPSTC/AEDailyDilbertApp/Pages/Default.aspx ?SPHostUrl= &SPLanguage=en-US &SPClientTag=0 &SPProductNumber= &SPAppWebUrl= 35
.app File.zip file Contains manifest as well as.wsp file 36
Building Apps Developers 37
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:
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
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 40
Napa 41 DEMO
Visual Studio Template for creating Provider-Hosted Apps Template for creating CBAs (LightSwitch) 42
Visual Studio 43 DEMO?
Access Services Requires Access Services (SharePoint Server Enterprise licensing) or Office 365 All new in 2013 – now creates SharePoint Apps Come learn more at next month’s MNSPUG! 44
Chrome Control For Provider-Hosted apps 45
Interacting with SharePoint CSOM Greatly expanded JavaScript client object model in SharePoint 2013 Complete basic operations using JavaScript library code in SharePoint
Interacting with SharePoint CSOM 47
Interacting with SharePoint REST 48
Resources Apps for Office and SharePoint blog Office Dev Center – Apps for SharePoint Developer Training – Apps for SharePoint Apps for Office & SharePoint samples U_Home_Samples U_Home_Samples 49
Getting Started – Dev Center 50
Dev Training 51
Sample Apps! 52
Info Graphics! 53
Resources SharePoint Conference 2014 Videos Build Conference 2014 Videos My Blog
Questions? Raymond 55