Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company
-
Upload
european-sharepoint-conference -
Category
Technology
-
view
1.026 -
download
1
description
Transcript of Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company
![Page 1: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/1.jpg)
Work Management Service
Using SP2013 as Consolidated Tasks Platform Across the Company
Adis Jugo
Head of Development at deroso Solutions
![Page 2: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/2.jpg)
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)
![Page 3: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/3.jpg)
10/04/2023 3
![Page 4: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/4.jpg)
10/04/2023 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
![Page 5: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/5.jpg)
10/04/2023 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)
![Page 6: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/6.jpg)
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
![Page 7: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/7.jpg)
High level picture
![Page 8: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/8.jpg)
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
![Page 9: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/9.jpg)
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)
![Page 10: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/10.jpg)
TASK AGGREGATION IN SP 2013DEMO 1
04/10/2023 10
![Page 11: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/11.jpg)
Under the hood
![Page 12: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/12.jpg)
Service application high level architecture
Timer job
Personal site ascache for tasksSynchronous request
for task to UI
Asynchronous cache request for providers
AggregatorSearch
Project
Exchange
Provider X
![Page 13: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/13.jpg)
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
![Page 14: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/14.jpg)
Aggregator for SP 2013 as a Task Provider
Get from cached
locations
Look at the hint store
Search for tasks (if search
> 3h ago)
Update cached locations
Provider refresh
minimum time between provider refreshes: 5 minRefreshing or accessing MyTasks page triggers
aggregator code
![Page 15: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/15.jpg)
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 Properties
![Page 16: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/16.jpg)
WMA Admin Settings
• Cannot be set in GUI• Must be set with PowerShell with • Set-SPWorkManagementServiceApplication
![Page 17: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/17.jpg)
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
![Page 18: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/18.jpg)
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.
![Page 19: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/19.jpg)
Development model
![Page 20: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/20.jpg)
10/04/2023 20
Developing for WMA Service
![Page 21: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/21.jpg)
10/04/2023 21
SSOM/CSOM
![Page 22: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/22.jpg)
10/04/2023 22
Microsoft.Office.Server.WorkManagement UserSettingsManager
UserOrderedSessionManager
UserOrderedSession
LocationOrientedUserOrderedSession
TaskQuery
Task
Location
RefreshResult
KeywordFilter
FieldFilter
CustomAttributeFilter
LastModifiedDateRangeFilter
LocationFilter
PinnedFilter
![Page 23: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/23.jpg)
TAMPERING WITH THE TASKS THROUGH SERVER OBJECT MODELDEMO 2
04/10/2023 23
![Page 24: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/24.jpg)
Working with refreshesDEMO3
![Page 25: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/25.jpg)
Client Object Model• CSOM: Full• REST: None
![Page 26: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/26.jpg)
Building a metro appDEMO4
![Page 27: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/27.jpg)
Thus spoke Microsoft…Implementation is based on provider model, so that additional systems maybe integrated to same architecture in future
![Page 28: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/28.jpg)
10/04/2023 28
…no!<NotSupported />
![Page 29: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/29.jpg)
Tampering with the Provider Model (18+)DEMO 5
![Page 30: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/30.jpg)
Further reading: Microsoft white paperMy Tasks Aggregation in SharePoint Server and Exchange Task Integration
http://www.microsoft.com/en-us/download/details.aspx?id=38799
![Page 31: Work Management Service – Using SharePoint 2013 as consolidated tasks platform across the company](https://reader033.fdocuments.net/reader033/viewer/2022061208/54890ef8b47959ec0c8b5858/html5/thumbnails/31.jpg)
10/04/2023 31
adis.jugo.ba@adisjugo