SlideShare a Scribd company logo
1 of 31
About Me
• I have been working with sharepoint since
2008
• My blog:
http://www.greenroomsolutions.ca/blog/
• Email: kdube@cityoflangford.ca
• My spare time:
Timesheet System Integration
Background
• City of Langford has a homegrown ASP.NET
timesheet system
• Allows staff to enter there time on a daily
basis. Time entry is recorded on a project by
project basis
• The times system exports a file which is
imported into our Payroll ERP System (Great
Plains)
Background Cont.
• System has its own SQL server database
Background Cont.
• Projects assigned to each employee are
configurable.
• Each user is assigned a supervisor in the
system.
Timesheet System Snip
Approval Process
• In the “old days”
– People would print out there timesheet get their
supervisor to sign it and submit it to the payroll
department
– Purely a paper process
Integration Functionality
• Approval done in SharePoint document library
• Submit timesheet to SharePoint using SharePoint API
• Document tagged with metadata (submitter, date),
dropped in Supervisor Folder (with security)
• Ability to comment Timesheet
Server API vs CSOM (SP2010)
• Pros/Cons
Server API CSOM
Easier to code Limited OM exposed
Entire OM exposed More difficult to code
Requires sharepoint server on
machine running code
Can run on any client
Wrapper over web services
Development History
• Originally in SP2007 this system used the
Server API (no CSOM available). Required
timesheet website to run on sharepoint
server.
• In migration to SP2010 CSOM became
available. Switched to this API so timesheet
not coupled to sharepoint server
Pseudocode
• Generate report (already existing), byte array
• Connect to sharepoint site, list
• Query for supervisor folder IF it doesn’t exist
then create it first
• Upload to supervisor folder
• Tag with metadata
Generate Report
• Using .rdlc (visual studio report designer) to
generate report
Connect to the sharepoint site, list
Connect to the sharepoint site, list
Query for Supervisor Folder (CSOM)
Query for supervisor folder cont
Create Supervisor Folder (CSOM)
Versus Server API
Upload Code
Tag with metadata (CSOM)
Tag with metadata (server API)
Timesheet Library
• Approve View (data grid format)
Supervisor Folders (in approval view)
Approval View (Datagrid)
Approval View Settings
Bonus Content
• Ever tried to change someones name in
sharepoint?
• Ever had someone accidentally delete the root
site in a site collection?
Bonus Content – Changing User Names
Bonus – Recover Deleted Site
Collection

More Related Content

What's hot

What's hot (20)

Fission Introduction
Fission IntroductionFission Introduction
Fission Introduction
 
Azure serverless
Azure serverlessAzure serverless
Azure serverless
 
Connect the Impossible with Azure Logic App
Connect the Impossible with Azure Logic AppConnect the Impossible with Azure Logic App
Connect the Impossible with Azure Logic App
 
Chef Analytics Webinar
Chef Analytics WebinarChef Analytics Webinar
Chef Analytics Webinar
 
End-to-end test automation with Endtest.dev
End-to-end test automation with Endtest.devEnd-to-end test automation with Endtest.dev
End-to-end test automation with Endtest.dev
 
Techorama migrate to sharepoint framework
Techorama migrate to sharepoint frameworkTechorama migrate to sharepoint framework
Techorama migrate to sharepoint framework
 
Serverless
ServerlessServerless
Serverless
 
Serverless Code Deployments in AWS
Serverless Code Deployments in AWSServerless Code Deployments in AWS
Serverless Code Deployments in AWS
 
2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterb2019 hashiconf consul-templaterb
2019 hashiconf consul-templaterb
 
Scaling Your First 1000 Containers with Docker
Scaling Your First 1000 Containers with DockerScaling Your First 1000 Containers with Docker
Scaling Your First 1000 Containers with Docker
 
Adopting containers and kubernetes in production
Adopting containers and kubernetes in productionAdopting containers and kubernetes in production
Adopting containers and kubernetes in production
 
ADF Basics and Beyond - Alfresco Devcon 2018
ADF Basics and Beyond - Alfresco Devcon 2018ADF Basics and Beyond - Alfresco Devcon 2018
ADF Basics and Beyond - Alfresco Devcon 2018
 
