webCOMAND

cTemplate Content Directives

There are a number of ways to set, access and update COMAND repository content in cTemplate.

Example

#/ List events, latest to oldest
#CQL($Events, 'FROM Events WHERE Date<=NOW() ORDER BY Date DESC')
#LIST($Events)
    #CONTEXT($EventType)[$Title]#ENDCONTEXT $Date - $Description
#ENDLIST