Beginning Programming with the Novell GroupWise ® Object API Glade Monson Developer Services, Novell Inc.

Slides:



Advertisements
Similar presentations
What's new in OOo 2.3 Finn Blucher Project Support Engineer
Advertisements

December 29, 2013 Willem Bagchus Master CNE, CLP, MCP Senior SE, Senior Trainer GWAVA Reload.
Reduce Cost & Complexity Partner logo here Presenters Name (16pt) Presenters Title (14pt) Company/ (14pt) Manage and Deploy Applications using Virtualization.
Nsure ™ Audit Essentials Rick Meredith Software Engineer Novell, Inc. Jaime Brimhall Software Engineer Novell, Inc.
How to Successfully Cluster GroupWise Gregg A. Hinchman Consultant, Hinchman Consulting Ed Hanley Senior Consultant, Novell.
SAN Design Considerations Hylton Leigh Senior Consultant Novell Consulting, UK Stuart Thompson Senior Consultant Novell Consulting, UK.
GroupWise Tutorial What is GroupWise? GroupWise is an and calendar service (much like Microsoft outlook) for Collin College faculty and staff.
How to Implement a Cluster of Clusters Atiq Adamjee Senior Architect Novell, Inc. Brad Rupp Software Engineer Novell, Inc.
Password Management Bill Street, Nathan Jensen, Mike Simpson, Will Peterson Identity Management Engineering.
Upgrading to Novell ® SecureLogin 3.5 Rod Tietjen,
Studio 5 João Ferreira EMEA Product Specialist (exteNd) Studio Product manager, Novell, Inc.
Developing for Novell ® Nsure ™ SecureLogin Gordon Mathis Senior Software Engineer, Novell Inc.
DIR-835A1 Wireless N750 Dual-Band Router Wireless & Router Product Div. July 2011 D-Link WRPD.
August 20, 2006 Delivering Low Latency With IB SUSE ® Linux Enterprise Real Time Moiz Kohari Suse Labs Director Real-Time Systems.
Document Management with GroupWise ® Gregg Hinchman Consultant Hinchman Consulting Jerry Winkel Novell Escalation Engineer.
LBTO IssueTrak User’s Manual Norm Cushing version 1.3 August 8th, 2007.
Nsure ™ Audit: Instrumenting Custom Applications Rick Meredith Jason Arrington Nsure Audit Engineering Novell, Inc.
Implementing Novell iChain ® at the City of Los Angeles Adam Loughran Senior Systems Engineer, Novell Robert Gillette IS Development Manager, City of Los.
Benefits of a SUSE ® Subscription Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Configuring Identity Manager 2 (formerly DirXML ® ) for JDBC (w/DirXML) Jason Elsberry Software Engineer
Implementing iChain ® in the Wild: Life beyond the lab Rich Roberts Senior Architect – Novell Consulting Novell Inc. Jim Short iChain Guru – Novell Consulting.
Implementing DirXML ® Stylesheets David Wagstaff
Novell Nsure TM Identity Manager 2 andGroupWise Provisioning Art Purcell, GroupWise ® Engineering, David Holbrook, DirXML Engineering,
Case Study: DirXML Implementation at Waste Management Rick Wagner Systems Engineer Novell, Inc.
Successful GroupWise Clustering, Part 1 Gregg A. Hinchman Ed Hanley Novell Inc.
April 30, 2007 openSUSE.org Build Service a short introduction Moiz Kohari VP Engineering.
Novell ® BrainShare ® A Hands-on Approach to Implementing an Effective Retention Solution with Novell GroupWise and GWArchive Greg Smith, Director.
How to Successfully Cluster GroupWise ® Gregg A. Hinchman Consultant, Hinchman Consulting Ed Hanley Senior Consultant, Novell.
Kevin James Prototype Systems Devloper Novell Inc. Freddy Kaiser Technical Directory, Enterprise Solutions Novell Inc. BUS172 - Case Study: Extended Provisioning.
SecureLogin Solution for Hospital Environments Keith Lewis Novell Consultant Novell, Inc. Troy Drewry Protocom Consultant Protocom.
Introduction to Novell GroupWise ® Administrative Object API Glade Monson Software Engineer Novell, Inc.
Advanced Mono Development: Best Practices Miguel de Icaza CTO, Ximian Nat Friedman VP Software Development, Ximian
Retention for GroupWise Angela Williams - Channel Sales Manager Jeff Stratford - President Nexic, Inc.
Beginning Programming with the Novell GroupWise® Object API
January 8, 2009 Business Continuity Cluster Always Running Gregg A. Hinchman Consultant Hinchman Consulting
Intermediate Programming with the Novell GroupWise ® Object API John Cox DSE Worldwide Developer Support Novell, Inc.
Strong Authentication to any Application Using SecureLogin and NMAS TM Scott Kiester and John Jolly Software Engineer Novell, Inc.
Securing GroupWise ® end-to-end with SSL Mike Bills ATT Engineer, Novell Inc.
Best Practices for Running Multiple Identity Manager 2 (formerly DirXML ® ) Drivers on Linux and Solaris Patrick J Cush Senior Technical Specialist Novell.
Securing Legacy Applications with exteNd Composer and Novell iChain Kirk Noren Application Services Specialist Novell, Inc.
Configuring Novell GroupWise ® on SuSE LINUX Randy Brown GroupWise Dedicated Support Engineer, Novell Inc. Matt Preston GroupWise Support.
May 1, 2007 Novell ® Infiniband and Virtualization VM -IB project Patrick Mullaney.
DIR-826L Wireless N600 Gigabit Cloud Router Sales Guide WRPD Jan 25 th, 2012 D-LINK HQ.
Introducing Novell ® Identity Manager 4 Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
가상화 기반의 Workload 관리솔루션 : FORGE PlateSpin Virtualization and Workload Management 나영관 한국노벨 /
SUSE ® Linux Enterprise High Availability Extension.
Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc.
IDC Says, "Don't Move To The Cloud" Richard Whitehead Director, Intelligent Workload Management August, 2010 Ben Goodman Principal.
Novell ® IT Consulting Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
SUSE ® Linux Enterprise Desktop in a One-To-One 21st Century Classroom Alex Inman Director of Technology Whitfield School
Novell ® Technical Training Field / Sales Presentation Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Introduction to SUSE Studio Tim Serong Senior Clustering Engineer OPS Engineering, Novell Inc.
OES11 / SLES11 Feature Competitive Novell Confidential.
Clarity and Compromise First steps of DM/MD unification Neil Brown Kernel Engineer
GStreamer in OpenOffice.org? Cédric Bosdonnat, Radek Doulík.
Forrester and Novell Novell ® Identity Manager 4 Webcast I Insert Presenter's Name (16pt) Insert Presenter's Title (14pt) Insert Company/ (14pt)
Novell ® VBA Interoperability roundup Noel Power OpenOffice developer
Novell ® Demo Systems Portal Update Doc Hodges Novell Demo Systems
DHP-600AV / DHP-601AV Powerline AV2 Gigabit Adapter Powerline AV2 Starter Kit Sales Guide WRPD, Mar 2013 D-Link Confidential.
From Source Code to Packages and even whole distributions By Cool Person From openSUSE.
UI-Facelift of the YaST Partitioner Module Martin Schmidkunz Arvin Schnell Katařina Machálková Status: 16th June 2008.
Enterprise Linux Servers Solution Overview Kerry Kim Enterprise Linux Servers Solution Manager.
From Source Code to Packages for Various Distributions Andreas Jaeger Program Manager openSUSE
UI-Facelift of the YaST Partitioner Module Martin Schmidkunz Status: 13th February 2008.
SUSE Studio: Building distributions By Cool Person From openSUSE.
The Community role in openSUSE life-cycle Dinar Valeev Community member.
From Source Code to Packages for Various Distributions
Redesign of AppArmor Modules in YaST
Presentation transcript:

