Trying to populate the fields at FieldProcessKey(event)
Hi ,
I am trying to populate the fields at FieldProcessKey(event), fields values are getting set successfully but to see/check the values i need to tab out/ click on the fields to check.
WEC version - 12.2.1.0
Code Snippet -
MO_NUMBER_FIELD.setValue(valueList[3].trim());
MO_NUMBER_FIELD.setDisplayValue(MO_NUMBER_FIELD.getValue());
I have searched and found few methods which are responsible for data refresh in WEC but that are not working for example -
event.getSource().getModel().fireAllFieldValuesChanged()
ClientUI.refreshDocumentMetadata(); (This method is not present in my current version)
So can someone please guide me how can i refresh the metadata fields ? or is their any workaround to this?