Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    suddenly my calendar is calendar1

    Kopano Groupware Core
    3
    4
    272
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonnyCashCo
      JonnyCashCo last edited by JonnyCashCo

      Hy!

      WebApp and DeskApp

      suddenly i got a 2nd calendar ‘calendar1’
      new appointments go to calendar1
      can’t delete calendar1
      can’t change standard calendar from calendar1 to calendar
      can’t get my appointments to calendar

      is there any solution on this??

      Greetings.

      1 Reply Last reply Reply Quote 0
      • rgsell
        rgsell last edited by

        Hi,

        we tried to fix this problem with this script:
        (thanks to Robin)

        import kopano
        from MAPI.Tags import PR_IPM_APPOINTMENT_ENTRYID
        import binascii
        
        
        def opt_args():
            parser = kopano.parser('skpcUP')
            parser.add_option("--user", dest="user", action="store", help="username")
            parser.add_option("--folder", dest="folder", action="store", help="foldername")
        
            return parser.parse_args()
        
        
        def main():
            options, args = opt_args()
            user = kopano.Server().user(options.user)
            print(user)
            folder = user.store.folder(options.folder)
            if folder.container_class != 'IPF.Appointment':
                print('folder {} is not an calendar folder'.format(folder.name))
            print(folder.entryid, binascii.unhexlify(folder.entryid.encode('utf-8')))
            user.store.root.create_prop(PR_IPM_APPOINTMENT_ENTRYID, binascii.unhexlify(folder.entryid.encode('utf-8')))
        
            print('folder {} is now the default calendar folder'.format(folder.name))
        
        
        if __name__ == "__main__":
            main()
        

        It sets the default calender back to the original one.

        However, new appointment requests still appear in the ‘calendar1’.
        Should we just delete calendar1 now (which is now possible)?
        Or will this just cause to lose the appointment requests at all?

        Thanks for reading,
        Roland.

        1 Reply Last reply Reply Quote 0
        • marty
          marty Kopano (Inactive) last edited by

          @JonnyCashCo If the meetings are in the calendar1 you will loose them. Maybe copy them over first.
          I’m more interested in the steps that lead to this extra calendar. Script? Migration?

          Also that’s something WebApp does not modifies, so I’m moving this to core section.

          https://documentation.kopano.io/deskapp_admin_manual
          http://documentation.kopano.io/webapp_smime_manual
          https://documentation.kopano.io/webapp_admin_manual

          1 Reply Last reply Reply Quote 0
          • rgsell
            rgsell last edited by

            No migration and as far as I know no script.
            The user uses Microsoft Outlook. I guess that might be the problem.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post