/ Forums / Advansys Formativ / Creating Solutions with Formativ / Example for groupwise.ItemDelete

  • Creator
    Topic
  • #4217
    kempf
    Participant

      Hi,

      i create appointments per Formativ. If i want to delete such an appointment and i use Msg.Delete():
      the appointment is only deleted in my calendar but not in the calendar of the other members of this appointment. Perhaps i can use the Groupwise.ItemDelete(..) but i can’t find any example and i don’t now how to set the parameters…

      Is Groupwise.ItemDelete(..) the solution for my problem?

      Thanks

    • Author
      Replies
    • #7512
      Support 3
      Participant

        ItemDelete() token deletes an item from the Mailbox or Sent Items. This token has optional parameters to deletes all instances of autodate item and retracts a Sent Items. We tried this token and couldn’t get to delete appointment from other members calendar. Seems like this token only delete messages from current account. The code below use the ThrowToken method which uses the native GroupWise Token Commander to execute the given token.

        set oApptMsg = Client.clientstate.commandmessage
        iSyntax = “ItemDelete(“”” & oApptMsg.messageid & “””;1;;1;292)”
        msgbox groupwise.throwtoken(iSyntax, returnVal)

        See the Formativ Language Guide for syntax about the ThrowToken method and GroupWise online Tokens documentation for more information about available tokens. It’s often worthwhile posting questions about the GroupWise APIs to the appropriate Novell Developer Support Forums. While we always try to respond where possible, time constraints may prevent us from fully answering enquiries about issues that are specific to the GroupWise APIs.

        Hope this helps.

        Regards,
        Advansys Support

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.