Message not displayed when using addErrorMessage() or addShowmsg() on portalIssue Error/warning messages will not display when using addErrorMessage() or addShowmsg() on portal. Client scripts run but messages appear and disappear, with console warnings about synchronous use not being supported in Mobile or Service Portal unless messages are cached. Symptoms Error/Warning message will not display when using addErrorMessage() or addShowmsg() on portal.Client script runs but message appears and disappears.Console warning: "synchronous use not supported in Mobile or Service Portal unless message is already cached" Release Release: Jakarta, Kingston, London Cause getMessage() has a second parameter for a client-side callback function, which is required to properly display messages in this context. Resolution Modify the getMessage() call to include a callback function: ```javascriptgetMessage("Outage End Date must be after Outage Start Date.", function(msg) {g_form.showFieldMsg('outage_end', msg, "error");})``` Ensure any value-clearing operations (e.g., g_form.setValue()) occur before calling showFieldMsg() to prevent message clearing. Related Links Learn about supported client-side APIs (look under GliderRecord class).