Microsoft Word with Apps For Office • View / approve SOWs • Display Excel Services charts in Word Internal O365 SharePoint Site • • Windows 8 Application • View client companies • View.

Download Report

Transcript Microsoft Word with Apps For Office • View / approve SOWs • Display Excel Services charts in Word Internal O365 SharePoint Site • • Windows 8 Application • View client companies • View.

Microsoft Word
with Apps For
Office
• View / approve SOWs
• Display Excel Services
charts in Word
Internal O365
SharePoint Site
•
•
Windows 8
Application
• View client companies
• View sales leads
• Receive toast and tile and
raw notifications
• View Excel Services charts
• Create estimates
•
•
•
•
•
•
Windows Azure
Cloud Services
Contact internal sales personnel
to follow up on requests for
quotes
Contact vendors to follow up on
requests for quotes
Approve SOWs
Display, Create, Update, Delete
Sales Leads
Store Excel Documents
Store SOWs
Host team sites for projects
BCS External List
Send notifications
Create SOWs
Update data in Excel documents
Create SharePoint project sites
Windows Azure
Workflow Server
• Facilitate SOW creation,
approval, submission, and follow
up tasks
Windows Azure
Access Control Service
• OAuth
Public O365
SharePoint Site
Windows Azure
SQL Database
• Submit requests for quote
Clients (Desktop/Tablet/Mobile)
•
•
•
•
Cloud
• Store sales request data
Introducing the all new _api
Client/Server/Mobile Symmetrical
Fully Remote
JQuery Compatible
OAuth Enabled
_API
2,000+ Classes
JSON
Declarative, Remote Events
OData
Private and Public Clouds
6,000+ Members
SharePoint 2013 and SharePoint Online _api
SharePoint
Foundation
User
Profile
Search
Taxonomy
Feeds
More…
_api
SharePoint
Execute
Query
Client
JavaScript
Library
Silverlight
Library
.Net CLR
Library
Custom Client Code
OData /
REST
Consistent Access to Services
API
REST URL
Script
Client Namespace
Web
http://weburl/_api/Web
SP
Microsoft.SharePoint.Client
Search
http://weburl/_api/Search
SP.Search
Microsoft.SharePoint.Client.Search
Taxonomy
http://weburl/_api/Taxonomy SP.Taxonomy Microsoft.SharePoint.Client.Taxonomy
Social
http://weburl/_api/Social
SP.Social
Microsoft.SharePoint.Client.Social
Consistent Usage
REST/OData
Managed Code
ClientContext ctx = new ClientContext("https://contoso.sharepoint.com");
ctx.Load(ctx.Web.Title);
ctx.ExecuteQuery();
JavaScript
Sample REST / OData Calls
Base endpoint
Get the web’s title
Get the collection of lists in the web
Get the lists in the web with a BaseTemplate of 104 (announcement lists)
Create a new list
(Rob)
Contoso photo
Contoso photo
Contoso
?
Contoso photo
Contoso
Contoso photo
Contoso
View
Contoso photo
Contoso
View
View, Upload, Tag,
Comment
Contoso photo
Contoso
View, Upload, Tag,
Comment
View, Upload, Tag,
Comment, Change
Password
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
View
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
View
Contoso photo
Contoso
View, Upload, Tag,
Comment, Change
Password
App Model: Past, Present and Future
SharePoint
2010
2007
SharePoint
2013
OAuth 2.0
Start
User credentials
provided?
App token
provided?
User only
context
App token
Includes user?
User + App
context
App only
context
Anonymous
context
End
SharePoint Context Token
SharePoint Server
App.com
Browser
STS (ACS)
SharePoint Server
Browser
App.com
https://rhoward.sharepo
STS (ACS)
1
SharePoint Server
Browser
App.com
https://rhoward.sharepo
STS (ACS)
2
1
SharePoint Server
Browser
App.com
https://rhoward.sharepo
STS (ACS)
3
2
1
SharePoint Server
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
3
2
1
4
SharePoint Server
Browser
POST https://app.com/
…
SPAppToken=eyJ0eXAiOiJKV
1QiLCJhbGciOiJIUzI1NiJ9.e…
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
3
2
1
4
SharePoint Server
5
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
3
2
6
1
4
SharePoint Server
5
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
7
3
2
6
1
4
SharePoint Server
5
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
7
3
6
2
1
8
4
SharePoint Server
5
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
7
3
6
2
1
9
8
4
SharePoint Server
5
Browser
App.com
https://rhoward.sharepo
SP API Review
STS (ACS)
7
3
6
2
1
9
8
4
SharePoint Server
5
7 Unassigned Changes
21 Pending Reviews Nag Mail
17 Active API Bugs Nag Mail
10
Auto-Assign
Browser
App.com
The OAuth 2.0 Authorization Protocol
The OAuth 2.0 Authorization Protocol: Bearer Tokens
JSON Web Token (JWT)
IETF OAuth WG homepage
SharePoint 2013 & Windows Azure Workflow
Azure
Access Control
SharePoint
SharePoint Designer
Visual Studio
Events
Content
Collab
People
WF3 Host
SharePoint OM
_API
Workflow Services Manager
Instances
Interop
Deployment
Messaging
WF4 Service Application Proxy
OAuth2
MTW
Azure
Workflow
Azure
Service Bus
Takeaways
http://dev.office.com
http://blogs.msdn.com/b/officeapps
http://dev.windows.com
http://windowsazure.com
http://aka.ms/BuildSessions
Two Aspects to Access Control
Authentication
Authorization
App Authentication
SharePoint
“Host” Web
App Web
JavaScript
SharePoint
“AppWeb”
App Authentication
SharePoint
“Host” Web
JavaScript
(cross domain)
SharePoint
“AppWeb”
App Authentication
SharePoint
“Host” Web
SharePoint
“AppWeb”
OAuth
App Identity Online and On-Prem
Azure AD
Office 365
Cloud
App
App Identity Online and On-Prem
Azure AD
App
Office 365
Cloud
App
SharePoint
On-Prem
App Identity Online and On-Prem
Azure AD
App
Office 365
Cloud
App
SharePoint
On-Prem
Scope="http://sharepoint/content/sitecollection" Right="Read"/>
Product
Permission Provider Specific component
Capability
App Name Here
http://sharepoint/content/tenant
http://sharepoint/content/sitecollection
http://sharepoint/content/sitecollection/web
http://sharepoint/content/sitecollection/web/list
http://sharepoint/bcs/connection
http://sharepoint/search
http://sharepoint/projectserver
http://sharepoint/projectserver/projects
http://sharepoint/projectserver/projects/project
http://sharepoint/projectserver/enterpriseresources
http://sharepoint/projectserver/statusing
http://sharepoint/projectserver/reporting
http://sharepoint/projectserver/workflow
http://sharepoint/social/tenant
http://sharepoint/social/core
http://sharepoint/social/microfeed
http://sharepoint/taxonomy
Read;Write;Manage;FullControl
Read;Write;Manage;FullControl
Read;Write;Manage;FullControl
Read;Write;Manage;FullControl
Read
QueryAsUserIgnoreAppPrincipal
Manage
Read;Write
Read;Write
Read;Write
SubmitStatus
Read
Elevate
Read;Write;Manage;FullControl
Read;Write;Manage;FullControl
Read;Write;Manage;FullControl
Read;Write