Execute 4D code stored in a file


In a packaged application, I would like to know if there is a possibility to make the client execute 4D code stored in a file.

The idea is to have the possibility to ask the user to execute specific 4D code (that was not programmed in the packaged distribution, but written by me depending on the problem reported by the user) for debugging / investigation.

This code could be limited to SQL queries, but not only.

Is there a possibility to do that ?


take a look at https://doc.4d.com/4Dv17/4D/17.2/4D-Transformation-Tags.300-4387389.en.html4D tags>, 4DCODE in particular.

Starting v17R4, Formulas do the trick :