ReportUXMessage EKL Function in ER Generic Server Openings
When implementing an ER generic server opening with EKL functions, the reportUXMessage function should only be called when an operation is blocked, to explain why the operation failed. The message displayed to users is an error.
Using the reportUXMessage function without blocking the operation is not
supported for collaboration, lifecycle, and new commands, as well as properties.
For more information, see 3DEXPERIENCE | Enterprise Knowledge Language | Enterprise Knowledge Language | Server Types and Functions | EKL Functions by Modeler | ER Generic Server EKL Functions.
This is an example of how to use the reportUXMessage function:
if (blockOperation==true)
{
// Blocking the operation and explaining to the user why the operation fails
Validation = FALSE
// Error message displayed to users
reportUXMessage("EKL Test precommit " + event + " KO")
}