connect field in funcao.json says where the screen gets its data and where it goes.
config — remote configuration
- 1 to 40 fields.
- On open and on
@reload: shows only those fields. - On
@save: saves only those fields; the rest of the configuration stays as it is. - The script reads the values in
window.DoglyScript.config, without publishing a new version.
function — server function
name is the name of one of the script’s server functions (letters, numbers, _ and -, up to 64). It receives in request.body.panel:
And replies with:
- A reply with status 400 or higher shows
erroron the screen. - Never return passwords, keys or tokens: everything sent back appears on screen.
The script’s server folder will get its own documentation. This page only covers what a Dev panel function receives and returns.
collection — collection (read-only)
- Shows up to 100 records in
dt-table(and numbers indt-stat). - Input fields and
@saveare refused during validation. @reloadworks.
Who can use it
Every action is checked on the server: only the script owner calls functions created from code. A collaborator getsOWNER_ONLY, even when calling the API directly.
