Custom Message Question

book

Article ID: 195774

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

Is there a way to set a custom message when someone's account is locked and they fail at login? That way we can present something like "Your account is locked, please contact an administrator at 555-555-1234".

Not a big deal, but it might help us to direct our confused users to the right location.

Environment

Release : 13.0

Component : CA Harvest Software Change Manager

Resolution

It is possible, but there are a few limitations.

The text of most of the error messages Harvest generates are found in a file named “henglish.msg”, found in the folder where SCM is installed. The SCM Server sends back a code then the SCM Client searches through this file to find the text to display for that particular error code. So, theoretically, the way to alter the message is to edit this file, locate the error code that corresponds to the message you want to change, make the change, save the file and, the next time that error is encountered you will see the updated version of the error message.

Here are the limitations:
- You will want to backup this file because the next time Harvest is upgraded or reinstalled, it will be replaced with the original version of the henglish.msg file and you’ll lose your customizations.
- This is a client-side change, so the henglish.msg file would have to be deployed to the SCM installation folder for every client machine.
- If you’re using Harweb, a copy of this file would also be found in the \webapps\harweb\WEB-INF\lib folder so this copy would need to be updated as well.