Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hei,
I would like to change the default Access Point setting from 12 items per page to let's say 20.
In QMC > System > Setup > Qlikview Web Service in couldn't find any of that kind of setting.
How should I do this?
Thank you!
Maybe there is none setting for it and the default of 12 is fix and any changes are cached or stored within a cookie. By clearing the cache and deleting the cookies (all or maybe only the relevant ones) you could confirm or exclude this possibility.
- Marcus
Maybe there is none setting for it and the default of 12 is fix and any changes are cached or stored within a cookie. By clearing the cache and deleting the cookies (all or maybe only the relevant ones) you could confirm or exclude this possibility.
- Marcus
This is most likely in the Javascripts for the AccessPoint I would think. The catch with modifying those is you would be unsupported on the mods, but that is where you would want to look for things. Try the AccessPoint.js file in C:\Program Files\QlikView\Web\js by default. You may need to use NotePad++ and the plugin to format the file for Javascript, otherwise may be a bit difficult to read. Believe I found the code:
ap.setLanguage = function (a) {
return $.getJSON("lang/" + a + "/accesspoint.json").then(function (b) {
langData = b;
$(".loading-text").text(langData.loadingLabel);
$("#loading").show();
$(".filter_text").text(langData.viewAsHeader);
$(".userbox-header").text(langData.userProfileHeader);
$(".tabs-favorites").text(langData.tabFavorites);
$(".tabs-profile").text(langData.tabProfile);
$(".favorites-documents-header").text(langData.favDocsHeader);
$(".favorites-documents-body").text(langData.favDocsBody);
$(".favList_name.favList_header").text(langData.nameTableHeader);
$(".favList_category.favList_header").text(langData.categoryTableHeader);
$(".favList_date.favList_header").text(langData.updatedTableHeader);
$(".user-details-main-header").text(langData.tabProfile);
$(".user-details-welcome").text(langData.profileWelcomeHeader);
$(".user-details-refer").text(langData.profileReferLabel);
$(".edit").text(langData.profileEditLabel);
$(".nameSubmit").text(langData.profileSave);
$(".user-details-signed-in-as").text(langData.profileSignedIn);
$(".user-details-preferred-client").text(langData.profilePreferredClientHeader);
$(".user-details-preferred-client-label").text(langData.profilePreferredClientLabel);
$(".user-details-language").text(langData.profilePreferredLanguageHeader);
$(".user-details-language-label").text(langData.profilePreferredLanguageLabel);
$(".btn_go").text(langData.goBtnText);
$("#columnHeaders .attr1 strong").text(langData.nameTableHeader);
$("#columnHeaders .attr2 strong").text(langData.categoryTableHeader);
$("#columnHeaders .attr4 strong").text(langData.updatedTableHeader);
if ($("#userFavs").children().length === 0) {
$("#userFavs").text(langData.favListNone)
}
ap.updatePrefClientWithLang();
paginationData = [{
value: 12,
text: langData.itemsPerPage12
}, {
value: 20,
text: langData.itemsPerPage20
}, {
value: 40,
text: langData.itemsPerPage40
}, {
value: 100,
text: langData.itemsPerPage100
}, {
value: 0,
text: langData.itemsPerPageAll
}
];
return langData
})
};
If you decide to change things, just be sure to keep an original copy, so you can test any issues you run into later with that original page to be sure the issue is not related to changes... Also, on upgrade, you would likely need to go back into the new file and make the mods again, as I am pretty sure the file will be replaced.
Regards,
Brett