Download presentation
Presentation is loading. Please wait.
Published byLee Randall Modified over 8 years ago
1
SQL 2012 Power View in SharePoint What's Missing and how to fix it with Open XML Ken Mears Senior Consultant, Portals & Collaboration Practice Neudesic LLC
2
W HO THE H ECK IS T HIS G UY ? Ken Mears Senior Consultant Neudesic LLC SharePoint Cipher – http://krdmtech.wordpress.com/http://krdmtech.wordpress.com/ Twitter – @krdmtech@krdmtech Email – krdmtech@gmail.comkrdmtech@gmail.com
3
Report Builder for SQL Server Analysis Services –Power View doesn’t replace the existing Reporting Services tools. Silverlight Application Overview –http://technet.microsoft.com/en-us/library/hh213579(v=sql.110).aspxhttp://technet.microsoft.com/en-us/library/hh213579(v=sql.110).aspx –Presentation-ready –Based on data models –Data filtering –Reports with multiple views W HAT IS P OWER V IEW ? ProsCons Rich interactionCan't change anything unless you have source PrettyUses AdHocReportDesigner.aspx code behind to open Silverlight Easy to useOnly available via SharePoint 2010/2013 Export to PowerPoint is niceNo way to export the data behind the report
4
D EMO Power View
5
RDLX RDL stands for Report Definition Library The “X” means it’s an Open XML archive
6
D EMO RDLX File Structure
7
How do we get the data we need from the “x” archive with minimal client/server impact? 7-zip library –If it’s an archive 7-zip will (at least try to) extract it –Open source SevenZipSharp –.NET library for utilizing 7-zip to compress/decompress archives –Can use streams as opposed to file system –Open source G ETTING AT THE I NFORMATION
8
D EMO SevenZipSharp Using Streams
9
What is Open XML? –“Office Open XML (OpenXML) is a proposed open standard for word-processing documents, presentations, and spreadsheets that can be freely implemented by multiple applications on multiple platforms.” – ECMA International - Open XML Overview –“The Open XML file formats are useful for developers because they are an open standard and are based on well-known technologies: ZIP and XML.” – MSDN Open XML SDK 2.0 Open XML SDK 2.0 –Built on System.IO.Packaging API –Uses DocumentFormat.OpenXml reference –Open XML Productivity Tool for Microsoft Office Generate source code based on document content Compare two documents Document validation O PEN XML 2.0
10
D EMO Open XML Productivity Tool
11
D EMO Creating the XSLX
12
D EMO Compare XSLX
13
What is iText? –iText is an API that was developed to allow developers to create and manipulate PDF documents. What is iTextSharp? –“iText# (iTextSharp) is a port of the iText open source java library for PDF generation written entirely in C# for the.NET platform.” Why PDF? –PDF is the de facto standard for web documents. –The built in print dialog works well and is accessible via JavaScript. –Gives us the ability to include images. C REATING PDF S WITH I T EXT S HARP
14
D EMO Creating the PDF
15
F INAL T HOUGHTS Shared Strings are the debil! –Not really… –It makes total sense, but figuring it out the first time was a bit of a pain If someone’s already done the work save yourself some time and reuse it! “The bad artists imitate, the great artists steal.” Pablo Picasso Banksy
16
Microsoft > Welcome to the Open XML SDK 2.0 for Microsoft Office: http://msdn.microsoft.com/en-us/library/bb448854.aspx http://msdn.microsoft.com/en-us/library/bb448854.aspx Mike Brind > Mikesdotnetting – iTextSharp References: http://www.mikesdotnetting.com/Category/20 http://www.mikesdotnetting.com/Category/20 SpreadsheetML Documentation – http://msdn.microsoft.com/en- us/library/gg278316.aspxhttp://msdn.microsoft.com/en- us/library/gg278316.aspx Downloads –Open XML 2.0 SDK: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5124 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5124 –iTextSharp: http://sourceforge.net/projects/itextsharp/http://sourceforge.net/projects/itextsharp/ –SevenZipSharp: http://sevenzipsharp.codeplex.com/http://sevenzipsharp.codeplex.com/ SharePoint Cipher – http://krdmtech.wordpress.com/http://krdmtech.wordpress.com/ R ESOURCES
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.