Custom Formula Functions - How to use?

Hey Pat,

What you’ve linked is more so meant as a reference for using custom formula functions instead of the details behind how they are built. Some builders may not know how the formula function’s JavaScript is written, but do know its name.

I think you’ll find what you’re looking for in the API reference for skuid.formula.FormulaFunction.

  • To answer your specific questions:

    Namespaces are just prefixes primarily meant to prevent custom formula functions from colliding with Skuid’s own out-of-the-box functions.

The namespace is defined in the options.namespace parameter of the formula function. However, this is an optional parameter—and if one is not defined then it defaults to

  • c

I hope this helps!