nEDM Interface

nEDM Experiment

nEDM Interface

Repository

Tutorials


Modules


Classes


Externals


Controls

_design/controls

This view simple grabs all control documents (e.g. to make a control page) from a database. The reason we don't simply use document_type is because it needs to handle templates as well. (Template control documents are pushed into every database.) For this reason, this view correctly associates the templates with the control documents that request them. In addition, it allows ordering the control documents by specifying an order field in the document.

controls

Query examples

controls is generally only used when building control pages and is called together with the list function controls in the page design document. (See documentation for list functions.) It is therefore called directly in the HTTP API, e.g.:

/page/_list/controls/controls/controls