Views
6 years ago

Groupwise Developer's Guide

Groupwise Developer's Guide

Groupwise Developer's

GroupWise® developer’s guide Novell Research SECTION 1 & 3 www.novell.com Michael Risch, Sean Kirkby, Bob Good, Steve Hughes CONTENTS Section 1: GroupWise Object API 4 Chapter 1-9 Section 2: GroupWise Tokens (not available yet) Section 3: GroupWise C3POs 169 Chapter 16-19 Section 4: Administrative Object API (not yet available)

  • Page 2 and 3: Novell Research Publishers of AppNo
  • Page 4 and 5: Contents July 15, 2002 GroupWise De
  • Page 6 and 7: 4 Introducing the Object API www.no
  • Page 8 and 9: 6 Figure 1: How the GroupWise UI, t
  • Page 10 and 11: 8 If you peruse the GroupWise API d
  • Page 12 and 13: 10 For example, when you develop a
  • Page 14 and 15: 12 Note: If you can’t find GroupW
  • Page 16 and 17: 14 Now lets do it the right way: Di
  • Page 18 and 19: 16 Note: The “Set” statement sh
  • Page 20 and 21: 18 Example in VB (early binding usi
  • Page 22 and 23: If (FAILED(CoCreateInstance(CLSID_G
  • Page 24 and 25: if varisempty(GroupWise) then begin
  • Page 26 and 27: 24 This method makes life a lot eas
  • Page 28 and 29: 26 Using the Account Object www.nov
  • Page 30 and 31: 28 AccountRightsCollection.Add(Addr
  • Page 32 and 33: AddressBook, Folder, and Message Pr
  • Page 34 and 35: Other Properties 32 A brief summary
  • Page 36 and 37: 34 ConvertEmailAddress (OldAddress,
  • Page 38 and 39: 36 Understanding Folder and Trash R
  • Page 40 and 41: 38 Although this method can quickly
  • Page 42 and 43: Call WalkFolders(gwTempFolder) Next
  • Page 44 and 45: Set gwCabinet = gwAccount.Cabinet F
  • Page 46 and 47: 44 gwCabinet:=gwAccount.Cabinet; tr
  • Page 48 and 49: On Error GoTo FldrErr gwMainFolder.
  • Page 50 and 51: Private Sub CheckSharedStatus() 'Ge
  • Page 52 and 53:

    50 Item() returns the FolderRights

  • Page 54 and 55:

    Parameter Data Type Description Add

  • Page 56 and 57:

    Parameter Data Type Description Sha

  • Page 58 and 59:

    gwRightsCollection.Add gwAddress, e

  • Page 60 and 61:

    58 This method returns the Message

  • Page 62 and 63:

    60 Message Collections www.novell.c

  • Page 64 and 65:

    62 The following Delphi sample will

  • Page 66 and 67:

    procedure MoveAMessage; begin If gw

  • Page 68 and 69:

    Parameter Data Type Description Cla

  • Page 70 and 71:

    Parameter Data Type Description Sen

  • Page 72 and 73:

    70 Remove Method. The one remaining

  • Page 74 and 75:

    72 You can also access messages in

  • Page 76 and 77:

    procedure combinedfind; var foundme

  • Page 78 and 79:

    Messages 76 Put simply, GroupWise w

  • Page 80 and 81:

    Property Data Type Description Repl

  • Page 82 and 83:

    80 Deleting or Retracting a Message

  • Page 84 and 85:

    Property Data Type Description Auto

  • Page 86 and 87:

    84 DocumentReference For informatio

  • Page 88 and 89:

    Property Data Type Description DueD

  • Page 90 and 91:

    88 Set gwSentMsg = gwNewMsg.Send gw

  • Page 92 and 93:

    Property Data Type Description ObjT

  • Page 94 and 95:

    92 Adding Attachments Use one of tw

  • Page 96 and 97:

    94 Recipients, like many other coll

  • Page 98 and 99:

    96 This method creates an unresolve

  • Page 100 and 101:

    98 Understanding Document and Docum

  • Page 102 and 103:

    100 Let’s take another look at th

  • Page 104 and 105:

    102 Example in Delphi: //gwAccount

  • Page 106 and 107:

    104 The following code will attempt

  • Page 108 and 109:

    The Documents Collection 106 The Do

  • Page 110 and 111:

    Document.Add(Filename as String,[Do

  • Page 112 and 113:

    Property Data Type Description Docu

  • Page 114 and 115:

    Property Data Type Description Retr

  • Page 116 and 117:

    Document Events 114 DocumentVersion

  • Page 118 and 119:

    116 The DocumentRights Object Group

  • Page 120 and 121:

    118 Understanding Address and Addre

  • Page 122 and 123:

    120 The Address object may (or some

  • Page 124 and 125:

    Property Type 122 The “Revision N

  • Page 126 and 127:

    124 The AddressBooks collection con

  • Page 128 and 129:

    126 Dim gwNewAB As GroupWareTypeLib

  • Page 130 and 131:

    Understanding Field and Field Relat

  • Page 132 and 133:

    To create a custom field for a Grou

  • Page 134 and 135:

    Actually, we can create a useful Su

  • Page 136 and 137:

    Example in VB: 'gwAccount is a vali

  • Page 138 and 139:

    ebFieldName.Text = gwProjectIDField

  • Page 140 and 141:

    Example in Delphi: gwField := gwMes

  • Page 142 and 143:

    Clicking this button presents an in

  • Page 144 and 145:

    Figure 5: Address Book Column selec

  • Page 146 and 147:

    Fields and Document Libraries Docum

  • Page 148 and 149:

    Filling in the Property Label with

  • Page 150 and 151:

    Select the “Lookup Tables” item

  • Page 152 and 153:

    Figure 14: New Document window. The

  • Page 154 and 155:

    The LookupTableEntries object is a

  • Page 156 and 157:

    Figure 16: Lookup table definition.

  • Page 158 and 159:

    In this case, the Lawyer field for

  • Page 160 and 161:

    Understanding Filter and Query Rela

  • Page 162 and 163:

    Creating Filters Use Add() on a Fil

  • Page 164 and 165:

    Parameter Data Type Description Fol

  • Page 166 and 167:

    End With Next gwFilter Set gwFilter

  • Page 168 and 169:

    Numeric Statements Numeric statemen

  • Page 170 and 171:

    The following syntax returns object

  • Page 172 and 173:

    Overview Chapter 16 Section 3: Grou

  • Page 174 and 175:

    CommandFactory The CommandFactory o

  • Page 176 and 177:

    A combination of eGW_CMDINIT_MENUS

  • Page 178 and 179:

    The following contexts are associat

  • Page 180 and 181:

    Figure 1: Regishty Editor. VB Examp

  • Page 182 and 183:

    In this chapter, we looked briefly

  • Page 184 and 185:

    181 Alternatively, the Novell sampl

  • Page 186 and 187:

    Name Data Type Description IsModifi

  • Page 188 and 189:

    185 Unlike other collection objects

  • Page 190 and 191:

    Name Data Type Description CommandI

  • Page 192 and 193:

    189 Delphi Example function Command

  • Page 194 and 195:

    191 Alternatively, you can attempt

  • Page 196 and 197:

    193 3. Additional screens will allo

  • Page 198 and 199:

    195 Figure 8: Finishing C3PO Creati

  • Page 200 and 201:

    197 Note how this looks very simila

  • Page 202 and 203:

    199 Figure 11: Custom Context Menus

  • Page 204 and 205:

    Customizing Toolbars 201 Figure 15:

  • Page 206 and 207:

    203 Activating the Button. Unlike m

  • Page 208 and 209:

    205 The following information is sp

  • Page 210 and 211:

    esult:=true; //true here means keep

  • Page 212 and 213:

    209 Figure 18: Create a New Button

  • Page 214 and 215:

    Capturing a Predefined Command Chap

  • Page 216 and 217:

    Figure 2: Content to capture comman

  • Page 218 and 219:

    • GW.MESSAGE.NOTE • GW.MESSAGE.

  • Page 220 and 221:

    Figure 5: C3PO Creation Wizard. 5.

  • Page 222 and 223:

    Name Data Value Description eGW_CMD

  • Page 224 and 225:

    Figure 9: Choose GroupWise C3PO eve

  • Page 226 and 227:

    Another Look At Validate Putting It

  • Page 228 and 229:

    We must be sure to set our flags of

  • Page 230 and 231:

    end; end; Cmd := Command.Create(MYC

  • Page 232 and 233:

    #Text=Generate Docket Report #LongP

  • Page 234 and 235:

    CanShutdown You want to make sure t

  • Page 236 and 237:

    uses . . . repgenC3PO, repgenUnit,

  • Page 238 and 239:

    Essentially, this method is testing

  • Page 240 and 241:

    Sorting the Items Delphi Example Th

  • Page 242:

    Novell, Inc. GroupWise® Developer

Teiid Developer's Guide - JBoss
User guide: trainee development matrix (TDM) - ACCA
KS360 User Guide - virginmobile.com
Thuraya SG-2520 user guide
Engineering for Sustainable Development: Guiding Principles
KG800 USER GUIDE ENGLISH P/N : MMBB0207001(1.0) W - O2
SGH-E900 User's Guide - O2
Guide for Developing a Community-Based Patient Safety Advisory ...
Corporate Guide - Volusia County Economic Development
Career Development Guide - Western Michigan University
A Guide for Writing CMC Collection Development Policies
FX Composer User Guide - NVIDIA Developer Zone
Corporate Guide - Volusia County Economic Development
Improving Data Quality: A Guide for Developing Countries
Softlock Protection Studio - Developer Guide
Method Development Guide for Hypercarb Columns - Cromlab
Magento® Certified Developer Plus Exam Study Guide
[+][PDF] TOP TREND A Guide for Developing Zero Energy Communities: The ZEC Guide [READ]
User Guide Developing Toolkits for Improving Public ... - PPP Toolkit
UPS OnLine® Tools Shipping XML Tool Developers Guide
Mobile Web Developer's Guide