I have events that belong to multiple users, how do I deal with that?

I have events that belong to multiple users, how do I deal with that?

Before version 3.0 you can only attach one user and one category to an event.


To add more users to an event you would have to create a N:M relation from the event to the users (or M:N) in the database. That solves the issue. 


However, the bean allows only unique eventid.

Therefore you must return the PK of the N:M table to the Calendar bean to make the eventid unique and all (under water the same) appointments show up for different users.


IMPORTANT: To edit, update or delete the event you need to retrieve the actual eventid via the N:M table to take care of the fact that the PK of the N:m table is not the eventid itself.

    • Related Articles

    • Servoy WAR Builder - BitBucket Pipelines

      Servoy WAR Exporter This Docker image for BitBucket Pipelines allows users to build Servoy WAR files, using options from Servoy's bundled WAR export. In order to use this Action, you will need an All Products Pack API key from Servoy Components. See ...
    • What is the ChangeKey (ExchangeWS only)?

      The ChangeKey is the unique ID used to track item changes. You can use it when synchronising and is of special interest when working with recurring events.
    • Exactly what Exchange types are supported?

      - Emails are supported (including getting attachments, send with attachments and save draft); - Events are fully supported; - Contacts Get, Add, Edit, Delete, Filter and Public folders.                                   - Tasks are fully supported.   ...
    • What is the difference between getConnection() and isAuthorized()

      var vResult = isAuthorized(...)  This method a is used to check if a combination of a users login/password is authorized to login to the system using simple authentication. Simple authentication consists of sending the LDAP server the fully qualified ...
    • What is the difference between UniqueId and UID (Exchange Plug-in only)?

      The UniqueId can change when the name changes (in some cases but but it is impossible to tell when). The UID will stay unique. The UniqueId is what is returned when you save an item. Currently the UniqueId is used when you want to retrieve a certain ...