3 Replies Latest reply: Aug 3, 2016 4:45 AM by alexander korsikov RSS

    On click opens first page by default

    Partha Kulkarni

      Hi Everyone,

       

      I have published an App in Qlik Sense. When users go to particular stream in hub and click an app, they are navigated directly to first sheet instead of displaying all the available sheets within the app. How do i restrict this so that users can see all the sheet available?

       

       

      Thanks,

      Partha K

        • Re: On click opens first page by default
          alexander korsikov

          use nginx or apache as proxy and link you bi.myhost.com -> bi.myhost.com:81/sense/app_id/sheet/app_sheet_id

            • Re: On click opens first page by default
              Partha Kulkarni

              Hi Alexander,

              Thanks for your reply. Can you be bit more elaborative?

               

              Thanks,

              Partha K

                • Re: On click opens first page by default
                  alexander korsikov

                  of course.

                  i'm use two configuration

                  First - one unix GW with nginx  and many QS servers in local net

                   

                  second - nginx and QS in same host. in this way you need do addition steps

                  go to QMC -> Proxy - ports - Service listen http port change to 81 (for example)

                  install NGINX

                  and change nginx.conf

                  ----

                  server{

                          listen 11.22.33.44:80;

                    #access_log logs/access.log combined;

                          server_name bi.mycomnay.org;

                          

                   

                   

                          location /sense{

                                  proxy_pass http://bi.mycomnay.org:81/sense;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_send_timeout 600s;

                    send_timeout 600s;

                    proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                          }

                       location /qrs{

                                  proxy_pass http://bi.mycomnay.org:81/qrs;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                          }

                          location /resources{

                                  proxy_pass http://bi.mycomnay.org:81/resources;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                          }

                      location /app{

                                  proxy_pass http://bi.mycomnay.org:81/app;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                          }

                    location /content{

                    proxy_pass http://bi.mycomnay.org:81/content;

                    proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                    }

                   

                   

                   

                   

                    location /extensions{

                                  proxy_pass http://bi.mycomnay.org:81$request_uri$args;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                          }

                   

                    location /single{

                                  proxy_pass http://bi.mycomnay.org:81/single;

                                  proxy_set_header Host $host;

                                  proxy_set_header X-Real-IP $remote_addr;

                                  proxy_set_header Upgrade $http_upgrade;

                                  proxy_set_header Connection "upgrade";

                                  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                                  proxy_max_temp_file_size 0;

                                  proxy_connect_timeout 5400s;

                                  proxy_read_timeout 5400s;

                                  proxy_http_version 1.1;

                    proxy_send_timeout 600s;

                    send_timeout 600s;

                          }

                   

                   

                   

                        

                   

                    location /{

                    return 302 http://bi.mycomnay.org/sense/app/fba3f2f2-cf55-40a0-a79f-b74f5ce947c2/sheet/HbXjQep/state/analysis;

                   

                    }

                     }

                  ----

                  and all work's fine