NetTalk Central

Author Topic: Customize error messages  (Read 3771 times)

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Customize error messages
« on: December 27, 2012, 01:54:44 AM »
In Nettalk web app (Nettalk 5) how can I customize the error messages that users get, eg. Creates Duplicate Key type messages?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11254
    • View Profile
Re: Customize error messages
« Reply #1 on: December 27, 2012, 02:57:45 AM »
Hi Ian,

context matters - so you have to be very specific about what error message you are looking at, and when the user sees it.
Screen-shots are good.

cheers
Bruce

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Re: Customize error messages
« Reply #2 on: December 28, 2012, 03:32:11 AM »
Here is example screenshot of Duplicate key error - see attached.

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11254
    • View Profile
Re: Customize error messages
« Reply #3 on: December 30, 2012, 10:43:26 PM »
The generic duplicate text message is in

p_web.site.DuplicateText

it defaults to

'Creates Duplicate Record on'

You can change this in the WebHandler procedure, ProcessLink method, before parent call.

If you want to suppress the message more then I recommend embedding in the CheckForDuplicate routine in the specific form affected.

cheers
Bruce

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Re: Customize error messages
« Reply #4 on: December 31, 2012, 03:04:57 AM »
Many thanks for that!