Building contextual experiences with the Office Graph

Post on 15-Apr-2017

1,090 views 2 download

transcript

Silber-Partner: Veranstalter:

Building contextual experienceswith the Office Graph

Silber-Partner: Veranstalter:

Office Graph solutions

Terminology

Actor Object Action Edge

Actor ObjectEdgeKatiej Letter.docxviewed

Action types

Simple Modified, viewed

Computed Trending, working with

Structural Manager, colleagues

Action privacy

Public Modified, colleagues

Private Viewed, working with

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.

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

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

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

Silber-Partner: Veranstalter:

Building solutions 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

Ich freue mich auf Ihr Feedback!

Silber-Partner: Veranstalter:

Vielen Dank!Waldek Mastykarz

Office Development MVPRencore

https://blog.mastykarz.nl @waldekm