Beginning Programming with the Novell GroupWise ® Object API Glade Monson Developer Services, Novell Inc.

© March 9, 2004 Novell Inc. 2 one Net: Information without boundaries…where the right people are connected with the right information at the right time to make the right decisions. The one Net vision Novell exteNd ™ Novell Nsure ™ Novell Nterprise ™ Novell Ngage SM : : : :

© March 9, 2004 Novell Inc. 3 The one Net vision Novell Nterprise is an innovative family of products which gives you the power to enable and manage the constant interaction of people with your business systems — regardless of who they are or where they are. Novell Nterprise ™ Novell exteNd ™ Novell Nsure ™ Novell Nterprise ™ Novell Ngage SM : : : :

© January 26, 2004 Novell Inc, Confidential & Proprietary 4 Agenda Overview API design Using the Object API Developer resources

© January 26, 2004 Novell Inc, Confidential & Proprietary 5 Novell GroupWise ® Object API Access to GroupWise information store Address book and document management Mail messages Appointments Tasks Notes Phone messages

© January 26, 2004 Novell Inc, Confidential & Proprietary 6 COM Automation Accessible through any language that supports Component Object Model (COM) Visual Basic DelphiC++

© January 26, 2004 Novell Inc, Confidential & Proprietary 7 Agenda Overview API design Using the Object API Developer resources

© January 26, 2004 Novell Inc, Confidential & Proprietary 8 API Design Account Field Definition Address Book AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Application Address Book Entry

© January 26, 2004 Novell Inc, Confidential & Proprietary 9 Agenda Overview API design Using the Object API Developer resources

© January 26, 2004 Novell Inc, Confidential & Proprietary 10 Hands On Demonstration GroupWise Login

