Bp124

34
1 BP124 Integration Superglue: Advanced Integration Techniques with IBM Lotus Notes and Domino and Office 2003 BP124 Integration Superglue: Advanced Integration Techniques with IBM Lotus Notes and Domino and Office 2003 John Head – PSC Group, LLC enTouch Framework Offerings and Development Manager John Head – PSC Group, LLC enTouch Framework Offerings and Development Manager

Transcript of Bp124

Page 1: Bp124

1

BP124 Integration Superglue:Advanced Integration Techniques with IBM Lotus Notes and Domino and Office 2003

BP124 Integration Superglue:Advanced Integration Techniques with IBM Lotus Notes and Domino and Office 2003

John Head – PSC Group, LLCenTouch Framework Offerings and Development Manager

John Head – PSC Group, LLCenTouch Framework Offerings and Development Manager

Page 2: Bp124

2

Before we begin …Before we begin …

� Please turn off/set to vibrate/mute all� Cell Phones� Pagers� Computers

� Please remember to fill out your evaluations� Hand in at end of session� Fill out via Lotusphere Online

� Please turn off/set to vibrate/mute all� Cell Phones� Pagers� Computers

� Please remember to fill out your evaluations� Hand in at end of session� Fill out via Lotusphere Online

Page 3: Bp124

3

Who is John Head?Who is John Head?� Offering and Development Manager for our enTouch

frameworks� Technical and Sales role

� Involved in Lotus technology since 1993� Speaker for over 15 sessions at Lotusphere since 1996� IBM Lotus Notes/Domino Certified� Author for Advisor Magazine and Group Computing on

Office and SmartSuite integration with Notes� PSC Group, LLC (www.psclistens.com)

� Midwest Mid-Market Professional Services Firm� Winner of 2004 Lotus Award for

Best Competitive Win!

� Offering and Development Manager for our enTouch frameworks

� Technical and Sales role� Involved in Lotus technology since 1993� Speaker for over 15 sessions at Lotusphere since 1996� IBM Lotus Notes/Domino Certified� Author for Advisor Magazine and Group Computing on

Office and SmartSuite integration with Notes� PSC Group, LLC (www.psclistens.com)

� Midwest Mid-Market Professional Services Firm� Winner of 2004 Lotus Award for

Best Competitive Win!

Page 4: Bp124

4

PurposePurpose

� Introduce new ideas and techniques for integration

� Take advantage of new functionality in Office 2003

� Use XML as the data transfer mechanism� Make good on my promise to show new stuff !

Expect Lots of Code!

� Introduce new ideas and techniques for integration

� Take advantage of new functionality in Office 2003

� Use XML as the data transfer mechanism� Make good on my promise to show new stuff !

Expect Lots of Code!

Page 5: Bp124

5

What this session is notWhat this session is not

� Basics of Integration� JMP108 Covered this� Slide location will be noted at the end

� Basics of Integration� JMP108 Covered this� Slide location will be noted at the end

Page 6: Bp124

6

A little pollA little poll

� Who is using what version of Office

� Office 97 and earlier� Office 2000� Office XP� Office System 2003� OpenOffice / StarOffice� Other (SmartSuite, iWork, etc)

� Who is using what version of Office

� Office 97 and earlier� Office 2000� Office XP� Office System 2003� OpenOffice / StarOffice� Other (SmartSuite, iWork, etc)

Page 7: Bp124

7

AgendaAgenda

� Integration in 2005� Using Word 2003� Project, InfoPath, and Visio Demos� Office 2003 and XML� Using Excel 2003� Web Services� The Future

� Integration in 2005� Using Word 2003� Project, InfoPath, and Visio Demos� Office 2003 and XML� Using Excel 2003� Web Services� The Future

Page 8: Bp124

8

Integration in 2005Integration in 2005

� Proprietary Technologies are being replaced with standards-based

