SPCA2013 - Apps, Apps, Apps

Post on 09-May-2015

654 views 1 download

description

SharePoint Apps, Apps, Apps

Transcript of SPCA2013 - Apps, Apps, Apps

Apps, Apps and Apps

Andy Van Steenbergen & Bert Clevering

About us

Andy Van SteenbergenSenior SharePoint consultant @ OrdinaSP Competence Center LeadLesgever @ CVO Antwerpen

@Meligo#SharingIsCaring

Blog.meligo.be

BIWUGBoard Member

MicrosoftExtendedExpertTeamMember

About us

Bert CleveringSenior SharePoint consultant @ Ordina

@bcleveringhttp://www.linkedin.com/in/bcleveringhttp://www.appventure.nl

Light Intro – SharePoint Apps

App Hosting

App Web (from WSP)

HostwebSharePoint-hosted

AppReuse (lists, out-of-box web

parts)Client side technologies and

declarative workflows

Provider-hosted App

“Bring your own server hosting infrastructure”

SharePoint

Web

Get remote events from SharePoint Use CSOM/REST + OAuth

Cloud-hosted apps

Your Hosted

Site

Auto-hosted AppWindows Azure + SQL

Azure provisioned automatically as apps

are installed

Azure SharePoint Web

App Shapes for SharePoint

Full page

Implement complete app experiences to satisfy business scenarios

PartsCreate app parts that can interact with the SharePoint experience

UI Command extensionsAdd new commands to the ribbon and item menus

The Problem: Self service site creation

Solution?

Steps for creating this solution

• Create SharePoint-hosted App

• Change Default.aspx and app.js to facilitate provisioning

• Add standard deployment options

• For GUI options add Jquery.BlockUI.js

Recap

• Easy to create.

• Quick deployment of different site types.

• For Tenant operations deploy the app in the App store; in App development site collection a SharePoint-hosted App doesn’t have Tenant rights

Light Intro – Apps for Office

App Shapes for Office

Task Pane

App adjacent to the document

ContentApp in the body of the document

Mail Inline Pane on an email or appointment item

Apps for Office

Office enabled Apps for SharePoint

Composable App Model

Document Library

App AppApp App

Document

App

App for SharePoint • App includes a

document library• Documents added to

the document library include an app for Office

• E.g. Comments app

“Comment a document” appStill need a “cool” name

Comment options for a document

•Word review

• SharePoint Versions• SharePoint Approve / reject

• 3rd party tools?

Solution?

• Embed comments in document

• Comments stay in App Web (security)

• CSOM and/or REST + JavaScript

• Easy to create

Flow

1. If new document, comments are not yet possible

2. If not new document, comments are possible1. Select reviewer2. Add comment message3. Click “add comment”

1. Comment is being saved in list2. Call is done to retrieve comments from list

How to build it

1. Add a document library

2. Create a document that contains an app for Office

3. Set the default content type for the document library to that document

App for SharePoint

Document Library

Document Template

App

Idea for an App?

Take away

• Learn JavaScript + CSOM / REST

• Easy to build, follow the steps