© January 26, 2004 Novell Inc, Confidential & Proprietary 11 Objective Build an application that allows a user to enter a user id and password and confirms that the user has logged into GroupWise

© January 26, 2004 Novell Inc, Confidential & Proprietary 12 Account Field Definition Address Book AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry Step 1: Application 1 STEP 1 Application

© January 26, 2004 Novell Inc, Confidential & Proprietary 13 Step 2: Account Field Definition Address Book AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry 1 STEP 1 Application Account 2 STEP 2

© January 26, 2004 Novell Inc, Confidential & Proprietary 14 Early Binding vs Late Binding Early Binding (GroupWare Type Library / GWCMA1.DLL) Dim gwApplication As Application Set gwApplication = New Application Late Binding Dim gwApplication As Object (or Variant) Set gwApplication = CreateObject("NovellGroupWareSession")

© January 26, 2004 Novell Inc, Confidential & Proprietary 15 Advantages of Early Binding Better debugging Faster run-time Development

© January 26, 2004 Novell Inc, Confidential & Proprietary 16 Account Login Account login ([String UserID], [String CommandLine], [String Password], [LoginConstants WhenToPrompt], [Variant Reserved] ) Account MultiLogin(...) *GroupWise 5.5 and above Account Proxy( Variant UserID )

© January 26, 2004 Novell Inc, Confidential & Proprietary 17 Login() Dim gwApplication As Application Dim gwAccount As Account Set gwApplication = New Application Set gwAccount = gwApplication.Login(“UserID”,, “Pswd”) Visual Basic Early Binding

© January 26, 2004 Novell Inc, Confidential & Proprietary 18 Objects Accessible from Account AccountRights AccountRightsCollection Accounts AddressBook(s) AllMessages CategoryDefinitions (new for GW 6.5) DocumentLibrary(s) FieldDefinitions Filters Folder(s) Trash

© January 26, 2004 Novell Inc, Confidential & Proprietary 19 Hands On Demonstration Folders

© January 26, 2004 Novell Inc, Confidential & Proprietary 20 Build an application that displays a list of folders in your account Display individual information of a folder that is selected Allow users to add a new folder Objective

© January 26, 2004 Novell Inc, Confidential & Proprietary 21 Step 1: Application Field Definition Address Book AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry 1 STEP 1 Application Account

© January 26, 2004 Novell Inc, Confidential & Proprietary 22 Field Definition Address Book AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry STEP 1 Account 2 STEP 2 Step 2: Account Application 1

© January 26, 2004 Novell Inc, Confidential & Proprietary 23 Step 3: Folder Field Definition Address Book Address Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry STEP 1 Account 2 STEP 2 Application 1 Folder 3 STEP 3

© January 26, 2004 Novell Inc, Confidential & Proprietary 24 Objects Accessible From Folder Fields FolderRightsCollection Folders Messages Query

© January 26, 2004 Novell Inc, Confidential & Proprietary 25

© January 26, 2004 Novell Inc, Confidential & Proprietary 26 Psuedo Code Folders Begin sub routine to list Folders Get reference to the main Folders Collection from the Acc obj Loop from i = 1 to Folders Count Set Folder equal to the next item in the Folders Collection Add Folder Name to the listbox collection End Loop End sub routine Begin sub routine to display Folder information Loop to find Folder that was selected in the main Folders collection Display information End sub routine Begin sub routine to add Folder Get reference to the main Folders Collection from the Acc obj Use the Folders collection add method to create a new Folder End sub routine

© January 26, 2004 Novell Inc, Confidential & Proprietary 27 Hands On Demonstration Address Books

© January 26, 2004 Novell Inc, Confidential & Proprietary 28 Objective Displays the list of entries in a selected book Display individual information for a selected entry Allow users to add new entries Build an application that displays a list of address books in your account

© January 26, 2004 Novell Inc, Confidential & Proprietary 29 Address-Related Objects AddressBook(s) AddressBookEntries Categories (new in 6.5) Addresses (new in 6.5) Fields GroupMembers IMAddresses (new in 6.5) AddressBookRights Address

© January 26, 2004 Novell Inc, Confidential & Proprietary 30 Address Book Entry Field Definition AddressFolder Filter Query Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment STEP 1 Account 2 STEP 2 Application 1 Address Book 3 STEP 3 Address Book Entry 4 STEP 4

© January 26, 2004 Novell Inc, Confidential & Proprietary 31

