{hero}

ajax.replacements

Since: Editor 2.0

Specify replacement parameters for the URL per submission.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

You may need to dynamically modify the URL used for form submission based on the content of the data being edited. This is particularly common in REST APIs where you might need to modify the URL to contain certain keys.

This option provides the ability to list a set of keys and their replacement functions. The value returns for each key is the value that will be used in place of the key in the URL string.

Please note that in the URL the key should be denoted surrounded by braces - e.g.: {person}.