Configure VoltFormula's Rosetta API Options
About this procedure
This procedure describes how to configure the Rosetta API based on what you need when using the Rosetta formula.
- API Configuration
- Intellisense Configuration
- Conversion Configuration
Click the Project Settings icon .
In the Project Setting window, click the Volt Formula tab.
Hover over the info tooltip icon beside the labels or text boxes for more information.
Enter values and select options as required. Refer to the following table for more information.
Rosetta area Rosetta area sections Description API Configuration Allows you to configure options specific to the APIs' implementation and execution. Register Custom API Allows you to upload a file with custom APIs. Refer to the API reference documentation under the rosetta-api module for method
registerAPIfor more details on expected file format and parameters.
Preferred API Implementation Allows you to specify whether to execute the Notes Formula or the Open Formula implementation when calling an API method, which has an existing implementation in either formula language. Example,
=ABS()are encapsulated by Rosettas
Notesoption makes Rosetta call the Notes implementation. Usually, either implementation behaves the same. But in other cases, there may be differences in parameters, execution, or returned results. For example, most Notes formula functions allow lists to be passed in as arguments while OpenFormula allows lists as ranges for only a number of methods. Refer to the API reference documentation for details on each API.
if( )or call the API
Conversion Delay Allows you to specify the delay in millisecond before the converters are invoked for a formula conversion. The default is normally acceptable. If there is no delay, the converters are re-invoked on every keystroke when entering the formula (calling the converters this often isn't needed). A longer delay invokes the converters less often. Version Information Indicates the