© January 26, 2004 Novell Inc, Confidential & Proprietary 32 Psuedo Code Address Book Begin sub routine to list Address Books Get reference to the main AddressBooks Collection from the Acc obj Loop from 1 to AddressBooks Count Set AddressBook equal to the next item in the AB Collection Add AddressBook Name to the listbox collection End Loop End sub routine Begin sub routine to display Address Book Entries Loop to find Address Book that matches the selected list item Loop through entries in Address Book and display names in a list End sub routine Begin sub routine to display AddressBookEntry information Loop to find AddressBookEntry that matches the selected list item Once match is found, access and display properties End sub routine Begin sub routine to add new AB entry Use the AB entries collection to add a new entry (non system book only) End sub routine

© January 26, 2004 Novell Inc, Confidential & Proprietary 33 Hands On Demonstration Send Mail

© January 26, 2004 Novell Inc, Confidential & Proprietary 34 Set the subject and the body text Populate recipients as TO, CC, BC Set message priority Add attachments Objective Build an application that creates and sends a mail message

© January 26, 2004 Novell Inc, Confidential & Proprietary 35 Objects Accessible From Message AttachmentsFields FormattedTextRecipients

© January 26, 2004 Novell Inc, Confidential & Proprietary 36 Message Related Objects Message(s) AllMessages AllMessagesIterator FormattedText Subject BodyText Attachment(s) Recipient(s) MessageList Message Subtypes Appointment Task Note DocumentReference Mail PhoneMessage SharedNotification New Subtype Property Objects Categories DraftAutoDates

© January 26, 2004 Novell Inc, Confidential & Proprietary 37 Send Mail Field Definition Address Book Address Filter Query Document Library Address Account Rights FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry STEP 1 Account 2 STEP 2 Application 1 Folder 3 STEP 3 Message 4 STEP 4 STEP 5 Mail 5

© January 26, 2004 Novell Inc, Confidential & Proprietary 38

© January 26, 2004 Novell Inc, Confidential & Proprietary 39 Psuedo Code Send Mail Begin sub routine to create and send Mail message Create a new message object with Add on a Messages collection Use message properties to set the subject, bodytext and priority Loop through each recipient box and add TO, CC, BC objects Loop through the attachments list box and add attachments Send Message End sub routine

© January 26, 2004 Novell Inc, Confidential & Proprietary 40 Hands On Demonstration Find Messages

© January 26, 2004 Novell Inc, Confidential & Proprietary 41 Build an application that uses Find() to display messages based on text, numeric, and data criteria that you specify Objective

© January 26, 2004 Novell Inc, Confidential & Proprietary 42 Find() and FindMessages() Can take Filter Expression Syntax (string) Filter objects

© January 26, 2004 Novell Inc, Confidential & Proprietary 43 Text NumericData Expression Syntax

© January 26, 2004 Novell Inc, Confidential & Proprietary 44 Text Expressions (SUBJECT CONTAINS "Internet") (AUTHOR MATCHES "Mr. Byg") (MESSAGE BEGINSWITH "Now hear this") (MESSAGE CONTAINS CASE ("Inter*" OR "Intra*") AND ("Test".. "Plan")) ( MATCHES “Mr.Byg”) Examples A

© January 26, 2004 Novell Inc, Confidential & Proprietary 45 Numeric Expressions (SIZE < 12000) (NUMBER_ACCEPTED = TOTAL_RECIPIENTS) ( > 50) Examples

© January 26, 2004 Novell Inc, Confidential & Proprietary 46 (DUEEND_DATE <= TOMORROW) (START_DATE >= 1996/2/5 AT 8:00:00) (CREATE_DATE >= THIS_YEAR 31) ( = THIS_MONTH) Examples Date Expressions

© January 26, 2004 Novell Inc, Confidential & Proprietary 47 Query Find() FindMessages() Object Model Field Definition Address Book Address Filter Document Library Address Account Rights Message FieldDef Lookup Tables Field Document Document Type Document Version Doc Version Viewer Address Busy Search Element TimeBlock Appointment DocRef Mail Phone Message Task Note Shared Notification Field Recipient Attachment Address Book Entry STEP 1 Account 2 STEP 2 Application 1 Folder STEP 3 Query 3 3

© January 26, 2004 Novell Inc, Confidential & Proprietary 48

© January 26, 2004 Novell Inc, Confidential & Proprietary 49 Psuedo Code Find Messages Begin sub routine to Find Messages Build an expression string based on the subject entered Append criteria that accounts for recipient count to the expression Append criteria that accounts for the created date Get reference to a Messages collection Use Find with your expression to return a list of message objects Loop through MessageList collection to display item information End sub routine

© January 26, 2004 Novell Inc, Confidential & Proprietary 50 Agenda Overview API design Using the Object API Developer resources

© January 26, 2004 Novell Inc, Confidential & Proprietary 51 Developer Resources Software, Sample Code, and Documentation forge.novell.com/modules/news Support /

© January 26, 2004 Novell Inc, Confidential & Proprietary 52

© January 26, 2004 Novell Inc, Confidential & Proprietary 53 General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. Novell, Inc., makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc., reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.