Kbase P98112: widgetValue function does not work on Dynamics Web
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/9/2005 |
|
Status: Unverified
SYMPTOM(s):
widgetValue function does not work on Dynamics Web
You cannot address a local field widget in java script on dynamics web with widgetValue.
widgetValue function does not return the value of a local field widget in java script when you address the field in the function call as widgetValue('Customerviewv.mynewfield').
Java script converts mixed case field names to lower case.
CAUSE:
The problem is caused by the case sensitivity of java script.
FIX:
In the java script code, call the widgetValue function passing in lower case smartDataViewer names. e.g. widgetValue('customerviewv.mynewfield').
Or, if using mixed case field and viewer names for example:
"iOrigNum=logic.widgetValue('CustomerViewv.fiChar');"
Convert the javascript to lower case:
"iOrigNum=logic.widgetValue('customerviewv.fichar');"