
All,
After applying the addition to the KMS_Config under the Indexing node to be able to index external directories, I wanted to see if it was possible to default the checkbox for "OtherDocs" under the Advanced Search to be checked.
Below is the code I added to the Indexing node:
<indexing>
<table name="rkm_doc" stopfile="fultext.stp" type="documents"/>
<table name="rkm_news_flash" type="news_flashes"/>
<table name="rkm_attachment" type="attachments"/>
<table name="rkm_general" type="general"/>
<table name="rkm_dict" type="dictionary"/>
<table label="OtherDocs" name="Other_Docs" type="external">
<directory path="C:\program files\BMC\Service Desk Express\Application Server\MagicDoc" vg="Internal"/>
<directory path="C:\Program Files\BMC\Knowledge Management Express\data\kms_data\ExternalDocs" vg="Internal~!~Self-Help"/>
</table>
</indexing>
It looks as if the code that controls this is in search.jsp, but I believe can only be accessed by modifying the actual class that it resides in.
Is there a much easier way to do this, as I do not have access to the files required to be able to re-compile the required class files.
I even tried tricking the browser via the address, but no luck. I have not found a flag to check the OtherDocs Checkbox.
Any help would be greatly appreciated.
Thank you,
Matt
You will want to utilize the template attribute in the KMS_Config.xml (a
sample template.htm files ships with RKM). This will allow you to inject JS
code to autocheck the source you desire. In 7.5 the configuration to
control what sources are checked by default was made available.
Alan Blake
Knowlysis
Thanks Alan.
I will check this out and let you know how it comes out.
Matt
Alan,
Well looks as if I am going to have to go the custom template route. I tried upgrading the KME installation to 9.2.00.003 with SearchServer 6.1, and looks like the option to choose which checkboxes you want checked has not been added for the Express version yet.
Hopefully this will be added in a future release of KME so that it will make it a little easier for SDE customers.
Thank you,
Matt