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

    create folder in public folder with python

    Kopano Groupware Core
    2
    3
    263
    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.
    • tboernert
      tboernert last edited by

      Hello,

      i tried

      import kopano
      k = kopano.Server()

      user = k.user(‘public’)

      user.store.subtree.create_folder(‘Test Folder’)

      I got

      kopano.errors.NotFoundError: no such user: ‘public’

      How can i create a folder in public folder ?

      Thanks

      Thomas

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

        Hello,

        try to access the public folders via

        server = kopano.Server()
        store = server.public_store

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

          Hello.,
          it works! fine!
          Thanks
          Thomas

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