Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Integrating Domino with Office 2000 via XML (continued)

Next comes the XML code, describing the structure of the Office document:

Print |<xml>|

Optionally set some of the basic Document Properties, such as author, company, etc.:

Print |<o:DocumentProperties>|
Print |<o:Created>| & Format$(Now,"YYYY-MM-DDTHH:TT:SSZ") & |</o:Created>|
Print |<o:Author>Jeffrey R Burrows</o:Author>|
Print |<o:Keywords>Excel,XML,Oracle,DECS,Domino,Notes,DominoPower,LotusScript</o:Keywords>|
Print |</o:DocumentProperties>|

Optionally set some of the available generic Office document properties. This is where the location of the Office Web Components files is supplied so that client browsers without the components can download them:

Print |<o:OfficeDocumentSettings>|
Print |<o:DownloadComponents/>|
Print |<o:LocationOfComponents HRef="http://www.myserv.com/o2000/msowc.cab";/>|
Print |</o:OfficeDocumentSettings>|

Optionally set some custom properties. These are common to all Office documents:

Print |<o:CustomDocumentProperties>|
Print | <o:FinCode dt:dt="string">| & cgiFinCode$ & |</o:FinCode>|
Print | <o:SQL dt:dt="string">| & Query$ & |</o:SQL>|
Print | <o:DominoServer dt:dt="string">| & session.CommonUserName & |</o:DominoServer>|
Print | <o:DominoVersion dt:dt="string">| & session.NotesVersion & |</o:DominoVersion>|
Print | </o:CustomDocumentProperties>|

Next, define the Workbook and each sheet within it:

Print |<x:ExcelWorkbook>|
Print | <x:ExcelWorksheets>|
Print | <x:ExcelWorksheet>|
Print | <x:Name>Enterprise Data via Domino and XML</x:Name>|
Print |<x:WorksheetOptions>|
Print |<x:DoNotDisplayZeros/>|
Print | <x:Selected/>|
Print | <x:Panes>|
Print | <x:Pane>|
Print | <x:Number>1</x:Number>|
Print | <x:ActiveRow>1</x:ActiveRow>|
Print | <x:ActiveCol>1</x:ActiveCol>|
Print | </x:Pane>|
Print | </x:Panes>|
Print | <x:ProtectContents>True</x:ProtectContents>|
Print | <x:ProtectObjects>False</x:ProtectObjects>|
Print | <x:ProtectScenarios>False</x:ProtectScenarios>|
Print |</x:WorksheetOptions>|
Print |</x:ExcelWorksheet>|
Print |</x:ExcelWorksheets>|
Print |</x:ExcelWorkbook>|
Print |</xml>|
Print |</head>|

Now create the plain HTML file for viewing by the Web browser, including any additional XML attributes to be passed to Office (e.g., "x:fmla" to specify an Excel formula and CSS formatting for use by browsers and Excel):

Print ...

Finally, close off the HTML document in the time-honored fashion:

Print |</BODY></HTML>|


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  7  ·  Next »
Other articles you might like
Home > Internet Technologies > XML (11 articles)
   How to create a Web service to extract data from XML documents
   Building an XML based Content Management System using Lotus Domino: wrapping it up
   Building an XML based Content Management System using Lotus Domino: overview of the content administration system
Home > Microsoft Technologies > Office (7 articles)
   DAMO deep-six: is there a future for Outlook/Domino integration?
   Quick guide to using the Microsoft Outlook 2002 Connector with a Domino server
   How to easily connect Notes and Microsoft Office
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login