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

    Howto pass username with intranet plugin

    Plugins for Kopano WebApp
    3
    4
    937
    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.
    • mdoehle
      mdoehle last edited by

      Hi

      I want to use a inhouse webfrontend with intranet plugin and passthru the username to our webfrontend. Is there a way to do it?

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

        I am looking for something similar as well (wanting to pass the sender email-address of a currently selected email). Any ideas?

        I guess you could always write a value to the a file that you will later retrieve in your intranet page (assuming that both run on the same server) but that seems like an ugly kludge.

        regards, Bro

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

          I’d have a look at the files plugin. This has the built-in ability to use the credentials of the logged in user to login to a third party.

          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
          • Bro
            Bro last edited by Bro

            Thanks for the pointer,
            I’ve gotten it to work (it’s still a bit of an ugly kludge):

            in /usr/share/kopano-webapp/plugins/intranet/js/intranet.js you can add stuff to the url in the openTab function (the function that’s called when the intranet button is clicked).
            I add a value there which I’ve set on the window object somewhere else:

            //create new tab
            …snip …

            url: btn.url + ‘?get_value=’ + window.mysetvalue ;

            …snip …

            this will set the value on every opened tab, but you can test for your preffered url ofcourse.
            Not pretty, but good enough for our purposes.

            cheers, Bro

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