DisplaySendInvitationDialog Method

The DisplaySendInvitationDialog method displays the Groove dialog to send an invitation message to the specified Groove identities.

Syntax

object.DisplaySendInvitationDialog

(

i_pIToContactURLEnumAsIGrooveBSTREnum= NULL

          ) 

Parameters

Parameter Description

i_pIToContactURLEnum

Enumeration of contact URLs to send the invitation to.

Remarks

After this method is called, a dialog to select the invitation workspace is displayed to the user.

Before sending an instant message to a contact, you should call the IGrooveFormsToolContactServices DoesContactExist method. DoesContactExist specifies whether Groove has enough information about the contact to send an instant message. Note that if the contact does not exist, but you have access to the contact as a value in a Contact field, you can make the contact accessible.

To use default values for interface parameters, you must pass an empty object such as one created by the following code:

var ContactURLEnum = CreateBSTREnumFromArray(new Array());

Note

This method displays a modal dialog. Consequently, this method should not be called from a script when a transaction is open. Macros are executed within an open transaction so this method should not be called from a macro.

See Also

Reference

IGrooveFormsToolMessagingServices Interface

Concepts

Using Contacts in Forms