Skip to main content
Solved

Define custom javascript formula

  • August 13, 2021
  • 2 replies
  • 48 views

  • Participating Frequently
  • 5 replies

Hi,

would it be possible to define a custom formula? For instance I want to make one that generates a UUID that can be used across a variety of platforms.

Thanks in advance

Best answer by kuovonne

You cannot create a JavaScript formula. Formula fields are limited to Airtable’s set of functions and operators.

You can create a custom script in JavaScript and run it from a button or run it in an automation.

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • Answer
  • August 13, 2021

You cannot create a JavaScript formula. Formula fields are limited to Airtable’s set of functions and operators.

You can create a custom script in JavaScript and run it from a button or run it in an automation.


Forum|alt.badge.img+17
  • Inspiring
  • 262 replies
  • August 13, 2021

Yup, but having an automation recalculate a field every xyz interval would get you close to that functionality, so long as you’re fine with asynchronity.