SlideShare uma empresa Scribd logo
1 de 27
Word on the Server Mohamed YehiaMay 2010
Who Am I Technical Architect www.mohamedyehia.net @mohdyehia myehia@live.com facebook.com/mohdyehia
Where Am I Ireland Senegal Egypt India
Agenda Word Web App Word Automation Services
WORD WEB APP
Word Web App Enable users to view and edit documents in the browser Available via SharePoint 2010 Windows Live
Word Web App Word Web App Viewer Server optimized engine Default click for documents on SharePoint Converts files to PNG or use Silverlight Word Web App Editor Server editing of Open XML documents (.docx) Utilizes Open XML SDK
Word Web App Part of Office Web Apps Requires Office 2010 Client Enterprise CAL Activate Site Collection feature Configure Open Behavior
Word Web App DEMO
WORD automation services
Background Customers automate Word client Not recommended by Microsoft Application Object Model was not designed for bulk automation Does not scale  Dialog boxes “stop” automation Require reboot on server every X hours
Why? DOC PDF Word Word MHTML XPS Word SQL Word Word Word
What is Word Automation Services? In SharePoint 2010 (Standard & Enterprise) 100% server-side rendering Save As on the server Read/write any format understood by Word client High volume throughput with scalability Pagination, TOC, Content Controls, Updating fields Printing on server through PDF/XPS
Performance
Configuration Central Administration > Application Management > Service Application Recommendation Worker processes = # of processors on the server  -1 Max of 90 document conversions per worker process per minute.
Configuration
Word automation services DEMO - CONFIGURATION
Object Model Microsoft.Office.Word.Server assembly  Under Microsoft Office 2010 component Start a conversion job
Starting a Job ConversionJobjob = newConversionJob(“Word Automation Services”); job.UserToken= site.UserToken; //specify job settings job.Settings.OutputFormat= SaveFormat.PDF; job.Settings.OutputSaveBehavior= SaveBehavior.AlwaysOverwrite; job.Settings.UpdateFields= true; //job.AddFolder(inputFolder,outputFolder); //job.AddFile(inputFilePath, outputFilePath) job.AddLibrary(inputLibrary, outputLibrary); job.Start();
Monitoring a Job ConversionJobStatus status = newConversionJobStatus(wordServicesName, jobId, null); while (true)                     { Thread.Sleep(10000);                         status = newConversionJobStatus(wordServicesName, job.JobId, null); if (status.Count == status.Succeeded + status.Failed)                         { Console.WriteLine("Completed, Successful: {0}, Failed: {1}", status.Succeeded, status.Failed); System.Collections.ObjectModel.ReadOnlyCollection<ConversionItemInfo> failedItems = status.GetItems(ItemTypes.Failed); foreach (ConversionItemInfofailedIteminfailedItems) Console.WriteLine("Failed item: Name:{0}", failedItem.InputFile); break;                         }
Word automation services DEMO – OBJECT MODEL
Build Rich Solutions Word Automation Services + Open XML SDK are designed to be complimentary SDK for file manipulation Word for file conversion/archiving tasks Deals with binary formats as well Open XML SDK Print Template Documents Data PDF Word Automation Services
Word automation services DEMO – OPEN XML SDK
Key Takeaways Word is now on the Server Browse and Edit Save As on the server Program against the document Office Services + Open XML SDK = Rich end to end solutions Co-Authoring opens new solution possibilities
Resources Blogs Eric White’s blog: http://blogs.msdn.com/ericwhite Doug Mahugh’s blog: http://blogs.msdn.com/dmahugh ZeyadRajabi + Brian Jones’ blog: http://blogs.msdn.com/brian_jones John Durant’s blog: http://blogs.msdn.com/johnrdurant MSDN Contains how-to articles and documentation Forums related to SDK, code snippets download http://msdn.microsoft.com/office/xml
Thanks Next Session  Tools in Visual Studio 2010 for Sharepoint2010 byMadhurAhuja Join us @ Microsoft Egypt SharePoint 2010 Community Launch on May 12th www.mohamedyehia.net @mohdyehia myehia@live.com facebook.com/mohdyehia
Thanks to our sponsors

Mais conteúdo relacionado

Mais procurados

What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
MicrosoftFeed
 
What's new for Developers in Visual Studio 2013
What's new for Developers in Visual Studio 2013What's new for Developers in Visual Studio 2013
What's new for Developers in Visual Studio 2013
Microsoft Visual Studio
 
Developing Web Sites and Services using Visual Studio 2013
Developing Web Sites and Services using Visual Studio 2013Developing Web Sites and Services using Visual Studio 2013
Developing Web Sites and Services using Visual Studio 2013
Microsoft Visual Studio
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
Rahul Bansal
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual Studio
Microsoft Visual Studio
 
Visual Studio 2010 ALM Overview - Sreedhar Kakade
Visual Studio 2010 ALM Overview - Sreedhar KakadeVisual Studio 2010 ALM Overview - Sreedhar Kakade
Visual Studio 2010 ALM Overview - Sreedhar Kakade
Spiffy
 

Mais procurados (20)

Build a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutesBuild a SharePoint website in 60 minutes
Build a SharePoint website in 60 minutes
 
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
O365Con18 - Reach for the Cloud Build Solutions with the Power of Microsoft G...
 
Building productivity solutions with Microsoft Graph
Building productivity solutions with Microsoft GraphBuilding productivity solutions with Microsoft Graph
Building productivity solutions with Microsoft Graph
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
 
What's new for Developers in Visual Studio 2013
What's new for Developers in Visual Studio 2013What's new for Developers in Visual Studio 2013
What's new for Developers in Visual Studio 2013
 
All About Asp Net 4 0 Hosam Kamel
All About Asp Net 4 0  Hosam KamelAll About Asp Net 4 0  Hosam Kamel
All About Asp Net 4 0 Hosam Kamel
 
Sharepoint Online
Sharepoint OnlineSharepoint Online
Sharepoint Online
 
Spsdc what's new in share point 2013 workflow
Spsdc   what's new in share point 2013 workflowSpsdc   what's new in share point 2013 workflow
Spsdc what's new in share point 2013 workflow
 
Developing Web Sites and Services using Visual Studio 2013
Developing Web Sites and Services using Visual Studio 2013Developing Web Sites and Services using Visual Studio 2013
Developing Web Sites and Services using Visual Studio 2013
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
 
Websites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual StudioWebsites, Web Services and Cloud Applications with Visual Studio
Websites, Web Services and Cloud Applications with Visual Studio
 
Visual Studio 2010 ALM Overview - Sreedhar Kakade
Visual Studio 2010 ALM Overview - Sreedhar KakadeVisual Studio 2010 ALM Overview - Sreedhar Kakade
Visual Studio 2010 ALM Overview - Sreedhar Kakade
 
Ax 2012 enterprise portal development
Ax 2012 enterprise portal developmentAx 2012 enterprise portal development
Ax 2012 enterprise portal development
 
Application innovation & Developer Productivity
Application innovation & Developer ProductivityApplication innovation & Developer Productivity
Application innovation & Developer Productivity
 
Apps for SharePoint 2013
Apps for SharePoint 2013Apps for SharePoint 2013
Apps for SharePoint 2013
 
Spicing up SharePoint web parts
Spicing up SharePoint web partsSpicing up SharePoint web parts
Spicing up SharePoint web parts
 
Confluence as DMS for Moscow Atlassian User Group EN
Confluence as DMS for Moscow Atlassian User Group ENConfluence as DMS for Moscow Atlassian User Group EN
Confluence as DMS for Moscow Atlassian User Group EN
 
Ordina SOFTC Presentation - SharePoint 2010 Architecture
Ordina SOFTC Presentation - SharePoint 2010 ArchitectureOrdina SOFTC Presentation - SharePoint 2010 Architecture
Ordina SOFTC Presentation - SharePoint 2010 Architecture
 
Teams Nation - Extend The Power Platform With Custom Connectors
Teams Nation - Extend The Power Platform With Custom ConnectorsTeams Nation - Extend The Power Platform With Custom Connectors
Teams Nation - Extend The Power Platform With Custom Connectors
 
Introduction Asp.Net Core, MVC, Docker (Linux), Postman and Swagger
Introduction Asp.Net Core, MVC, Docker (Linux), Postman and SwaggerIntroduction Asp.Net Core, MVC, Docker (Linux), Postman and Swagger
Introduction Asp.Net Core, MVC, Docker (Linux), Postman and Swagger
 

Semelhante a Word on the Server

Raju_Datla_Resume
Raju_Datla_ResumeRaju_Datla_Resume
Raju_Datla_Resume
VEERA DATLA
 
Custom SharePoint 2010 solutions without server access
Custom SharePoint 2010 solutions without server accessCustom SharePoint 2010 solutions without server access
Custom SharePoint 2010 solutions without server access
Phil Wicklund
 
Developing for Office 2007 using VSTO 2005
Developing for Office 2007 using VSTO 2005Developing for Office 2007 using VSTO 2005
Developing for Office 2007 using VSTO 2005
sudhakar
 

Semelhante a Word on the Server (20)

Word automation services
Word automation servicesWord automation services
Word automation services
 
Web Center Services and Framework
Web Center Services and  FrameworkWeb Center Services and  Framework
Web Center Services and Framework
 
Taking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceTaking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices Conference
 
Customizing Oracle EBS OA Framework
Customizing Oracle EBS OA FrameworkCustomizing Oracle EBS OA Framework
Customizing Oracle EBS OA Framework
 
Oracle Enterprise 2.0 & Business Applications
Oracle Enterprise 2.0 &  Business ApplicationsOracle Enterprise 2.0 &  Business Applications
Oracle Enterprise 2.0 & Business Applications
 
Office apps in Office 365 - Napa the next big thing
Office apps in Office 365 - Napa the next big thingOffice apps in Office 365 - Napa the next big thing
Office apps in Office 365 - Napa the next big thing
 
Mail Merge Documents With Aspnet
Mail Merge Documents With AspnetMail Merge Documents With Aspnet
Mail Merge Documents With Aspnet
 
Html5 viewer HTML5 office kukudocs
Html5 viewer HTML5 office kukudocsHtml5 viewer HTML5 office kukudocs
Html5 viewer HTML5 office kukudocs
 
Raju_Datla_Resume
Raju_Datla_ResumeRaju_Datla_Resume
Raju_Datla_Resume
 
Mai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPROMai Omar Desouki - SharePoint 2010 ITPRO
Mai Omar Desouki - SharePoint 2010 ITPRO
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
Developing Next-Gen Enterprise Web Application
Developing Next-Gen Enterprise Web ApplicationDeveloping Next-Gen Enterprise Web Application
Developing Next-Gen Enterprise Web Application
 
Resume ankur new
Resume ankur newResume ankur new
Resume ankur new
 
Silverlight 2 for Developers - TechEd New Zealand 2008
Silverlight 2 for Developers - TechEd New Zealand 2008Silverlight 2 for Developers - TechEd New Zealand 2008
Silverlight 2 for Developers - TechEd New Zealand 2008
 
Custom SharePoint 2010 solutions without server access
Custom SharePoint 2010 solutions without server accessCustom SharePoint 2010 solutions without server access
Custom SharePoint 2010 solutions without server access
 
Patterns and Practices in Building Office Add-ins
Patterns and Practices in Building Office Add-insPatterns and Practices in Building Office Add-ins
Patterns and Practices in Building Office Add-ins
 
AD303: Building Composite Applications for IBM Workplace Collaboration Servic...
AD303: Building Composite Applications for IBM Workplace Collaboration Servic...AD303: Building Composite Applications for IBM Workplace Collaboration Servic...
AD303: Building Composite Applications for IBM Workplace Collaboration Servic...
 
Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365
 
Developing for Office 2007 using VSTO 2005
Developing for Office 2007 using VSTO 2005Developing for Office 2007 using VSTO 2005
Developing for Office 2007 using VSTO 2005
 
The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14The SharePoint & jQuery Guide - Updated 1/14/14
The SharePoint & jQuery Guide - Updated 1/14/14
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Último (20)

How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 

Word on the Server

  • 1. Word on the Server Mohamed YehiaMay 2010
  • 2. Who Am I Technical Architect www.mohamedyehia.net @mohdyehia myehia@live.com facebook.com/mohdyehia
  • 3. Where Am I Ireland Senegal Egypt India
  • 4. Agenda Word Web App Word Automation Services
  • 6. Word Web App Enable users to view and edit documents in the browser Available via SharePoint 2010 Windows Live
  • 7. Word Web App Word Web App Viewer Server optimized engine Default click for documents on SharePoint Converts files to PNG or use Silverlight Word Web App Editor Server editing of Open XML documents (.docx) Utilizes Open XML SDK
  • 8. Word Web App Part of Office Web Apps Requires Office 2010 Client Enterprise CAL Activate Site Collection feature Configure Open Behavior
  • 11. Background Customers automate Word client Not recommended by Microsoft Application Object Model was not designed for bulk automation Does not scale Dialog boxes “stop” automation Require reboot on server every X hours
  • 12. Why? DOC PDF Word Word MHTML XPS Word SQL Word Word Word
  • 13. What is Word Automation Services? In SharePoint 2010 (Standard & Enterprise) 100% server-side rendering Save As on the server Read/write any format understood by Word client High volume throughput with scalability Pagination, TOC, Content Controls, Updating fields Printing on server through PDF/XPS
  • 15. Configuration Central Administration > Application Management > Service Application Recommendation Worker processes = # of processors on the server -1 Max of 90 document conversions per worker process per minute.
  • 17. Word automation services DEMO - CONFIGURATION
  • 18. Object Model Microsoft.Office.Word.Server assembly Under Microsoft Office 2010 component Start a conversion job
  • 19. Starting a Job ConversionJobjob = newConversionJob(“Word Automation Services”); job.UserToken= site.UserToken; //specify job settings job.Settings.OutputFormat= SaveFormat.PDF; job.Settings.OutputSaveBehavior= SaveBehavior.AlwaysOverwrite; job.Settings.UpdateFields= true; //job.AddFolder(inputFolder,outputFolder); //job.AddFile(inputFilePath, outputFilePath) job.AddLibrary(inputLibrary, outputLibrary); job.Start();
  • 20. Monitoring a Job ConversionJobStatus status = newConversionJobStatus(wordServicesName, jobId, null); while (true) { Thread.Sleep(10000); status = newConversionJobStatus(wordServicesName, job.JobId, null); if (status.Count == status.Succeeded + status.Failed) { Console.WriteLine("Completed, Successful: {0}, Failed: {1}", status.Succeeded, status.Failed); System.Collections.ObjectModel.ReadOnlyCollection<ConversionItemInfo> failedItems = status.GetItems(ItemTypes.Failed); foreach (ConversionItemInfofailedIteminfailedItems) Console.WriteLine("Failed item: Name:{0}", failedItem.InputFile); break; }
  • 21. Word automation services DEMO – OBJECT MODEL
  • 22. Build Rich Solutions Word Automation Services + Open XML SDK are designed to be complimentary SDK for file manipulation Word for file conversion/archiving tasks Deals with binary formats as well Open XML SDK Print Template Documents Data PDF Word Automation Services
  • 23. Word automation services DEMO – OPEN XML SDK
  • 24. Key Takeaways Word is now on the Server Browse and Edit Save As on the server Program against the document Office Services + Open XML SDK = Rich end to end solutions Co-Authoring opens new solution possibilities
  • 25. Resources Blogs Eric White’s blog: http://blogs.msdn.com/ericwhite Doug Mahugh’s blog: http://blogs.msdn.com/dmahugh ZeyadRajabi + Brian Jones’ blog: http://blogs.msdn.com/brian_jones John Durant’s blog: http://blogs.msdn.com/johnrdurant MSDN Contains how-to articles and documentation Forums related to SDK, code snippets download http://msdn.microsoft.com/office/xml
  • 26. Thanks Next Session Tools in Visual Studio 2010 for Sharepoint2010 byMadhurAhuja Join us @ Microsoft Egypt SharePoint 2010 Community Launch on May 12th www.mohamedyehia.net @mohdyehia myehia@live.com facebook.com/mohdyehia
  • 27. Thanks to our sponsors