Actuate Information Console reference : Customizing Information Console online help : Changing help content : Changing the index
 
Changing the index
The index displays keywords for help topics from individual content files. The index.js file located in the <document root>\wwhdata\js directory contains the index entries. The help system merges the index.js files for every book in a collection. The index.js file controls the following items:
*The index hierarchy
*The text that makes up the index entries
*The content to which the index entries link
For example, in the using-ip document root, the index entry for "changing", starting at the letter C, looks like the following code:
A=P.fA("C",null,null,"002");
B=A.fA("calendar gadgets",new Array("91#758834"));
B=A.fA("calendars",new Array("87#808008"));
B=A.fA("cancelling scheduled jobs",new Array("130"));
B=A.fA("Categories view",new Array("8#249139","8#214378","42#405845"));
B=A.fA("changing");
C=B.fA("dashboards",new Array("71#783190","72#786017","83#774197","88#775563"));
C=B.fA("data",new Array("94#752260"));
C=B.fA("data sources",new Array("5#191220"));
This code establishes the following structure:
*The top-level entry, A=P.fA, is the label "C". This entry links to the "002" frame, which is the navigation frame.
*The first entry below "C" is the "calendar gadgets" entry. This entry is one level down in the hierarchy, B=A.fA, of the index for "C". This entry has one link to an anchor in file "91".
*The entry for "changing" is merely a label and does not link to anything.
*On the next level down in the hierarchy, C=B.fA, has many entries, one for each of the sub-topics of changing. Each entry has a label and an array of links to topics that the user can choose.
Figure 10‑10 shows the hierarchy produced by this code.
Figure 10‑10 The index hierarchy for using-ip