55
Intro to Apps Minnesota SharePoint User Group Raymond Mitchell @iwkid www.iwkid.com April 2014

Intro to Apps Minnesota SharePoint User Group Raymond Mitchell@iwkid@iwkid April 2014

Embed Size (px)

Citation preview

Intro to AppsMinnesota SharePoint User Group

Raymond Mitchell @iwkid www.iwkid.com

April 2014

2

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

3

@iwkid

linkedin.com/in/iwkid

Raymond Mitchell• Independent Consultant

Owner of IWSPACE, LLC

• Specialize in SharePoint & Information Worker Technologies

• SharePointing since 2001

www.iwkid.com

www.iwspace.com

4

What are Apps?General Info

5

Apps, Apps, Apps• Windows 8

• Windows Phone

• Xbox One

• SharePoint

• Office

6

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

7

What are Apps?• Add functionality to a site

8

What are NOT Apps?• Lists

• Libraries

• Web Parts

9

Where do you get Apps?• App Store

Managed by Microsoft

• App Catalog Managed by your Organization

10

Who can add Apps?• Site Owners

Manage Web site and Create Subsites permissions

• Must grant permission / trust

11Adding Apps

DEMO

12

What’s needed?Administrators

13

What’s needed?Office 365 & SharePoint Online

• Good to go!

• Ok, mostly…

14

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)

15

What’s needed?Hosted & On-Premises

• Configure the App Catalog (Site)

16Configuring Apps

DEMO

17

18

19

20

21

22

23Configuring the App CatalogOn-Premises

DEMO

24

25

26Configuring the App CatalogOffice 365

DEMO

27

28

29

Under the hoodGeneral Info

30

UX Design for Apps• Multiple ways to implement your App’s UX in SharePoint

31

Application Hosting OptionsSharePoint-

Hosted Apps

Provider-Hosted Apps

Auto-Hosted Apps

32

Application Hosting OptionsSharePoint-

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

33

Application Hosting OptionsSharePoint-

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

34

Application Hosting OptionsSharePoint-

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

35

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

36

.app File• .zip file

• Contains manifest as well as .wsp file

37

Building AppsDevelopers

38

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

39

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

40

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

41Napa

DEMO

42

Visual Studio• Template for creating Provider-Hosted Apps

• Template for creating CBAs (LightSwitch)

43Visual Studio

DEMO?

44

Access Services• Requires Access Services (SharePoint Server Enterprise licensing)

orOffice 365

• All new in 2013 – now creates SharePoint Apps

• Come learn more at next month’s MNSPUG!

45

Chrome Control• For Provider-Hosted apps

46

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

47

Interacting with SharePoint• CSOM

48

Interacting with SharePoint• REST

http://server/site/_api/lists/getbytitle('listname')

49

Resources• Apps for Office and SharePoint blog

http://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

50

Getting Started – Dev Center

51

Dev Training

52

Sample Apps!

53

Info Graphics!

54

Resources• SharePoint Conference 2014 Videos

http://channel9.msdn.com/Events/SharePoint-Conference/2014

• Build Conference 2014 Videoshttp://channel9.msdn.com/Events/Build

• My Bloghttp://www.iwkid.com

55

Questions?Raymond Mitchell @iwkid www.iwkid.com