Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc.

Similar presentations


Presentation on theme: "Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc."— Presentation transcript:

1 Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc. devsup@novell.com

2 © 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 : : : :

3 © 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 : : : :

4 © January 16, 2004 Novell Inc, Confidential & Proprietary 4 Agenda Overview Objects and logic flow Novell C3PO ™ Creation Wizard Build your own C3PO Developer Resources

5 © January 16, 2004 Novell Inc, Confidential & Proprietary 5 What is a C3PO? Custom 3rd-Party Object (C3PO) A COMServer object used to extend Novell GroupWise ® – Add menus, menu items and separators – Add buttons to the toolbar – Trap predefined commands – Catch GroupWise events – Build custom message types with custom message icons – Access To GroupWise Client State. Uses the Windows system registry to identify itself to GroupWise

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

7 © January 16, 2004 Novell Inc, Confidential & Proprietary 7 Agenda Overview Objects and logic flow Novell C3PO ™ Creation Wizard Build your own C3PO Developer Resources

8 © January 16, 2004 Novell Inc, Confidential & Proprietary 8 C3PO objects Objects must implement specific behavior C3POServer CommandFactory GWCommand EventMonitor IconFactory

9 © January 16, 2004 Novell Inc, Confidential & Proprietary 9 C3POServer Init CanShutdown DeInit Methods Description CommandFactory EventMonitor IconFactory Properties

10 © January 16, 2004 Novell Inc, Confidential & Proprietary 10 Init WantCommand BuildCommand CustomizeContext Menu CustomizeMenu CustomizeToolBar MethodsProperties CommandFactory No properties

11 © January 16, 2004 Novell Inc, Confidential & Proprietary 11 BaseCmd LongPrompt Parameters PersistentID ToolTip MethodsProperties GWCommand Execute Help Undo Validate

12 © January 16, 2004 Novell Inc, Confidential & Proprietary 12 MethodsProperties EventMonitor No properties Notify

13 © January 16, 2004 Novell Inc, Confidential & Proprietary 13 Events eGW_CMDEVTID_READY eGW_CMDEVTID_SHUTDOWN eGW_CMDEVTID_DELIVERY eGW_CMDEVTID_OVERFLOW

14 © January 16, 2004 Novell Inc, Confidential & Proprietary 14 GetIcons MethodsProperties No properties IconFactory

15 © January 16, 2004 Novell Inc, Confidential & Proprietary 15 Custom Message Types Contexts GW.MESSAGE.APPOINTMENT GW.MESSAGE.DOCUMENTREFERENCE GW.MESSAGE.MAIL GW.MESSAGE.NOTE GW.MESSAGE.PHONE GW.MESSAGE.TASK GW.MESSAGE.MAIL.XXX

16 © January 16, 2004 Novell Inc, Confidential & Proprietary 16 C3PO logic flow Menus Context menus Toolbar buttons Initialize Customize ValidateExecute

17 © January 16, 2004 Novell Inc, Confidential & Proprietary 17 C3PO Logic Flow (cont.) GroupWise Commands WantCommand Execute BuildCommand GroupWise Events Notify

18 © January 16, 2004 Novell Inc, Confidential & Proprietary 18 CommandFactory IconFactoryC3POServer EventMonitor GWCommand

19 © January 16, 2004 Novell Inc, Confidential & Proprietary 19 Agenda Overview Objects and logic flow Novell C3PO ™ Creation Wizard Build your own C3PO Developer Resources

20 © January 16, 2004 Novell Inc, Confidential & Proprietary 20 C3PO Creation Wizard The Wizard makes it easy

21 © January 16, 2004 Novell Inc, Confidential & Proprietary 21 Agenda Overview Objects and logic flow Novell C3PO ™ Creation Wizard Build your own C3PO Developer Resources

22 © January 16, 2004 Novell Inc, Confidential & Proprietary 22 Menu and Menu Items Hands On Demonstration

23 © January 16, 2004 Novell Inc, Confidential & Proprietary 23 Objective Build a C3PO that adds a menu to the GW Client | Tools menu Add a menu item to the menu Don’t forget to register your C3PO

24 © January 16, 2004 Novell Inc, Confidential & Proprietary 24 Add a Menu or Menu Item