� No longer limited to OLE and COM� Functionality without local data� XML is the new foundation� New tools available� Difficulty scale increasing drastically

� Proprietary Technologies are being replaced with standards-based

� No longer limited to OLE and COM� Functionality without local data� XML is the new foundation� New tools available� Difficulty scale increasing drastically

Integration in 2005

Page 9: Bp124

9

Integration in 2005Integration in 2005

� Limitations being removed� Speed� Data Size� Presentation Options

� Integration should always focus on the end user

� Limitations being removed� Speed� Data Size� Presentation Options

� Integration should always focus on the end user

Integration in 2005

Page 10: Bp124

10

Word 2003Word 2003

� OLE and COM are not bad!� Builds on top of Domino skills

� Lotuscript = VBA

� Allows access to Domino data using familiar techniques

� Database� View

� Document

� OLE and COM are not bad!� Builds on top of Domino skills

� Lotuscript = VBA

� Allows access to Domino data using familiar techniques

� Database� View

� Document

Using Word 2003

Page 11: Bp124

11

Word 2003 (continued)Word 2003 (continued)

� Can be initiated in multiple places� Notes Client� Office Application� Web Browser

� Focus on end user and the goal� Where will the file be stored?� Is the file for printing/electronic/storage� What does the end user community want?

� Can be initiated in multiple places� Notes Client� Office Application� Web Browser

� Focus on end user and the goal� Where will the file be stored?� Is the file for printing/electronic/storage� What does the end user community want?

Using Word 2003

Page 12: Bp124

12

Word 2003 DemoWord 2003 Demo

� Within a Word 2003 Document� Present User with Selection of Documents� Insert Data into Document

� Within a Word 2003 Document� Present User with Selection of Documents� Insert Data into Document

Using Word 2003

Page 13: Bp124

13

Limitations with OLE/COMLimitations with OLE/COM

� Notes Client must be installed� Must have understanding of

� Notes Object Model� Notes Storage Model

� Can be slow with large amounts of data

� Notes Client must be installed� Must have understanding of

� Notes Object Model� Notes Storage Model

� Can be slow with large amounts of data

Using Word 2003

Page 14: Bp124

14

More DemosMore Demos

� Project� InfoPath� Visio

� Project� InfoPath� Visio

Page 15: Bp124

15

Office 2003 and XMLOffice 2003 and XML

� XML is everywhere!� Many documents can be stored as XML

� Options to save only data

� Import data from XML file� Specific/Import XML Schema� Transform XML with XML Style Sheets

� XML is everywhere!� Many documents can be stored as XML

� Options to save only data

� Import data from XML file� Specific/Import XML Schema� Transform XML with XML Style Sheets

Office 2003 and XML

Page 16: Bp124

16

XML 101XML 101� Markup for data� Tags defined by user

<?xml version="1.0"?> <LOTUSPHERE>

<SESSION>BP124</SESSION> <PRESENTER>John Head</PRESENTER> <ROOM>SW 1-2</ROOM><DATE>1.26.2005</DATE><STARTTIME>11:30</STARTTIME> <ENDTIME>12:30</ENDTIME>

</LOTUSPHERE>

� Markup for data� Tags defined by user

<?xml version="1.0"?> <LOTUSPHERE>

<SESSION>BP124</SESSION> <PRESENTER>John Head</PRESENTER> <ROOM>SW 1-2</ROOM><DATE>1.26.2005</DATE><STARTTIME>11:30</STARTTIME> <ENDTIME>12:30</ENDTIME>

</LOTUSPHERE>

Office 2003 and XML

Page 17: Bp124

17

Well Formed DataWell Formed Data

� XML file that conforms to strict rules� Most programs require well formed data to

open/read the file� Office 2003 Applications that read XML

� Access� Excel� InfoPath� Word

� XML file that conforms to strict rules� Most programs require well formed data to

open/read the file� Office 2003 Applications that read XML

� Access� Excel� InfoPath� Word

