building contextual experiences with the office graph

13
Silber- Partner: Veranstalte r: ilding contextual experience th the Office Graph

Upload: waldek-mastykarz

Post on 15-Apr-2017

1.095 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Building contextual experiences with the Office Graph

Silber-Partner: Veranstalter:

Building contextual experienceswith the Office Graph

Page 2: Building contextual experiences with the Office Graph

Silber-Partner: Veranstalter:

Office Graph solutions

Page 3: Building contextual experiences with the Office Graph

Terminology

Actor Object Action Edge

Actor ObjectEdgeKatiej Letter.docxviewed

Page 4: Building contextual experiences with the Office Graph

Action types

Simple Modified, viewed

Computed Trending, working with

Structural Manager, colleagues

Page 5: Building contextual experiences with the Office Graph

Action privacy

Public Modified, colleagues

Private Viewed, working with

Page 6: Building contextual experiences with the Office Graph

Delve, Privacy and the Office Graph

It’s Search it’s security trimmed! Relations in the Office Graph

Public or Private Hide content

Prohibit Search from indexing the document library or site

Hide documents from delve. Managed Property called HideFromDelve.

Page 7: Building contextual experiences with the Office Graph

Office Graph query options

JSOM• AuthN not

required• KeywordQuer

y()

CSOM• AuthN

required• KeywordQuer

y()

SDK• AuthN

required• Microsoft

Graph• .NET,

Android, iOS• Currently

no support for Office Graph

REST• AuthN: it

depends• ANY

platform• ANY kind of

solution

Page 8: Building contextual experiences with the Office Graph

Querying the Office Graph

SharePoint Searchhttps://mastykarztrial11.sharepoint.com/_api/search/query?Querytext='*'&Properties='GraphQuery:actor(me\,action\:1021)'&RankingModelId='0c77ded8-c3ef-466d-929d-905670ea1d72'&ClientType='spkonferenz'

Unified APIhttps://graph.microsoft.com/beta/me/trendingAround

Page 9: Building contextual experiences with the Office Graph

Office Graph and OAuth

Supported by SharePoint Add-ins Office Add-ins, web applications & mobile apps

Requires delegated permissions SharePoint Add-ins:

Search QueryAsUserIgnoreAppPrincipal Missing permissions no result

Office Add-ins, web applications and mobile apps:Office 365 SharePoint Online Run file search queries as a user

Missing permissions 403 unauthorized error

Page 10: Building contextual experiences with the Office Graph

Silber-Partner: Veranstalter:

Building solutions with the Office Graph

Page 11: Building contextual experiences with the Office Graph

Next steps

1. Developer opportunities for the Office Graph:dev.office.com/officegraph

2. Start coding3. Provide feedback: buff.ly/1O8xaa1 4. More information and sample solutions:

buff.ly/23MRGof

Page 12: Building contextual experiences with the Office Graph

Ich freue mich auf Ihr Feedback!

Page 13: Building contextual experiences with the Office Graph

Silber-Partner: Veranstalter:

Vielen Dank!Waldek Mastykarz

Office Development MVPRencore

https://blog.mastykarz.nl @waldekm