Building Solutions with the Office Graph
Tweet this talk#UConnect@waldekm
Waldek MastykarzSharePoint Server MVPMavention
Office Graph solutions
ActorObjectActionEdge
Terminology
Actor ObjectEdgeKatiej Letter.docxviewed
Action typesTypesSimpleModified, viewed
ComputedTrending, working with
StructuralManager, colleagues
PrivacyPublicModified, colleagues
PrivateViewed, working with
It’s Search it’s security trimmed!Relations in the Office GraphPublic or Private
Hide contentProhibit Search from index the document library or site Hide documents from delve. Managed Property called HideFromDelve.
Delve, Privacy and the Office Graph
Office Graph query optionsJSOM
• AuthN not required
• KeywordQuery()
CSOM• AuthN
required• KeywordQuer
y()
SDK• AuthN
required• Office 365
API/Unified API
• .NET, Android, iOS
• Currently no support for Office Graph
REST• AuthN: it
depends• ANY
platform• ANY kind of
solution
SharePoint Searchhttps://spevent001.sharepoint.com/_api/search/query?Querytext='*'&Properties='GraphQuery:actor(me\,action\:1021)'&RankingModelId='0c77ded8-c3ef-466d-929d-905670ea1d72'&ClientType='spevent001'
Unified APIhttps://graph.microsoft.com/beta/me/trendingAround
Querying the Office Graph
Supported bySharePoint Add-insOffice Add-ins, web applications & mobile apps
Requires delegated permissionsSharePoint Add-ins:
Search QueryAsUserIgnoreAppPrincipalMissing 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
Office Graph and OAuth
Building solutions with the Office Graph
Developer opportunities for the Office Graph:dev.office.com/officegraphStart codingProvide feedback: buff.ly/1O8xaa1 More information and sample solutions: buff.ly/1iR0V37Mavention Office Graph Add-ins: buff.ly/1OLRS0U
Next steps
My ConnectOn the page for this session, you’ll find• Ask a question to the
speaker(s)• Slides• Resources• Recording*• Feedback form
Connect with meWaldek Mastykarzhttp://blog.mastykarz.nl@waldekmhttp://www.mavention.com