Custom error message for mandatory attributes possible?
![]()
I have found a description for a "required properties" pre-condition which is not available (anymore?) but nothing else.
Can someone help me out and tell me if it's possible to configure custom error messages for mandatory attributes that were configured with the built-in pre-condition?
Or is the only way to get that done to write an extension (though then I am guessing I won't have that asterisk to indicate that the attribute is mandatory)?
|
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered May 30 '18, 3:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 30 '18, 3:50 a.m. Hi Illona,
Ilona Krammer selected this answer as the correct answer
|
One other answer
![]() Actually I think that the only way is to write an extension (a custom pre-condition) that checks the values of the mandatory attributes and returns and error when any of them is empty.
You can set the error message in the IAdvisorInfo object.
|