Work Management Application in SharePoint 2013 - architecture and development

33 %
67 %
Information about Work Management Application in SharePoint 2013 - architecture and...

Published on February 18, 2014

Author: adisjugo



Work Management Service provides a functionality to aggregate tasks to a central location on SharePoint Server. Users have a possibility to view and track their to-dos and tasks, which can come from SharePoint lists, Project Server or Microsoft Exchange.
This development-oriented webinar will show how to leverage Work Management Service API, to add even more features and fine tuning to the system. On the end, it will be shown how to sync it all with mobile devices.

That way, Work Management Service can become a powerful tool for employees to manage and consolidate tasks from various sources, and to have an easy access and overview over their tasks, through their MySite environment and/or mobile devices.

Work Management Service Using SP2013 as Consolidated Tasks Platform Across the Company Adis Jugo Head of Development at deroso Solutions

Who the…? • Born in Sarajevo, Bosnia and Herzegovina, 40 years ago • In SP world since 2002, doing nothing else since 2006 • Microsoft MVP for SharePoint Server • Head of Development at deroso Solutions • Blogger, speaker (

2/18/2014 3

Why • It is challenging for information workers to get a comprehensive view of their tasks, or to have a central point for managing their work • Tasks are stored across applications and systems, and even in case where all tasks are stored within a single system, information can still be scattered 2/18/2014 4

Work Management Service Application • New in SharePoint 2013 • Provides functionality to aggregate tasks into central place • Tasks are accessible through the personal site (My Tasks) 2/18/2014 5

Work Management Service Application • Tasks can be aggregated from Exchange, Project Server and SharePoint • Based on 'Provider model' so that other systems can be eventually integrated in the future • Tasks are cached to a users personal site • Work Management Service is exposed as part of each users My Site / Newsfeed experience

High level picture

Features • Tasks managed from one location (My Tasks in personal page) • Unified tasks timeline (view, add, close tasks) • Sync to Outlook (Exchange) • Categorized/grouped by “locations” • “Pinning tasks (marking tasks as important) • Searching tasks

Prerequisites • Work Management Service Application (WMA) • User Profile Service Application • Import from AD • Search Service Application • necessary for SharePoint 2013 tasks • Exchange 2013* • Project Service Application * • Personal/Newsfeed site (MySites)

TASK AGGREGATION IN SP 2013 DEMO 1 2/18/2014 10

Under the hood

Service application high level architecture

SharePoint 2013: Supported Task Types • Task Types • 171 / New tasks from SP 2013 (“TasksWithTimelineAndHistory”) • 107 / Tasks from SP 2010 (Upgraded Lists) • 150 / GanttTasks (Upgraded Lists) • Any Tasks from any list that support Task content type • Task content type must be set as a default content type

Aggregator for SP 2013 as a Task Provider Get from cached locations Look at the hint store Search for tasks (if search > 3h ago) Provider refresh Refreshing or accessing MyTasks page triggers aggregator code minimum time between provider refreshes: 5 min Update cached locations

WMA Properties Property Default Value Description minimumTimeBetweenProviderRefreshes minimumTimeBetweenProviderRefreshes 0:05:00 This value specifies the minimum amount of time between refreshes for a provider for a given user. There cannot be a refresh of data if this value is not met, all refresh operations will be null before that. minimumTimeBetweenSearchQueries minimumTimeBetweenSearchQueries 3:00:00 This value specifies the minimum amount of time between calls to search for a given user. This is used to discover new providers not yet known to have tasks for this user.

WMA Admin Settings • Cannot be set in GUI • Must be set with PowerShell with • Set-SPWorkManagementServiceApplication

Relationship to Search • Search Crawler locates tasks lists and loads them into the cached locations for Querying by the WMA Provider • When a task list is added to the cached locations, new tasks from this task list will be found during the next Provider refresh • Most of the times, even new tasks from the list that are not cached will show up in MyTasks • • • • Hints (rely on Event Receivers on Task lists) Not triggered if user has no permissions on that list Legacy SharePoint lists will not trigger receiver code (will not end up in hints) Generally not guaranteed

Limitations • Cross farm aggregation is not supported. • The My Tasks page will not report and aggregate tasks from another farm from the same domain or from a different domain, regardless of the existing trust between the domains and farms.

Development model

Developing for WMA Service 2/18/2014 20

SSOM/CSOM 2/18/2014 21

UserSettingsManager Microsoft.Office.Server.WorkManagement UserOrderedSessionManager KeywordFilter UserOrderedSession LocationOrientedUserOrderedSession FieldFilter TaskQuery CustomAttributeFilter Task LastModifiedDateRangeFilter Location LocationFilter RefreshResult PinnedFilter 2/18/2014 22


Working with refreshes DEMO3

Client Object Model • CSOM: Full • REST: None

Building a metro app DEMO4

Thus spoke Microsoft… Implementation is based on provider model, so that additional systems maybe integrated to same architecture in future

…no! <NotSupported /> 2/18/2014 28

Tampering with the Provider Model (18+) DEMO 5

Further reading: Microsoft white paper My Tasks Aggregation in SharePoint Server and Exchange Task Integration @adisjugo 2/18/2014 31

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Dissecting the Work Management Service Application Part 1 ...

... the architecture of SharePoint 2013 Work Management Service Application, and the development ... of the Work Management Service Application ...
Read more

Work Management service in SharePoint 2013: A Short ...

... Jugo Work Management service in SharePoint 2013: ... Work Management Application, ... architecture and development of ...
Read more

Microsoft SharePoint Server 2013 Architecture

Microsoft SharePoint Server 2013 Architecture ... Translation services Work Management SharePoint system ... Other service application databases SQL ...
Read more

SharePoint 2013 Work Management Service: Part 1 ...

In this article we will learn about the SharePoint 2013 Work Management ... Work Management Service application ... SharePoint. With the Work Management ...
Read more

SharePoint 2013: How to Configure Work Management Service ...

... Server 2013 Work Management Service Application ... SharePoint 2013 Management Shell ... SharePoint 2013: How to Configure Work ...
Read more

Architecting a SharePoint 2013 Deployment | Understanding ...

Architecting a SharePoint 2013 Deployment. ... This chapter covers SharePoint 2013 design and architecture. ... Work Management service application. X. X. X.
Read more

Plan logical architectures for SharePoint 2013

... architecture of a SharePoint 2013 ... logical architectures for SharePoint 2013. ... in SharePoint 2013. Update a web application ...
Read more

Webinar “Work Management Service” materials and answers ...

Webinar “Work Management Service” materials and ... management-application-in-sharepoint-2013-architecture-and ... for Work Management Application.
Read more