building solutions with office graph
TRANSCRIPT
Delve [delv], verb
“Reach inside a
receptacle and
search for
something”
“Research or make
painstaking
inquiries into
something”
Delve vs. Office Graph
Delve
An application pivoting on
the data in the Office
Graph
Currently only web based
Office Graph
Based on Search/FAST
Machine Learning
techniques that connects
you to relevant data
An API
Privacy in Delve and Office Graph It’s Search -> it’s security trimmed! Relations in the Office Graph
Public or Private Trending stuff
Need at least five (5) interactions before trending
What about a drug-policy trending in Delve? Prohibit Search from index the document library Hide documents from delve. Managed Property
called HideFromDelve. • See: askwictor.com/HideFromDelve
Terminology Actor
Source Node in the Office Graph Represented by the DocId of the item in the search index (or ME)
Object Target Node in the Office Graph Represented by the DocId of the item in the search index
Edge Relationship/interaction between the Actor and Object Has a Action type, a Weight, a timestamp and a few more properties
Action type The type of action the Edge represents
Actor ObjectEdge
Action types
SimpleModified, viewed
ComputedTrending, working with
StructuralManager, colleagues
PublicModified, colleagues
PrivateViewed, working with
Types Privacy
Office Graph query options
REST
HTTP GET
HTTP POST
AuthN might be required
/_api/search/query
JSOM
AuthN not required
KeywordQuery()
CSOM
AuthN required
KeywordQuery()
Office Graph and OAuth Querying the Office Graph is supported by
SharePoint Apps – ie classic apps that use ACS and appregnew.aspx
Azure AD Apps – the kind of apps you should use
Requires delegated permissions SharePoint Apps: Search-
>QueryAsUserIgnoreAppPrincipal– Missing permissions -> no result
Azure AD Apps: Office 365 SharePoint Online -> Run file search queries as a user– Missing permissions -> an error