5 Replies Latest reply: May 3, 2012 6:36 AM by Dave Riley RSS

    Send Message to a QlikView Session Active Users

    JASON SIGFRED SERIL

      Good day all!

       

      We have some requirements on sending message to a QlikView Session Active Users. 

       

      In the QMC, we can set a "Custom System Message", where users can read this message when opening the Access Point.  The requirement is, can some "Admin" send, say "Maintenance or Troubleshooting message" to these Active Users, so they'll be aware, close and logout from the session?

       

      Thanks in advance and more power!

       

      Jason

        • Send Message to a QlikView Session Active Users
          Patrick Anderson

          I don't know if there is anything in the QMC that would do this, but Access Point is just like any other Website, you could add a message by editing the JavaScript and HTML on the website. We have a notification for users when they enter our test enviroment so they know they are not seeing production numbers or reports. This is done by modifying those web files.

          • Re: Send Message to a QlikView Session Active Users
            Dave Riley

            This might be possible by posting the message to the registry and reading the value back using

            GetRegistryString.

             

            I've not tested this on my server, but in the client the value updates when the user clicks around the Qlikview document.

             

             

            flipside

             

             

            EDIT: Just tested it quickly and doesn't work!!  You might be able to grab the value using a macro triggered by an action, though.

              • Re: Send Message to a QlikView Session Active Users
                Daniel Rozental

                Best way I can think of to do this with QV11 is using document extensions.

                 

                Do something that gets executed every time the page is updated, or every few minutes, checks a file on the server opening a URL and displays a message.

                 

                Never done it but I believe it should work.

                 

                Another way might be using QV11 SR1 real time update, add a message to the model and display it somewhere.

              • Re: Send Message to a QlikView Session Active Users
                Bill Britt

                In version 11 you can do that. See below, I have type in "This is a test"

                 

                QV11-2012-05-02-15-55-23.png

                 

                This shows up in the Accesspoint like below..

                 

                QV11-2012-05-02-15-55-18.png

                  • Re: Send Message to a QlikView Session Active Users
                    Dave Riley

                    Hi Bill,

                     

                     

                    Does this message update dynamically or does it rely on the user refreshing the page?

                     

                    I read the original post as "how to notify users in a document session?", so they are not looking at Accesspoint but the open document so they won't be alerted to that message.  I have managed to get a message passed from one Plugin session to another user's plugin session by using shared server bookmarks.

                     

                    1) Set up a variable SelectionTrigger as =GetCurrentSelections()

                    2) Set up a document trigger on this variable changing to run a macro like this ...

                     

                    set bm = ActiveDocument.GetBookmark("Server\BM01")

                      set t = activedocument.getsheetobject("TX02")
                      p = t.GetProperties
                      p.layout.text.v = bm.Bookmark.InfoText
                      t.setproperties p

                    So the admin user edits the server bookmark's info and when the user makes selections, the macro runs and populates the text box.

                     

                     

                    flipside