5 Replies Latest reply: Aug 14, 2017 9:24 AM by Fion Xiong RSS

    NP17 - running task with section access never ends.

    Fion Xiong

      Hi,

       

      My Qlikview app contains section access and in NP17 the connection was created by using Admin username. I can run Preview which can see all data (Admin SA). But when I tried to publish to one user, the task is running forever. I guess there is still some issue in section access. This user should only see his own entity data when login. I tried to open the app directly by using this user's username, everything looks fine.

       

      I am really confused about the setting of the Connection, if according to documents it should use an Admin account, when this Admin account runs publish task to all users with section access, will it still work? I only kept a cover page in my report for testing, and it never ends. In fact I need each user login by their own username.

        • Re: NP17 - running task with section access never ends.
          Fion Xiong

          Now I got some progress the task could run. But section access is still not working, it distributed all data to each user which is wrong, not like in NP16 for every user it close and reopen the QV document with new user login. Please advise how to set up task with section access, thank you very much.

            • Re: NP17 - running task with section access never ends.
              Lech Miszkiewicz

              Hi

              1. First of all we cannot compare NP16 and NP17 as NP16 did not support section access at all.
              2. Could you please provide a snapshot of your connection settings
              3. Could you please confirm that NPrinting Service Account is embeded in your Qlik section access logic and it is actually a domain account
              4. Could you please confirm that all users are having domain account created in NPrinting user list (as this is the only way how section access data reduction can work in NPrinting). This is the part of user/recipient information where you have to provide Domain and UserId

               

              once you confirm above we can go further.

               

              cheers

              Lech

            • Re: NP17 - running task with section access never ends.
              Fion Xiong

              Hi Lech,

               

              Thank you very much  for the feedback. I saw you already replied Ruggero's comments in my another thread (link below).

              https://community.qlik.com/message/1324229?et=watches.email.thread#1324229

               

              I am not so clear if we should only use domain account. In our current NP report, we only use username. BTW, we have used NP 16 with section access since last Jan, it works pretty good. In fact, our QV document does build domain account, but for NPrinting we modified SA part to just use username. We have two tabs of SA switch between normal reporting and NPrinting.

               

                • Re: NP17 - running task with section access never ends.
                  Lech Miszkiewicz

                  Hi Fion.

                   

                  Explain what do you need a section access for in NPrinting? How do you want to levarage its functionality!???

                   

                   

                  In NP16 section access was only a gate to open a document and it was NOT used to do data reduction for end users \ recipients. Data was only reduced to records available for service account user!

                   

                  In NP17 you have differnet approach (and you cannot refer to NP 16 in here)

                  • DOMAIN Account can be used to apply users section access on NPrinting reports ( instead of creating filters) This means that without filters each user, recipient, even developer will only see records which are associated with his account. There is no other way than using Domain account to achieve this!!!
                    • I am also suspecting (and Ruggero can probably confirm this), that you need to use qvp connection to achieve this as qlikview server will have to validate domain accounts!

                   

                  I hope it is bit clearer now for you.

                  regards

                  Lech

                    • Re: NP17 - running task with section access never ends.
                      Fion Xiong

                      Hi Lech,

                       

                      This is really pretty clear for me, thanks for your explanation. I did a lot of testing and really understand what you mentioned.

                       

                      I think you already know what I need based on your explanation, thanks. Yes, my need is the one you explained in NP 17 by user Domain Account. (However we did it in NP 16 as well by opening document which you mentioned in NP 16. The trick is in connection setup. Anyway we can forget about NP16 now.)

                       

                      The only reason I refer to NP16 is we used qvw document in a folder instead of publish on server, and in NP17 I also tried to user Type Local. You are also suspection Local might not work for domain accounts. So probably now I have two options to apply/imitate Section Access:

                      1. Local connection with user filters. (already worked)

                      2. qvp connection with Domain account. (working on this)

                       

                      I cannot agree more with you that we need a confirmation that Local connection would not support Apply User Section access.