Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
When you open a document in the accesspoint, in the top right hand corner there is a close button, which does indeed close the document. However it leaves a blank screen with a restore button in place of close. This seems counter-intuiative as a user experience. The expectation is that when a user hits close, they are returned to the accesspoint dashboard to enable them to select another report.
Is there anyway to customise the button to behave in this way?
Thanks,
D
I just found that if I placed the following window.open command in the CloseSession function (bold and italicized below), it returns the user back to the documents selection page which is the desired result.
function CloseSession(e) {
document.body.style.background = "";
$('#MainContainer, #Tabrow, #QvAjaxToolbar > ul:last').html("");
$('body > script').nextAll().remove();
qva.Enabled = false;
qva.Ready = function () {};
qva.OnContextMenu = function () { };
qva.SendClose();
// Replace text and event for button
var closebtn = $('#Close');
window.open ("http://qlikview/","_self")
if (closebtn.length) {
Qva.Events.RemoveClickEvent(closebtn);
Qva.Events.AddClickEvent(closebtn, RestoreSession);
closebtn.find('.ctx-menu-text')
.text(closebtn[0].RestoreText || "Restore");
}
}
If any believes this is wrong or may have some adverse side effects, I welcome the advice.