Notifications

294 views

Description

The "showFieldMsg()" method does not display messages for Label type fields in Service Portal.

Steps to Reproduce

 

1. Create a label variable on a catalog item.

2. Create an onLoad() catalog client script for the new item with the code:
g_form.showFieldMsg('YOUR_VARIABLE_NAME', 'test message!!!, 'error',true);

3. Navigate to the catalog item in Service Portal.
Observe the message does not display.

Workaround

This is expected behaviour in the current Service Portal design. This issue has been identified as a possible future product enhancement. As a workaround, reference the last variable under the label one in the showFieldMsg() method, rather than the label variable itself.


Related Problem: PRB1247434

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:40:58
Published:2019-02-07