Notifications

108 views

Description

Variables with a default value and client script will not populate in service portal.

Steps to Reproduce

1) Navigate to any record producer
2) Create a variable set
3) Within that variable set create a new reference variable with a reference to the "sys_user" table. Set the default value to javascript:gs.getUserId();
4) Create an on load catalog client script on the record producer above.
- UI type - ALL
- Type - onLoad
- Script - g_form.setValue("variable_name",g_user.getFullName());
5) Open the above record producer in the portal, notice the value doesn't populate.

Tested the above in the latest kingston release and the value does populate.

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

 


Related Problem: PRB1320929

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:44
Published:2019-01-26