Automated Data Synchronization: Data Loader, Data Mirror & Beyond
Automated Data Synchronization: Data Loader, Data Mirror & BeyondAutomated Data Synchronization: Data Loader, Data Mirror & Beyond
Automated Data Synchronization: Data Loader, Data Mirror & Beyond
 
SPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flowSPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flow
 
Salesforce winter 16 release
Salesforce winter 16 releaseSalesforce winter 16 release
Salesforce winter 16 release
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
 
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio StruyfO365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
 
03 spring cloud eureka service discovery
03 spring cloud eureka   service discovery03 spring cloud eureka   service discovery
03 spring cloud eureka service discovery
 
Openstack Heat & How Autoscaling works
Openstack Heat & How Autoscaling worksOpenstack Heat & How Autoscaling works
Openstack Heat & How Autoscaling works
 
A quick introduction to AWS Lambda
A quick introduction to AWS LambdaA quick introduction to AWS Lambda
A quick introduction to AWS Lambda
 

Similar to Timesheet Approval Process

Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
HostedbyConfluent
 
High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013
C5 Insight
 
Spca2014 chris o brien modern share-point development - techniques for off-...
Spca2014 chris o brien   modern share-point development - techniques for off-...Spca2014 chris o brien   modern share-point development - techniques for off-...
Spca2014 chris o brien modern share-point development - techniques for off-...
NCCOMMS
 
Upgrade webinar
Upgrade webinarUpgrade webinar
Upgrade webinar
ShanesCows
 

Similar to Timesheet Approval Process (20)

Share point development 101
Share point development 101Share point development 101
Share point development 101
 
Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
Utilizing Point-in-Time Queries in Event-Based Systems, Bobby Calderwood | Cu...
 
Developing a provider hosted share point app
Developing a provider hosted share point appDeveloping a provider hosted share point app
Developing a provider hosted share point app
 
Azure Functions Real World Examples
Azure Functions Real World Examples Azure Functions Real World Examples
Azure Functions Real World Examples
 
The Path Through SharePoint Migrations
The Path Through SharePoint MigrationsThe Path Through SharePoint Migrations
The Path Through SharePoint Migrations
 
Developing a Provider Hosted SharePoint app
Developing a Provider Hosted SharePoint appDeveloping a Provider Hosted SharePoint app
Developing a Provider Hosted SharePoint app
 
WISPUG - Fun with SharePoint Migrations
WISPUG - Fun with SharePoint MigrationsWISPUG - Fun with SharePoint Migrations
WISPUG - Fun with SharePoint Migrations
 
Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?
 
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas VochtenO365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
 
SharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija Blagus
 
High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013
 
Spca2014 chris o brien modern share-point development - techniques for off-...
Spca2014 chris o brien   modern share-point development - techniques for off-...Spca2014 chris o brien   modern share-point development - techniques for off-...
Spca2014 chris o brien modern share-point development - techniques for off-...
 
Drew madelung sp designer workflows - sp-biz
Drew madelung   sp designer workflows - sp-bizDrew madelung   sp designer workflows - sp-biz
Drew madelung sp designer workflows - sp-biz
 
SharePoint 2013 – the upgrade story
SharePoint 2013 – the upgrade storySharePoint 2013 – the upgrade story
SharePoint 2013 – the upgrade story
 
Data Management and Migration in Salesforce
Data Management and Migration in SalesforceData Management and Migration in Salesforce
Data Management and Migration in Salesforce
 
Upgrade webinar
Upgrade webinarUpgrade webinar
Upgrade webinar
 
The Path through SharePoint Migrations
The Path through SharePoint MigrationsThe Path through SharePoint Migrations
The Path through SharePoint Migrations
 
Data harmony update 2021
Data harmony update 2021 Data harmony update 2021
Data harmony update 2021
 
IberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 UpgradeIberianSPC - SharePoint 2013 Upgrade
IberianSPC - SharePoint 2013 Upgrade
 
Collab 365 - Real world scenarios to migrate to SharePoint 2016 or Office 365
Collab 365 - Real world scenarios to migrate to SharePoint 2016 or Office 365Collab 365 - Real world scenarios to migrate to SharePoint 2016 or Office 365
Collab 365 - Real world scenarios to migrate to SharePoint 2016 or Office 365
 

More from Regroove

More from Regroove (20)

What's New in Microsoft 365 - June 2022
What's New in Microsoft 365 - June 2022What's New in Microsoft 365 - June 2022
What's New in Microsoft 365 - June 2022
 
