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.
ADVANCED WEB DESIGN COURSE
Linking Domino to Excel via XML
By Jeffrey R. Burrows

Doubtless, you've heard the hype from Microsoft. Excel 2000 [we've also heard it called Excel '99] will be able to save and load worksheets from the Web, with no loss of function or format, thanks partly to a technology called XML (eXtensible Markup Language).

What you may not have heard is that some XML functionality is available right now with Excel 97. This functionality can easily be exploited by Domino developers, opening up a whole new avenue for Notes information distribution.

This article will show you a -- in few simple steps -- how to turn a Lotus Notes view into an XML-equipped Web page. This new page can not only be viewed by a Web browser, but opened by Excel 97 -- complete with formulas and summed columns. Further, you'll see how to take one small XML step to condense large amounts of information into flexible Excel pivot tables, and how to use Web agents to work around limitations of Notes views.

The basics
When a standard Notes view is presented to a Web browser by the Domino server, it has been converted on the fly into an HTML table. The key here is to take direct control over that conversion procedure, creating the HTML directly in the view, rather than dynamically by the Domino task.

Views have one major limitation in the current Domino server -- they are automatically broken down into individual Web pages. The number of lines in each snapshot can be set only once for every database on the server. These snapshots have two consequences -- only small spreadsheets can be delivered as Web pages using views (up to the default lines-per-view setting in the HTTP section of the Name and Address Book Server document) and you must supply your own navigation icons in custom views to move back and forward between pages

The view method will be used here to demonstrate the principles of HTML (and XML) customization. For spreadsheets beyond the size of a snapshot, an alternative method, using agents, will be used, building on these basic principles.

Web tables
Tables in HTML have a simple structure, composed mostly of table (<TABLE>), row (<TR>), header (<TH>) and data (<TD>) tags, as in this example:-

<TABLE>
<TR><TH>Quarter<TH>Earnings<TH>Profit
<TR><TD>Q198<TD>30000<TD>5000
<TR><TD>Q298<TD>42000<TD>8000
</TABLE>


1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Strategies > Interoperability (15 articles)
   A Sametime plugin for Trillian
   Integrating Twitter with an IBM internal social network
   Fun with Sametime and Skype
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
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 --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login