Office 2003 and XML

Page 18: Bp124

18

SchemasSchemas� Defines what can be in the XML file

<xsd:element name=“LOTUSPHERE"><xsd:complexType>

<xsd:sequence><xsd:element name=“SESSION" type="xsd:string"/><xsd:element name=“PRESENTOR" type="xsd:string"/><xsd:element name=“ROOM" type="xsd:string"/><xsd:element name=“DATE" type="xsd:string"/><xsd:element name=“STARTTIME" type="xsd:string"/><xsd:element name=“ENDTIME" type="xsd:string"/>

</xsd:sequence></xsd:complexType>

</xsd:element>

� Defines what can be in the XML file

<xsd:element name=“LOTUSPHERE"><xsd:complexType>

<xsd:sequence><xsd:element name=“SESSION" type="xsd:string"/><xsd:element name=“PRESENTOR" type="xsd:string"/><xsd:element name=“ROOM" type="xsd:string"/><xsd:element name=“DATE" type="xsd:string"/><xsd:element name=“STARTTIME" type="xsd:string"/><xsd:element name=“ENDTIME" type="xsd:string"/>

</xsd:sequence></xsd:complexType>

</xsd:element>

Office 2003 and XML

Page 19: Bp124

19

TransformsTransforms

� Allows for reuse of single data file with multiple presentation formats

� In Office, defined for each application� True power of XML in Office

� Allows for reuse of single data file with multiple presentation formats

� In Office, defined for each application� True power of XML in Office

Office 2003 and XML

Page 20: Bp124

20

Sample Transform FileSample Transform File<?xml version="1.0"?><xsl:stylesheet version="1.0"><TABLE>

<TR><TH>SESSION</TH><TH>PRESENTOR</TH><TH>ROOM</TH><TH>DATE</TH><TH>STARTTIME</TH><TH>ENDTIME</TH>

</TR><xsl:for-each select=“LOTUSPHERE">

<TR ALIGN="LEFT" VALIGN="TOP"><TD>

<xsl:value-of select=“SESSION"/></TD>

</TR></xsl:for-each> </TABLE>

<?xml version="1.0"?><xsl:stylesheet version="1.0"><TABLE>

<TR><TH>SESSION</TH><TH>PRESENTOR</TH><TH>ROOM</TH><TH>DATE</TH><TH>STARTTIME</TH><TH>ENDTIME</TH>

</TR><xsl:for-each select=“LOTUSPHERE">

<TR ALIGN="LEFT" VALIGN="TOP"><TD>

<xsl:value-of select=“SESSION"/></TD>

</TR></xsl:for-each> </TABLE>

Office 2003 and XML

Page 21: Bp124

21

Excel 2003 SampleExcel 2003 Sample

� Read XML from a Notes Database� Chart the data� Read XML from a Notes Database� Chart the data

Office 2003 and XML

Page 22: Bp124

22

Limitations of Last Demo Limitations of Last Demo

� If the data changes, so must the consumer� Rebuilt Excel Data list and Update Chart

� Security restricted to browser style� Username and password

� Requires the end user or application to parse the data

� If the data changes, so must the consumer� Rebuilt Excel Data list and Update Chart

� Security restricted to browser style� Username and password

� Requires the end user or application to parse the data

Office 2003 and XML

Page 23: Bp124

23

Application ApplicationInternet

Page 24: Bp124

24

Web ServicesWeb Services

� Common protocol for applications to connection to each other

� Based on Industry Standards� Described in XML� Communicated over HTTP infrastructure� Ability to send messages across modules in a

standard language� Published with all of the available properties

� Common protocol for applications to connection to each other

� Based on Industry Standards� Described in XML� Communicated over HTTP infrastructure� Ability to send messages across modules in a

standard language� Published with all of the available properties

Web Services

Page 25: Bp124

25

Web Service ComponentsWeb Service Components

