getFieldDef for a Currency Field

Posted by IramK on 07-Jan-2015 11:35

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?

Posted by IramK on 08-Jan-2015 04:23

[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.

All Replies

Posted by pvorobie on 07-Jan-2015 12:44

Do you have field with integration name demoCurrency ? It seems like system cannot find that field.

Posted by IramK on 08-Jan-2015 03:11

Yes I do.

Posted by matman on 08-Jan-2015 04:11

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).

Posted by IramK on 08-Jan-2015 04:23

[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.

Posted by matman on 08-Jan-2015 04:27

Great! I really have no idea what caused that, but I had similar problems in the past. I usually like to blame the cache :)

This thread is closed