2 Replies Latest reply: May 14, 2012 1:10 PM by Kel NameToUpdate RSS

RKM 7.5 - Has anyone used the search and replace utility?

Kel NameToUpdate

I would like to know if anyone out there has used the search and replace utility that comes with RKM 7.5? We have RKM installed on a Windows server and attempted to update mulitple articles using this bat file, but it didn't work. Any help is appreciated. See pages 78 and 79 in the Admin & Configuration Guide

  • 1. RKM 7.5 - Has anyone used the search and replace utility?

    Hi Kel,

     

    Before start running "searchandreplace.bat" file make sure the JAVA_HOME environment variable has set.

    Once done start the bat file and give the proper article file path.

     

    To Run the Utility.

     

    Open a command window and go to <BMC Remedy Knowledge Management

    installation directory>/Utilities/SearchAndReplace.

     

    For Ex: searchandreplace.bat searchfile updatedsearchfile /data1/bmc/Bmc_Rkm/data/kms_data/draft/111.xml

     

    searchfile-->find string.

     

    updatedsearchfile-->replace string.

     

    /data1/bmc/Bmc_Rkm/data/kms_data/draft/111.xml-->full path of file.

     

    Note: It will update only one article value (ex.-article id :111)

     

    Hope this will help.

     

    Thanks,

    Yogesh.

  • 2. RKM 7.5 - Has anyone used the search and replace utility?
    Kel NameToUpdate

    Thanks Yogesh,

     

    BMC just provided us with a FindAndReplace.batch file written in VBScript which works well.