Qlik Community

QlikView Documents

Documents for QlikView related information.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.

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

Arjunarao
Honored Contributor II

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

Hi All,

Some of the users may feel uneasy to enter domain name to login access point.

Here is the steps to configuration to achieve the skipping of domain name.

Go to the below path:

C:\Program Files\QlikView\Web.

Take the back up of FormLogin.htm

Open the FormLogin.htm in a notepad.

Default Code:

<?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="https://community.qlik.com/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" />
<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
</head>
<body>
<div id="frame">
<div id="nav_utility">
</div>
<div id="header">
<a href=""><img src="images/logo_main.png" alt="QlikView" id="logo_main"/></a>
<span class="docNum"></span>
<span class="lastUpdated"></span>
</div>
<div id="loginBox">
<form action="/QvAJAXZfc/Authenticate.aspx?back=/qlikview/FormLogin.htm" method="post">
<span class="formTitle top">User Name:</span><span class="formField"><input type="text" id="username" name="username" title="username" class="top" /></span>
<span class="formTitle">Password:</span><span class="formField"><input type="password" id="password" name="password" title="password"/></span>
<input type="Submit" class="loginSubmitButton" value=" "/>
</form>
</div>
</div>
<div id="footer">
</div>
<script type="text/javascript">
var thisPage = "login";
</script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript" src="js/accessPoint.js"></script>
</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="https://community.qlik.com/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" />
<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
</head>
<body>
<div id="frame">
<div id="nav_utility">
</div>
<div id="header">
<a href=""><img src="images/logo_main.png" alt="QlikView" id="logo_main"/></a>
<span class="docNum"></span>
<span class="lastUpdated"></span>
</div>
<div id="loginBox">
<form id="loginform" name="loginform" method="post" onSubmit="PrependDomain()" action="/QvAJAXZfc/Authenticate.aspx?back=/qlikview/FormLogin.htm">
<span class="formTitle top">User Name:</span><span class="formField"><input type="text" id="username" name="username" title="username" class="top" /></span>
<span class="formTitle">Password:</span><span class="formField"><input type="password" id="password" name="password" title="password"/></span>
<input type="Submit" class="loginSubmitButton" value=" "/>
</form>
</div>
</div>
<div id="footer">
</div>
<script type="text/javascript">
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 );
}
} );
</script>
<script type="text/javascript">
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;
}
}
</script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript" src="js/accessPoint.js"></script>
</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

Version history
Revision #:
1 of 1
Last update:
‎12-02-2015 02:04 AM
Updated by: