Skip to enter domain name & Log Out option in QV access point

How to skip to enter domain name in Qlikview access point?

Go to the below path:

C:\Program Files\QlikView\Web.

Take the back up of FormLogin.htm

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;
<html xmlns=”http://www.w3.org/1999/xhtml”&gt;
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>QlikView – AccessPoint</title>
<link rel=”shortcut icon” type=”image/x-icon” href=”/QvAjaxZfc/htc/Images/favicon.ico” />
<link rel=”stylesheet” href=”global.css” type=”text/css” media=”screen” />
<link rel=”stylesheet” href=”custom.css” type=”text/css” media=”screen” />
http://js/jquery-1.7.min.js
</head>
<body>

User Name:
Password:

</div>

var thisPage = “login”;

http://js/login.js
http://js/accessPoint.js
</body>
</html>

update the script as shown below:

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“>
<html xmlns=”http://www.w3.org/1999/xhtml“>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>QlikView – AccessPoint</title>
<link rel=”shortcut icon” type=”image/x-icon” href=”/QvAjaxZfc/htc/Images/favicon.ico” />
<link rel=”stylesheet” href=”global.css” type=”text/css” media=”screen” />
<link rel=”stylesheet” href=”custom.css” type=”text/css” media=”screen” />
http://js/jquery-1.7.min.js
</head>
<body>


User Name:
Password:

</div>

var thisPage = “login”;
var formSubmit = true;
$( document ).ready( function () {
var opendocqs = ExtractProperty(“opendocqs”, null, true, window.location);
if (opendocqs != null) {
var newaction = $(‘form’).attr(“action”) + “&opendocqs=” + encodeURIComponent(opendocqs);
$( ‘form’ ).attr( “action”, newaction );
}
} );

function PrependDomain(){
var user = document.loginform.username.value;

{
var domain = “enter here your domain name>”;
}

if (user.toUpperCase().indexOf(domain) > -1){ //domain has already been entered manually (don’t append it again)
return true;
} else { //domain name has not been entered, append it
document.loginform.username.value = domain + “\\” + user;
}
}

http://js/login.js
http://js/accessPoint.js
</body>
</html>

 

To add Log Out option:

Go to System–>Qlikview Web Server–>Authentication–>Login Address–>Check Alternate login page (web form) option

Untitled

123

Advertisements