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

    change default folder name suggestion when opening a shared folder

    Kopano OL Extension (KOE)
    3
    13
    1250
    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.
    • micro
      micro last edited by

      Hello everybody,

      I am referring to the KOL manual where it says:

      When opening a folder the user also has the possibility to give the folder an unique name. KOE will suggest a folder name following the schema “Username - Foldername”

      In my case unfortunately it’s the opposite. Whenever I add a shared folder it will use the syntax of “Foldername - Username”. This will negateively shuffle the sorting of the existing folders and break visual appearance.

      My default folder sorting on the left pane without using shared folders looks like that:

      john.doe@example.tld
      Posteingang
      Entwürfe (Nur dieser Computer)
      Gesendete Elemente
      Gelöschte Elemente
      Eigene Ordner
      Junk E-Mail
      Postausgang
      RSS-Feeds
      Spambox
      Suchordner

      Kopano Ordner
      Suchordner

      After adding the shared folders for incoming, sent and deleted of user Bob, my left pane looks like that:

      john.doe@example.tld
      Posteingang
      Entwürfe (Nur dieser Computer)
      Gesendete Elemente
      Gelöschte Elemente
      Eigene Ordner
      Gelöschte Objekte - Bob
      Gesendete Objekte - Bob
      Junk E-Mail
      Junk E-Mail - Bob
      Postausgang
      Posteingang - Bob
      RSS-Feeds
      Spambox
      Suchordner

      Kopano Ordner
      Suchordner

      This is very confusing and after changing workstation from Zarafa Client to KOL users have complaint about it. Imagine we have users that have attached up to 4 stores of other employees in their Outlook. The sorting on the left pane is a mess.

      My questions are:
      (1) is there any way to fix the default behaviour of suggested folder name? The manual said that is uses syntax “Username - Foldername” but obviously this is not the case on our system.

      (2) is there a general best practice how to remedy this schortcoming?

      fbartels 1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by Manfred

        Hi micro,

        this was changed in https://jira.kopano.io/browse/KOE-56, but the manual was not updated.

        See also comments of https://jira.kopano.io/browse/KOE-116:

        It can be set using the registry value 'Shared Folders\DefaultFolderNameFormat', or through the plugin debugger. The default value is '%foldername% - %username%', which replicates the old situation.
        
        Specifically for the forum request, this would be '%foldername% - %displayname%'
        

        Manfred

        1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano @micro last edited by

          @micro said in change default folder name suggestion when opening a shared folder:

          In my case unfortunately it’s the opposite

          i"ve just now corrected this in the manual. it was changed relatively early in development and it seems i forgot to update the documentation.

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

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

            Hello Manfred and Felix,

            thanks a lot for clarification and your efforts. I will try it later …

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

              I changed the default behaviour by using the “PluginDebugger.exe” which I found inside the installation directory “C:\program files\kopano\Kopano OL Extension”. This works fine, but: how can I have the desired setting %username% - %foldername% applied to ALL our workstations across the company? I don’t want to set this on each workstation, I’d prefer a global configuration.

              How can we set such a global configuration?

              fbartels 1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @micro last edited by

                @micro said in change default folder name suggestion when opening a shared folder:

                How can we set such a global configuration?

                since this is pure client side code there is no way to enforce this from the server. what you could do however is to set this option through a reg file and apply the reg file in your logon scripts.

                Regards Felix

                Resources:
                https://kopano.com/blog/how-to-get-kopano/
                https://documentation.kopano.io/
                https://kb.kopano.io/

                Support overview:
                https://kopano.com/support/

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

                  can you provide some more information about this .reg file? I already tried through Windows Registry, but without success.

                  1 Reply Last reply Reply Quote 0
                  • fbartels
                    fbartels Kopano last edited by

                    Something like the following will work (with your desired template set:

                    Windows Registry Editor Version 5.00
                    
                    [HKEY_CURRENT_USER\Software\Kopano\Kopano OL Extension\SharedFolders]
                    @="SuppressHierarchyChanges,AllowImpersonate"
                    "DefaultFolderNameFormat"="%foldername% - %username%"
                    

                    Regards Felix

                    Resources:
                    https://kopano.com/blog/how-to-get-kopano/
                    https://documentation.kopano.io/
                    https://kb.kopano.io/

                    Support overview:
                    https://kopano.com/support/

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

                      Hi Felix,

                      I did try that before manually with the registry editor but it didn’t work because I used HKLM\Software\Kopano… in your example it works within HKCU key. But I’m not sure if this will take effect when different users logon to a workstation. Is it possible to use this setting under HKLM, too?

                      It would be nice if someone could add your example to the manual. (take care for the missing space in the name SharedFolders, the manual shows it the other way as it is displayed in PluginDebugger.

                      fbartels 1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels Kopano @micro last edited by

                        @micro said in change default folder name suggestion when opening a shared folder:

                        Is it possible to use this setting under HKLM, too?

                        I’m not sure. I have to check with the developer for this.

                        Regards Felix

                        Resources:
                        https://kopano.com/blog/how-to-get-kopano/
                        https://documentation.kopano.io/
                        https://kb.kopano.io/

                        Support overview:
                        https://kopano.com/support/

                        1 Reply Last reply Reply Quote 0
                        • fbartels
                          fbartels Kopano last edited by

                          Had a quick chat with the developer. KOE already as capable of retrieving settings from hklm, but this only happens if there is no value set in hklu. In addition to this it would not fallback if the value in hklu is an empty string (which happens if settings were unset through the plugin debugger).

                          So my guess would be is that you applied it to hklm, which there were still settings in hklu.

                          Regards Felix

                          Resources:
                          https://kopano.com/blog/how-to-get-kopano/
                          https://documentation.kopano.io/
                          https://kb.kopano.io/

                          Support overview:
                          https://kopano.com/support/

                          1 Reply Last reply Reply Quote 0
                          • fbartels
                            fbartels Kopano last edited by

                            we made a quick fix for this in https://stash.kopano.io/projects/KOE/repos/kopano_ol_extension_source/commits/c8fc2fe78da71385a709941fd596ccb00f0ee20a. can you check the latest installer from https://download.kopano.io/community/olextension:/ ?

                            Regards Felix

                            Resources:
                            https://kopano.com/blog/how-to-get-kopano/
                            https://documentation.kopano.io/
                            https://kb.kopano.io/

                            Support overview:
                            https://kopano.com/support/

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

                              will that work on our business productional environment where I run kopano-server 8.5.9.0-0 ? I guess it should because I would only update the OLE extension on my own Windows client workstation, right ?

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