Dynamic parameters allow you to pass along variable values when using a custom function. You can then configure fields within a button, form, or pop-up form component to populate the values for a dynamic parameter.
When you create a custom function, you can use dynamic parameters within certain fields:
Custom functions (DB)
When defining what value to “set” for a particular attribute, you can use a dynamic parameter.
You can also use a dynamic parameter as the comparison value for a filter.
Custom functions (HTTP)
There are certain exceptions to the way Internal handles converting to template literal. For the following cases, Internal does not auto-quote and will simply send the value through:
Entering null would be passed through as null .
Entering "sample value" would be passed through as "sample value", but entering "sample value would be passed through as `"sample value` . In this case the backticks are removed once Internal recognizes that the parameter is enclosed in double quotes.
After you’ve created a custom function with parameters, you can configure components to provide the values for each dynamic parameter. When creating a component (like a form or a button), select the data source and custom function you created.
Then, in the Fields tab, you can set configuration options to determine where the values for each parameter will come from.