25 © January 16, 2004 Novell Inc, Confidential & Proprietary 25 Where Will the Menu Appear?

26 © January 16, 2004 Novell Inc, Confidential & Proprietary 26 Where Will the Menu Appear? (cont.)

27 © January 16, 2004 Novell Inc, Confidential & Proprietary 27 Name the Menu

28 © January 16, 2004 Novell Inc, Confidential & Proprietary 28 Where Will the Menu Item Appear?

29 © January 16, 2004 Novell Inc, Confidential & Proprietary 29 Item Text, Prompt, Persistent ID

30 © January 16, 2004 Novell Inc, Confidential & Proprietary 30 Summary

31 © January 16, 2004 Novell Inc, Confidential & Proprietary 31 Language?

32 © January 16, 2004 Novell Inc, Confidential & Proprietary 32.EXE or.DLL?

33 © January 16, 2004 Novell Inc, Confidential & Proprietary 33 Register Switch to your Windows desktop From a command prompt or Start | Run type “pathtoyourc3po\c3po.exe” /r C3PO STARTUP.BAS calls sub main procedure sub main calls RegC3PO RegC3PO registers your C3PO with GW and Windows /u will unregister a C3PO

34 © January 16, 2004 Novell Inc, Confidential & Proprietary 34 Regedit Software Novell GroupWise 5.0 C3PO DataTypes HKEY_LOCAL_MACHINE

35 © January 16, 2004 Novell Inc, Confidential & Proprietary 35 Capture a Command Hands On Demonstration

36 © January 16, 2004 Novell Inc, Confidential & Proprietary 36 Objective Build a C3PO that captures the send command for a message of type appointment display a message box send the message Don’t forget to register your C3PO

37 © January 16, 2004 Novell Inc, Confidential & Proprietary 37 Capture a Command

38 © January 16, 2004 Novell Inc, Confidential & Proprietary 38 Context

39 © January 16, 2004 Novell Inc, Confidential & Proprietary 39 Commands

40 © January 16, 2004 Novell Inc, Confidential & Proprietary 40 Commands (cont.) eGW_CMDID_ACCEPT eGW_CMDID_ARCHIVE eGW_CMDID_COMPLETE eGW_CMDID_COMPOSE eGW_CMDID_DECLINE eGW_CMDID_DELEGATE eGW_CMDID_DELETE eGW_CMDID_DOC_CHECKIN eGW_CMDID_DOC_CHECKOUT eGW_CMDID_DOC_RESETINUSE eGW_CMDID_FORWARD eGW_CMDID_OPEN eGW_CMDID_PRINT eGW_CMDID_PROPERTIES eGW_CMDID_REPLY eGW_CMDID_RESEND eGW_CMDID_SAVE eGW_CMDID_SAVEAS eGW_CMDID_SETALARMS eGW_CMDID_UNDELETE

41 © January 16, 2004 Novell Inc, Confidential & Proprietary 41 Summary

42 © January 16, 2004 Novell Inc, Confidential & Proprietary 42 Language ?

43 © January 16, 2004 Novell Inc, Confidential & Proprietary 43.EXE or.DLL ?

44 © January 16, 2004 Novell Inc, Confidential & Proprietary 44 Register Switch to your Windows desktop From a command prompt or Start | Run type “pathtoyourc3po\c3po.exe” /r C3PO STARTUP.BAS calls sub main procedure sub main calls RegC3PO RegC3PO registers your C3PO with GW and Windows /u will unregister a C3PO

45 © January 16, 2004 Novell Inc, Confidential & Proprietary 45 Agenda Overview Objects and logic flow Novell C3PO ™ Creation Wizard Build your own C3PO Developer Resources

46 © January 16, 2004 Novell Inc, Confidential & Proprietary 46 Developer Resources Software, Sample Code, and Documentation http://developer.novell.com/ndk http://forge.novell.com/modules/news Support 1-800-733-9673 / 1-801-861-5281 devsup@novell.com http://developer- forums.novell.com/category/index.tpt

47

48 © January 16, 2004 Novell Inc, Confidential & Proprietary 48 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.


Download ppt "Introduction to GroupWise ® C3POs Glade Monson Developer Services, Novell Inc."

Similar presentations


Ads by Google