Jump to content
Welcome to our new Citrix community!

Changing default NetScaler error messages to something more meaningful


Shane Paul

Recommended Posts

I've restricted the manageotp site so user's can only register a single device. If they already have a device registered and try and go to manageotp, they get the message noted in the screen shot. Is there any way to change that message to be something more meaningful? Or replace it with a custom message?

 

Thanks!

 

image.thumb.png.a5a0b88aa303cbbdc85bdc069d263348.png

Link to comment
Share on other sites

Shane,

 

You can replace it with your own custom message.

The default messages are in /var/netscaler/logon/LogonPoint/receiver/js/localization/<language code>/ctxs.strings.js.
The key you are looking for is: "Session absent to manage otp for user, probably misconfiguration. Please contact your adminsitrator."

And yes, there is a typo in the key.

Then copy the entire line, and copy it into: /var/netscaler/logon/themes/<your theme name>/strings.<language code>.json.

You must leave the message key (the part before the colon) intact (yep, with the typo!), but you can replace it with your own custom message on the right.

You will also need to escape double-quotes within your text.

Here is a screenshot:

1480230004_RfWebUIMessageOverride.thumb.jpg.0af2bcbf775fafa187761165ee9a40f3.jpg

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...