New Microsoft Features - Victoria O365 User Group April 2022
New Microsoft Features - Victoria O365 User Group April 2022New Microsoft Features - Victoria O365 User Group April 2022
New Microsoft Features - Victoria O365 User Group April 2022
 
New Microsoft Features - Victoria O365 User Group February 2022
New Microsoft Features - Victoria O365 User Group February 2022New Microsoft Features - Victoria O365 User Group February 2022
New Microsoft Features - Victoria O365 User Group February 2022
 
Regroove Teams Tips from Victoria O365 User Group Feb 2022
Regroove Teams Tips from Victoria O365 User Group Feb 2022Regroove Teams Tips from Victoria O365 User Group Feb 2022
Regroove Teams Tips from Victoria O365 User Group Feb 2022
 
What's new in Microsoft 365 January 20 2022
What's new in Microsoft 365 January 20 2022What's new in Microsoft 365 January 20 2022
What's new in Microsoft 365 January 20 2022
 
What's new in Microsoft 365 November 2021
What's new in Microsoft 365 November 2021What's new in Microsoft 365 November 2021
What's new in Microsoft 365 November 2021
 
What's new in Microsoft 365 October 2021
What's new in Microsoft 365 October 2021What's new in Microsoft 365 October 2021
What's new in Microsoft 365 October 2021
 
What's new in Microsoft 365 September 2021
What's new in Microsoft 365 September 2021What's new in Microsoft 365 September 2021
What's new in Microsoft 365 September 2021
 
What's New in Microsoft 365 @ Victoria O365 User Group Virtual Meet-up August...
What's New in Microsoft 365 @ Victoria O365 User Group Virtual Meet-up August...What's New in Microsoft 365 @ Victoria O365 User Group Virtual Meet-up August...
What's New in Microsoft 365 @ Victoria O365 User Group Virtual Meet-up August...
 
What's new in Microsoft 365 July 2021
What's new in Microsoft 365 July 2021What's new in Microsoft 365 July 2021
What's new in Microsoft 365 July 2021
 
What's new in Microsoft 365 June 2021
What's new in Microsoft 365 June 2021What's new in Microsoft 365 June 2021
What's new in Microsoft 365 June 2021
 
Microsoft office 365 what's new for May 2021
Microsoft office 365 what's new for May 2021Microsoft office 365 what's new for May 2021
Microsoft office 365 what's new for May 2021
 
Microsoft Office 365 What's New for April 2021
Microsoft Office 365 What's New for April 2021Microsoft Office 365 What's New for April 2021
Microsoft Office 365 What's New for April 2021
 
Microsoft Office 365 What's New for March 2021
Microsoft Office 365 What's New for March 2021Microsoft Office 365 What's New for March 2021
Microsoft Office 365 What's New for March 2021
 
Microsoft Office 365 What's New for February 2021
Microsoft Office 365 What's New for February 2021Microsoft Office 365 What's New for February 2021
Microsoft Office 365 What's New for February 2021
 
Victoria Office 365 Users Group - Microsoft Teams Breakout Rooms
Victoria Office 365 Users Group - Microsoft Teams Breakout RoomsVictoria Office 365 Users Group - Microsoft Teams Breakout Rooms
Victoria Office 365 Users Group - Microsoft Teams Breakout Rooms
 
Microsoft Office 365 What's New for January 2021
Microsoft Office 365 What's New for January 2021Microsoft Office 365 What's New for January 2021
Microsoft Office 365 What's New for January 2021
 
Microsoft Office 365 What's New for November 2020
Microsoft Office 365 What's New for November 2020Microsoft Office 365 What's New for November 2020
Microsoft Office 365 What's New for November 2020
 
Microsoft Office 365 What's New for October 2020
Microsoft Office 365 What's New for October 2020Microsoft Office 365 What's New for October 2020
Microsoft Office 365 What's New for October 2020
 
Microsoft Office 365 What's New for September 2020 with Recap of Ignite 2020
Microsoft Office 365 What's New for September 2020 with Recap of Ignite 2020Microsoft Office 365 What's New for September 2020 with Recap of Ignite 2020
Microsoft Office 365 What's New for September 2020 with Recap of Ignite 2020
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Timesheet Approval Process