BMC Communities Banner

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
3 Replies Last post: Nov 12, 2009 10:59 AM by Matt Graves  
Matt Graves Participant 4 posts since
Feb 4, 2009
Currently Being Moderated

Nov 11, 2009 8:31 AM

KME 9.2.00.002 - External Docs Checkbox

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.

 

http://Servername:8080/rkm/search.jsp?&remedy=1&locale=en&ID_Published=on&ID_Draft=on&ID_General=on&dltk=MA0179364899&USB=http://Servername/SDE/KME_UseSolution.aspx?#

 

Any help would be greatly appreciated.

Thank you,

 

Matt

Alan Blake Expert 323 posts since
Feb 12, 2008
Currently Being Moderated
1. Nov 11, 2009 11:46 AM in response to: Matt Graves
Re: KME 9.2.00.002 - External Docs Checkbox

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

Advertisement

More Like This

  • Retrieving data ...