/ Forums / Advansys Formativ / Creating Solutions with Formativ / create a group appointment

  • Creator
    Topic
  • #4169
    sonja
    Participant

      we developed an applet that should create a group appointment. we succeded in creating a posted appointment in the calendar of the person that runs the applet. the final goal is to choose a user from the address book, and send the appointment to that person or even better to post it in that user’s calendar.
      thanks in advance for any tips!

    • Author
      Replies
    • #7345
      Support 1a
      Participant

        Hello Sonja,

        An example applet is on it’s way via email.

        Advansys Support

        #7344
        sonja
        Participant

          Hi again!

          Thanks for the example applet, now sending appointments works fine. There are only two problems:
          1) (minor) The appointment only shows up in the recipient’s calendar, but not in the sender’s. This is actually intended behaviour (for us), but we don’t know, why it doesn’t show up in the senders calendar.

          2) (major) We try to show all appointments for a specific day in a list with the following code:

          GroupWise.Account.Calendar.FindMessages("(START_DATE = " & year(FilterDate) & "/" & month(FilterDate) & "/" & day(FilterDate) & " )")

          This code finds only appointments sent from the current account, but not the received ones from someone else. However, we search in the right place – listing all appointments lists really ALL appointments, sent and received ones.
          Iterating through all appointments, and checking the date manually works too, but will be too slow with large calendars.

          Is there a possibility to filter by date?

          #7346
          Support 1a
          Participant

            Hello Sonja,

            quote:


            1) (minor) The appointment only shows up in the recipient’s calendar, but not in the sender’s. This is actually intended behaviour (for us), but we don’t know, why it doesn’t show up in the senders calendar.


            I’ve not tried it, but you may need to add the sender as a recipient of the appointment.

            quote:


            2) (major) We try to show all appointments for a specific day in a list with the following code:

            GroupWise.Account.Calendar.FindMessages(“(START_DATE = ” & year(FilterDate) & “/” & month(FilterDate) & “/” & day(FilterDate) & ” )”)


            I suspect you will need to expand the Find query string to include the box types of the messages you wish to find, i.e. INCOMING and OUTGOING. Object API Query syntax can be quite peculiar, so you may need to play around with this a little.

            Regards,

            Advansys Support

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