findIndex in Podio Calculations
Hi, I have some quite complicated calculations to do with filtering information out of tables I store as objects with arrays directly in the script.
I would like to use the findIndex method to filter out what I need for my calculations and It seems it is not supported.
When I run the script directly in firefox, it gives me no error, but As soon as I copy it in Podio it does not work any more.
Also The Arrow (=>) operator does not work.
Are there any other limitations I should be aware of?
Is there a special version of JavaScript supported on the platform. or where is the trick?
Is it possible to get a more precise documentation other, that the "PodioCalculationTips.pdf" Document?
Thank you very much for your kind help and I wish you a nice day.
BR
Radovid
-
Hi Radovid,
Podio calculation uses ECMA-Script 5 / ES5. The arrow operator was introduced with ES6 - so it doesn't work in calculation fields.
And no: There's no documentation cause the coding in the calculation field isn't officially supported by Podio.
Some things you can find here: https://stackoverflow.com/questions/tagged/podio
Rainer
Please sign in to leave a comment.
Comments
1 comment