SYMPTOMS
This article explains how you can modify the resultlist.htm to limit the loading of the full document in fast key fielding in your Web Client.
CAUSE
Not applicable
RESOLUTION
The script is designed to display the entire document not having any limitations to the amount of pages creating a delay when moving from document to the next.
- Navigate to: C:\inetpub\wwwroot\<your index name>\html
- Locate resultlist.htm and make sure to create a back up first.
- Now, open resultlist.htm to start editing
- Locate:
function getBaseUrl( action )
{
return "/Exe/ZyNET.exe?ZyAction=" + action + "&Client=new&Time=${TIMELIMIT}&EndTime=${ENDTIME}&SearchMethod=${SEARCHMETHOD}&TocRestrict=${TOCRESTRICT}&Toc=${JS_TOCINDEX}&TocEntry=${TOCENTRY}&QField=${JS_QUERYFIELDS}&QFieldYear=${JS_QUERYFIELDS_YEAR}&QFieldMonth=${JS_QUERYFIELDS_MONTH}&QFieldDay=${JS_QUERYFIELDS_DAY}&UseQField=${JS_USEQUERYFIELDS}&IntQFieldOp=${INTQFIELDOP}&ExtQFieldOp=${EXTQFIELDOP}&Refine=${URL_REFINEMENTS}&XmlQuery=${JS_XMLQUERY}&User=${JS_USERNAME}&Password=${JS_PASSWORD}&SortMethod=" + encodeURIComponent("${JS_SORTMETHOD}") + "&MaximumDocuments=${MAXIMUMDOCUMENTS} &FuzzyDegree=${FUZZYDEGREE}&ImageQuality=${IMAGEQUALITY}&Display=${DISPLAY}&DefSeekPage=${DEFSEEKPAGE}&Random=" + Math.random();
}
- You will have to add &MaximumPages=5
- This is how the script should look like:
function getBaseUrl( action )
{
return "/Exe/ZyNET.exe?ZyAction=" + action + "&Client=new&Time=${TIMELIMIT}&EndTime=${ENDTIME}&SearchMethod=${SEARCHMETHOD}&TocRestrict=${TOCRESTRICT}&Toc=${JS_TOCINDEX}&TocEntry=${TOCENTRY}&QField=${JS_QUERYFIELDS}&QFieldYear=${JS_QUERYFIELDS_YEAR}&QFieldMonth=${JS_QUERYFIELDS_MONTH}&QFieldDay=${JS_QUERYFIELDS_DAY}&UseQField=${JS_USEQUERYFIELDS}&IntQFieldOp=${INTQFIELDOP}&ExtQFieldOp=${EXTQFIELDOP}&Refine=${URL_REFINEMENTS}&XmlQuery=${JS_XMLQUERY}&User=${JS_USERNAME}&Password=${JS_PASSWORD}&SortMethod=" + encodeURIComponent("${JS_SORTMETHOD}") + "&MaximumDocuments=${MAXIMUMDOCUMENTS} &MaximumPages=5 &FuzzyDegree=${FUZZYDEGREE}&ImageQuality=${IMAGEQUALITY}&Display=${DISPLAY}&DefSeekPage=${DEFSEEKPAGE}&Random=" + Math.random();
}
- The result would be that only 5 pages will be tiff printed during the fast key fielding mode. If you select page 5 to display, then the next 5 pages will be tiffed as well. By changing the number from 5 to 1, you will only print one page and so on.
APPLIES TO
6.3; 6.4
Comments
0 comments
Article is closed for comments.