� XML – data� SOAP - Simple Object Access Protocol� UDDI - Universal Description, Discovery, and

Integration � WDSL - Web Services Description Language

� XML – data� SOAP - Simple Object Access Protocol� UDDI - Universal Description, Discovery, and

Integration � WDSL - Web Services Description Language

Web Services

Page 26: Bp124

26

Web Services and DominoWeb Services and Domino

� In R5 and ND6, have to build the elements manually

� In ND7, new Web Services design element does this for you

� In R5 and ND6, have to build the elements manually

� In ND7, new Web Services design element does this for you

Web Services

Page 27: Bp124

27

The New ToolsThe New Tools

� Visual Studio Tools for Microsoft Office� Develop from within Visual Studio.Net� Move outside the application centric development

model� Excel and Word Support Today� Expanded Support in Visual Studio.Net 2005

� Visual Studio Tools for Microsoft Office� Develop from within Visual Studio.Net� Move outside the application centric development

model� Excel and Word Support Today� Expanded Support in Visual Studio.Net 2005

Web Services

Page 28: Bp124

28

Web Services and Domino demoWeb Services and Domino demo

Lets look at the Demo

Lets look at the Code

Lets look at the Demo

Lets look at the Code

Web Services

Page 29: Bp124

29

More info on Web ServicesMore info on Web Services

� JMP107 Introduction To Web Services� BP106 Episode IV: A New Hope - Extending IBM

Lotus Domino with Web Services� AD206 Web Services and IBM Lotus Notes and

Domino� SW 3-4 - Thursday 10:00am - 11:00am

� JMP107 Introduction To Web Services� BP106 Episode IV: A New Hope - Extending IBM

Lotus Domino with Web Services� AD206 Web Services and IBM Lotus Notes and

Domino� SW 3-4 - Thursday 10:00am - 11:00am

Web Services

Page 30: Bp124

30

The FutureThe Future

� Web Service Adoption has been slow� IBM and Microsoft are pushing this NOW� Visual Studio.Net

� Managed Code

� Microsoft Lotus Notes .NET Integration Toolkit

� Web Service Adoption has been slow� IBM and Microsoft are pushing this NOW� Visual Studio.Net

� Managed Code

� Microsoft Lotus Notes .NET Integration Toolkit

Page 31: Bp124

31

Wrap-upWrap-up

� Integration in 2005� Using Word 2003� Project, InfoPath, and Visio Demos� Office 2003 and XML� Using Excel 2003� Web Services� The Future

� Integration in 2005� Using Word 2003� Project, InfoPath, and Visio Demos� Office 2003 and XML� Using Excel 2003� Web Services� The Future

Page 32: Bp124

32

ResourcesResources

� LDD Discussions (www-130.ibm.com/developerworks/lotus)

� MSDN (msdn.microsoft.com)� MSDomino.Net

� Excel Demo� Web Service from Domino

� My blog (www.johndavidhead.com)� Slides and content available on PSC’s website

� www.psclistens.com

� LDD Discussions (www-130.ibm.com/developerworks/lotus)

� MSDN (msdn.microsoft.com)� MSDomino.Net

� Excel Demo� Web Service from Domino

� My blog (www.johndavidhead.com)� Slides and content available on PSC’s website

� www.psclistens.com

Page 33: Bp124

33

Wouldn’t be Lotusphere …Wouldn’t be Lotusphere …

� Without Free Stuff� Visual Studio.net Professional 60 Day Trial� Lotus Notes .NET Integration Toolkit

Get these at the Microsoft Booth in the Product Showcase - #308

� Without Free Stuff� Visual Studio.net Professional 60 Day Trial� Lotus Notes .NET Integration Toolkit

Get these at the Microsoft Booth in the Product Showcase - #308

Page 34: Bp124

34

Questions & AnswersQuestions & Answers

Thank You!

Please turn in or perform online your evaluations

Slides and download available from www.psclistens.com