0
Work Management
Service
Using SP2013 as Consolidated Tasks Platform Across the Company

Adis Jugo

Head of Development at ...
Who the…?
• Born in Sarajevo, Bosnia and Herzegovina, 40 years ago
• In SP world since 2002, doing nothing else since 2006...
2/24/2014

3
Why
• It is challenging for information workers to get a comprehensive view
of their tasks, or to have a central point for...
Work Management Service Application
• New in SharePoint 2013
• Provides functionality to aggregate tasks into central plac...
Work Management Service Application
• Tasks can be aggregated from Exchange, Project Server and
SharePoint
• Based on 'Pro...
High level picture
Features
• Tasks managed from one location (My Tasks in personal page)
• Unified tasks timeline (view, add, close tasks)
•...
Prerequisites
• Work Management Service Application (WMA)
• User Profile Service Application
• Import from AD

• Search Se...
TASK AGGREGATION IN SP
2013
DEMO 1

2/24/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 / ...
Aggregator for SP 2013 as a Task Provider
Get from
cached
locations

Look at the
hint store

Search for
tasks (if search
>...
WMA
Properties
Property

Default Value

Description

minimumTimeBetweenProviderRefreshes

minimumTimeBetweenProviderRefres...
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 W...
Limitations
• Cross farm aggregation is not supported.
• The My Tasks page will not report and aggregate tasks from anothe...
Development model
Developing for WMA Service

2/24/2014

20
SSOM/CSOM

2/24/2014

21
UserSettingsManager

Microsoft.Office.Server.WorkManagement

UserOrderedSessionManager

KeywordFilter

UserOrderedSession
...
TAMPERING WITH THE
TASKS THROUGH SERVER
OBJECT MODEL
DEMO 2

2/24/2014 23
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
archi...
…no!
<NotSupported />

2/24/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
http://www....
adis.jugo.ba
@adisjugo
2/24/2014

31
Upcoming SlideShare
Loading in...5
×

Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company

852

Published on

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.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
852
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Note. Cross farm aggregation is not supported, so SP sites have to be on same farm.
  • Important: the WM SSA only contact Search, Personal Site and Project SSAs that are in the same proxy group
  • Transcript of "Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company"

    1. 1. Work Management Service Using SP2013 as Consolidated Tasks Platform Across the Company Adis Jugo Head of Development at deroso Solutions
    2. 2. 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 (http://adis.jugo.ba)
    3. 3. 2/24/2014 3
    4. 4. 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/24/2014 4
    5. 5. 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/24/2014 5
    6. 6. 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
    7. 7. High level picture
    8. 8. 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
    9. 9. 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)
    10. 10. TASK AGGREGATION IN SP 2013 DEMO 1 2/24/2014 10
    11. 11. Under the hood
    12. 12. Service application high level architecture
    13. 13. 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
    14. 14. 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
    15. 15. 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.
    16. 16. WMA Admin Settings • Cannot be set in GUI • Must be set with PowerShell with • Set-SPWorkManagementServiceApplication
    17. 17. 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
    18. 18. 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.
    19. 19. Development model
    20. 20. Developing for WMA Service 2/24/2014 20
    21. 21. SSOM/CSOM 2/24/2014 21
    22. 22. UserSettingsManager Microsoft.Office.Server.WorkManagement UserOrderedSessionManager KeywordFilter UserOrderedSession LocationOrientedUserOrderedSession FieldFilter TaskQuery CustomAttributeFilter Task LastModifiedDateRangeFilter Location LocationFilter RefreshResult PinnedFilter 2/24/2014 22
    23. 23. TAMPERING WITH THE TASKS THROUGH SERVER OBJECT MODEL DEMO 2 2/24/2014 23
    24. 24. Working with refreshes DEMO3
    25. 25. Client Object Model • CSOM: Full • REST: None
    26. 26. Building a metro app DEMO4
    27. 27. Thus spoke Microsoft… Implementation is based on provider model, so that additional systems maybe integrated to same architecture in future
    28. 28. …no! <NotSupported /> 2/24/2014 28
    29. 29. Tampering with the Provider Model (18+) DEMO 5
    30. 30. Further reading: Microsoft white paper My Tasks Aggregation in SharePoint Server and Exchange Task Integration http://www.microsoft.com/en-us/download/details.aspx?id=38799
    31. 31. adis.jugo.ba @adisjugo 2/24/2014 31
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×