Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

utilzar ticket en qlikview workbench...

saludos, necesito poder utilizar ticket o webticket para integrar en una pagina asp o html objetos de qlikview...

estaba utilizando qlikview workbench en visual studio pero no se como colocar el usuario y contraseña que necesita para visualizar los objetos... saludos espero una respuesta, en lo ideal si tienen algun codigo de ejemplo, me interesa la solucion tanto en workbench, como con div integration...

3 Replies
Not applicable
Author

Hola Ivan,

Es posible utilizar webticket tanto en utilizando qlikview workbench como en div integration.

El proceso para utilizarlo seria el siguiente:

1) Obtener el webticket

    http://server/QvAjaxZfc/GetWebTicket.aspx?cmd=%3CGlobal%20method=%27GetWebTicket%27%3E%3CUserId%3Eus...

Ticket: VZndi/7Jbix6uUVvz1ioDGBrPXap+aukE2s5WgoD

2) Encode la URL del website (workbench o div integration).

Ejemplo:

WorkbenchWebsite: http://server/workbench/

WorkbenchWebsite Encoded : http%3A%2F%2Fserver%2Fworkbench%2F  

// Esto es para que no exista ningun tipo de confusion, ya que es una URL que va a ser embebida en otra URL general (con ticket). Un exemplo de encode online puede ser: URL Decoder/Encoder

3) Autenticar el website (workbench o div integration) con el ticket que obtuviste.

URL con Ticket seria:

http://server/qvajaxzfc/authenticate.aspx?type=html

                                                                &try=http%3A%2F%2Fserver%2Fworkbench%2F            

                                                                &back=/Qlikview/

                                                                &webticket=VZndi/7Jbix6uUVvz1ioDGBrPXap+aukE2s5WgoD

El unico problema que tenes con div integration es que si la carpeta /QvAjaxZfc/ no esta hosteada en el mismo dominio que el web site vas a tener un problema de Cross Scripting o Cross Domain. Para solucionarlo tenes que usar un proxy.

Ahora si creas un web site con workbench, no tenes ese problema porque ya utiliza un proxy.

Para mas informacion de TIcketing esta este post: An introduction to QlikView Security using Web Tickets

Espero que haya sido de utilidad.

Pablo

danielrozental
Master II
Master II

Ivan, te recomiendo que leas este documento An introduction to QlikView Security using Web Tickets

Not applicable
Author

Hi Pablo,

I have scenario like below, please could you tell me how can to use webticket for authentication..

I am working with workbench-Div integration. I have Java web application using apache proxy to redirect to QVWS.

In my case, everything is working fine, but if I use "Ticket" attribute in Qv.Initworkbench its throwing me error where as if I remove, everything works fine.

I have gone through your reply, but I didnt get that where to call below code..

3) Autenticar el website (workbench o div integration) con el ticket que obtuviste.. I mean at what point I need to invoke..

because, I get the webticket at server side and passing to client, and on html page, i have all the workebchn-div integration code and getting the report without webticket, but I need to incroporate webticket in this case .

Please help me  how can and when to call below code..

Ticket URL would be:

http://server/qvajaxzfc/authenticate.aspx?type=html

& try = http % 3A % 2F % 2Fserver % 2Fworkbench % 2F

& back = / Qlikview

& webticket = VZndi/7Jbix6uUVvz1ioDGBrPXap aukE2s5WgoD

Here is Spanish version::::::

Hola Pablo ,

Tengo escenario como abajo, por favor podría usted decirme cómo se puede utilizar para la autenticación webticket ..

Estoy trabajando con la integración banco de trabajo - Div . Tengo aplicación web Java usando proxy de apache para redirigir a QVWS .

En mi caso , todo está funcionando bien , pero si uso atributo " Ticket" en Qv.Initworkbench su echarme error donde como si me quito , todo funciona bien .

He pasado por su respuesta, pero yo no conseguir que dónde llamar a continuación código ..

3 ) el sitio web autenticar (integración div banco de trabajo o) con el billete Que obtuviste .. quiero decir en qué momento tengo que invocar ..

porque , me sale el webticket del lado del servidor y que pasa con el cliente , y en la página html , tengo todo el código integración workebchn -div y obtener el informe sin webticket , pero necesito incroporate webticket en este caso.

Por favor, ayúdame , ¿cómo puede y cuándo llamar a continuación código ..

URL con Ticket seria:

http://server/qvajaxzfc/authenticate.aspx?type=html

                                                                &try=http%3A%2F%2Fserver%2Fworkbench%2F           

                                                                &back=/Qlikview/

                                                                &webticket=VZndi/7Jbix6uUVvz1ioDGBrPXap+aukE2s5WgoD

Lo siento por los errores , ya que estoy utilizando el traductor de google

Thanks,