#7162
Support 1
Participant

    You can use the Object API as follows to add some captured information to an existing appointment message.

    ' This assumes the custom field "TableLinens" has been defined for the GroupWise account.
    
    const CUSTOM_FIELD_ID = "TableLinens"
    
      .
      .
      .
    
    ' AddLinensInfo adds the captured information (a string) in aInfo to the open
    ' message as the custom field represented by the constant CUSTOM_FIELD_ID.
    sub AddLinensInfo(aInfo)
    
      dim oMsg
    
      set oMsg = nothing
      set oMsg = Client.ClientState.CommandMessage
      if not (oMsg is nothing) then
        call oMsg.Fields.Add(CUSTOM_FIELD_ID, fgwString, aInfo)
      end if
    
    end sub
    

    I hope this helps you.

    Regards,
    Advansys Support