exporting data using microsoft graph and...introduction module 1 module 2 summary module 2 overview...
TRANSCRIPT
![Page 1: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/1.jpg)
![Page 2: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/2.jpg)
Exporting Data using Microsoft Graph and OpenXML SDKTom Jebo
![Page 3: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/3.jpg)
Overview
Introduction
Workbook Generation
Data Driven Sheet
Summary
![Page 4: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/4.jpg)
Introduction
Module 1
Module 2
Summary
Prerequisites
• Visual Studio Community
• Visual Studio Code (optional)
• Open XML SDK
• Open XML SDK Productivity Tool
• Office Dev Account (optional)
https://github.com/InteropEvents/ExportingDataOpenXML/tree/master#exportingdataopenxml
![Page 5: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/5.jpg)
Introduction
Module 1
Module 2
Summary
Outcomes
In Scope
✓ Open XML SDK
✓ Office Open XML
✓ Microsoft Graph Explorer (usage)
✓ Office Add-ins (pinning)
Out of Scope
Excel API’s, config, usage, etc…
Microsoft Graph API’s
![Page 6: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/6.jpg)
Introduction
Module 1
Module 2
Summary
Focus Teams App Scenario
![Page 7: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/7.jpg)
Introduction
Module 1
Module 2
Summary
Big Picture
CustomizeModule 2: Modify the Open XML SDK C# Code to Customize the Table
with JSON Input
Import Module 2: Use Microsoft Graph Explorer to Create JSON Data
GenerateModule 1: Auto-Generate an Excel Workbook Based on Reflected Open
XML SDK C# Code
![Page 8: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/8.jpg)
Open XML SDK on Github
![Page 9: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/9.jpg)
Introduction
Module 1
Module 2
Summary
Demonstration
![Page 10: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/10.jpg)
Introduction
Module 1
Module 2
Summary
Module 1 OverviewOverview
Section 1
Section 2
Summary
In this module, we will create and programmatically generate the Excel Workbook
https://github.com/InteropEvents/ExportingDataOpenXML/blob/master/Module1.md
Note:
If you run out of time, please feel free to continue working
on the workshop.
If you have questions or problems following the tutorial
after this session, please email:
mailto:[email protected]
![Page 11: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/11.jpg)
Introduction
Module 1
Module 2
Summary
Module 1 Section 2
Generate WorkbookIn this section, we will do the following steps:
1. Use the OpenXML SDK Productivity Tool to open a template Excel workbook
2. In the tool, reflect the C# code to programmatically generate the workbook.
3. Create a solution in Visual Studio and load the reflected code.
4. Build and run the code to verify the workbook.
https://github.com/InteropEvents/ExportingDataOpenXML/blob/
master/Module1.md#reflect-code-to-build-our-report-
programmatically
![Page 12: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/12.jpg)
Introduction
Module 1
Module 2
Summary
Module 1 Summary
In this module, we’ve taken the initial steps toward
generating Excel workbooks using C# code.
We now have a template workbook that can be
generated programmatically. This is very powerful!
![Page 13: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/13.jpg)
Introduction
Module 1
Module 2
Summary
Module 2 Overview
Now that we have a template, let’s customize it to build the table from our Microsoft Graph data.
We will be modifying the table and sheet generation code to use JSON data.
https://github.com/InteropEvents/ExportingDataOpenXML/blob/master/Module2.md
Note:
If you run out of time, please feel free to continue working
on the workshop.
If you have questions or problems following the tutorial
after this session, please email:
mailto:[email protected]
![Page 14: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/14.jpg)
Introduction
Module 1
Module 2
Summary
Module 2 Section 1
Import JSON dataIn this section we will import data from Microsoft Graph using the Explorer. This data will be pulled from Planner tasks and be in JSON format.
![Page 15: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/15.jpg)
Introduction
Module 1
Module 2
Summary
Module 2 Section 2
Modify the code to use JSON data for table generation.
Follow the steps in the Module 2 Tutorial to modify the code.
https://github.com/InteropEvents/ExportingDataOpenXML/blob/master/Module2.md
Verify the new sheet.
![Page 16: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/16.jpg)
Introduction
Module 1
Module 2
Summary
Module 2 Summary
Congratulations! You’ve successfully created a worksheet with data driven table!
Note:
If you run out of time, please feel free to continue working
on the workshop.
If you have questions or problems following the tutorial
after this session, please email:
mailto:[email protected]
![Page 17: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/17.jpg)
Introduction
Module 1
Module 2
Summary
Summary
Outcomes
✓Auto Generate Report Workbook
✓Data Driven Workbook
Next Steps
→Learn
→Do
![Page 18: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/18.jpg)
Introduction
Module 1
Module 2
Summary
Upcoming Sessions
Today:
2:00pm Build Automated Workflows in your Line of Business App Using Microsoft Flow
2:45pm Microsoft Power Platform
3:30pm Protect Your Mobile Apps with Modern Authentication and Microsoft Intune
4:00pm On-Premises Office Online and Co-Authoring Protocols Overview (MS-WOPI and MS-FSSHTTP)
![Page 19: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/19.jpg)
Introduction
Module 1
Module 2
Summary
Tools
Open XML Package Editor for Visual Studio:
https://github.com/OfficeDev/Open-XML-Package-Editor-Power-Tool-for-Visual-Studio
OOXML Tools Extension for Chrome
(search “ooxml tools chrome” and install in Chrome)
Open XML SDK Productivity Tool
(search “open xml sdk 2.5”, click download, OpenXMLSDKToolV25.msi)
![Page 20: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/20.jpg)
Introduction
Module 1
Module 2
Summary
Support & Resources
SDKOpen XML SDK
https://github.com/OfficeDev/Open-Xml-SdkOpenXMLDeveloper
http://www.openxmldeveloper.orglibopc
http://libopc.codeplex.com (third-party open source OOXML library)
Transforming Open XML Documents using XSLThttps://blogs.msdn.microsoft.com/ericwhite/2008/09/29/transforming-open-xml-documents-using-xslt/
Azure Functionshttps://docs.microsoft.com/en-us/azure/azure-functions/
Open Specifications
https://social.msdn.microsoft.com/Forums/en-US/home?category=openspecifications
![Page 21: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/21.jpg)
![Page 22: Exporting Data using Microsoft Graph and...Introduction Module 1 Module 2 Summary Module 2 Overview Now that we have a template, let’s customize it to build the table from our Microsoft](https://reader033.vdocuments.net/reader033/viewer/2022060511/5f29974c5e12d03e0f1b1bd7/html5/thumbnails/22.jpg)