Hello,
I am trying to get the uiClass value using the getFieldDef REST API call for a currency/decimal field but unfortunately it returns
<resp status="fail"> <err>Field definition demoCurrency not found</err> </resp>
Any suggestions why I can't get the uiClass of a currency/decimal field?
[mention:8397e63abfcb4743aa450d5d1919f4a0:e9ed411860ed4f2ba0265705b8793d05] : For some unknown reason, it was not working yesterday and today the getFieldDef API call is giving back the correct result as expected. Haven't changed anything. Any suggestions why this would not work yesterday? But anyways there isn't really a problem anymore.
Do you have field with integration name demoCurrency ? It seems like system cannot find that field.
Yes I do.
Hi Iram, this error is also returned when using a wrong, but existing objName. Please check the object configuration page in your Rollbase application to see if you can find the field for that object (objName).
[mention:8397e63abfcb4743aa450d5d1919f4a0:e9ed411860ed4f2ba0265705b8793d05] : For some unknown reason, it was not working yesterday and today the getFieldDef API call is giving back the correct result as expected. Haven't changed anything. Any suggestions why this would not work yesterday? But anyways there isn't really a problem anymore.
Great! I really have no idea what caused that, but I had similar problems in the past. I usually like to blame the cache :)